agent-skills/git-commit/SKILL.md
Execute git commit with conventional commit message analysis, intelligent staging, and message generation. Use whenever commiting changes to git.
npx skillsauth add win20/dotfiles git-commitInstall 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.
Create standardized, semantic git commits using the Conventional Commits specification. Analyze the actual diff to determine appropriate type, scope, and message.
<type>[optional scope]: <short description> [ticket-number]
[optional body]
[optional footer(s)]
| Type | Purpose |
| ---------- | ------------------------------ |
| feat | New feature |
| fix | Bug fix |
| docs | Documentation only |
| style | Formatting/style (no logic) |
| refactor | Code refactor (no feature/fix) |
| perf | Performance improvement |
| test | Add/update tests |
| build | Build system/dependencies |
| ci | CI/config changes |
| chore | Maintenance/misc |
| revert | Revert commit |
# If files are staged, use staged diff
git diff --staged
# If nothing staged, use working tree diff
git diff
# Also check status
git status --porcelain
If user asks you to group changes
# Stage specific files
git add path/to/file1 path/to/file2
# Stage by pattern
git add *.test.*
git add src/components/*
# Interactive staging
git add -p
Never commit secrets (.env, credentials.json, private keys).
Analyze the diff to determine:
# Single line
git commit -m "<type>[scope]: <description> [ticket-number]"
# Multi-line with body/footer
git commit -m "$(cat <<'EOF'
<type>[scope]: <description> [ticket-number]
<optional body>
<optional footer>
EOF
)"
feat(tabs): add animation for message count badge (HAE-123)
- Use subtle scale animation
- Smoother experience, better than the badge instantly appearing
- style bullet pointsdevelopment
Best practices for developing Expo SDK 54 React Native apps with Expo Router, Zustand, and NativeWind. Use when building mobile apps with this stack, implementing navigation, state management, styling, performance optimization, TypeScript patterns, or security.
development
Best practices for developing Expo SDK 54 React Native apps with Expo Router, Zustand, and NativeWind. Use when building mobile apps with this stack, implementing navigation, state management, styling, performance optimization, TypeScript patterns, or security.
development
Simplify and clarify existing code without changing behavior.
tools
Generate pull request summaries and open GitHub PRs from the current branch’s git changes.