assets/bundled_skills/git-helper/SKILL.md
Generate clear, conventional commit messages and manage Git workflows
npx skillsauth add 2233admin/cicada git-helperInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Generate clear, conventional commit messages and assist with Git workflows following best practices.
<type>(<scope>): <subject>
<body>
<footer>
Good Commit Messages:
feat(auth): add JWT token refresh mechanism
Implement automatic token refresh when access token expires.
Tokens are refreshed 5 minutes before expiration to prevent
authentication failures during active sessions.
- Add RefreshTokenService
- Update AuthMiddleware to handle token refresh
- Add unit tests for refresh logic
Closes #123
fix(api): prevent SQL injection in user search
Replace string concatenation with parameterized queries
in UserRepository.search() method.
BREAKING CHANGE: search() now requires SearchParams object
instead of raw string query.
refactor(utils): extract retry logic into separate module
Move retry logic from multiple services into shared
RetryHelper utility to reduce code duplication.
Bad Commit Messages:
update stuff
fix bug
WIP
- or * for listsBREAKING CHANGE: descriptionCloses #123, Fixes #456Co-authored-by: Name <email>git status
git diff
git add -p # Interactive staging
git add specific-file.ts
npm test
# or language-specific test command
npm run lint
# or language-specific linter
Good: One logical change per commit
git commit -m "feat(auth): add login endpoint"
git commit -m "test(auth): add login endpoint tests"
git commit -m "docs(auth): document login API"
Bad: Multiple unrelated changes
git commit -m "add login, fix bug in profile, update README"
# Fix commit message
git commit --amend -m "new message"
# Add forgotten files
git add forgotten-file.ts
git commit --amend --no-edit
# Clean up last 3 commits
git rebase -i HEAD~3
# Options: pick, reword, squash, fixup, drop
# Save work in progress
git stash save "WIP: feature description"
# List stashes
git stash list
# Apply stash
git stash pop
# Apply specific commit to current branch
git cherry-pick <commit-hash>
Format: <type>/<short-description>
Examples:
feat/user-authenticationfix/login-validation-bugrefactor/database-layerdocs/api-documentationgit checkout main
git pull
git checkout feature-branch
git rebase main
git rebase -i main
git push origin feature-branch
# or if rebased
git push --force-with-lease origin feature-branch
## Description
Brief description of changes
## Changes
- Change 1
- Change 2
- Change 3
## Testing
- [ ] Unit tests added/updated
- [ ] Integration tests pass
- [ ] Manual testing completed
## Related Issues
Closes #123
Analyze changes
git diff --stagedDetermine type
featfixrefactorIdentify scope
Write subject
Add body if needed
tools
Generate comprehensive test cases following TDD principles
development
Identify code smells and suggest refactoring improvements
tools
Internationalization and localization assistance for multi-language applications
development
Generate comprehensive documentation for code, APIs, and projects