chenxin-yan/nix-dotfiles/commit
Claude Code and agent skill by chenxin-yan/nix-dotfiles
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Stage and commit changes with a Conventional Commits message. Matches the repo's existing style, writes a structured subject and body, and commits without push/force/amend. Use whenever the user wants to commit, ship, save progress, or close out a task — including "commit this", "make a commit", "commit the changes", or "/skill:commit".
Install
npx vskill@latest install chenxin-yan/nix-dotfiles/commitSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
Commit
Make one or more commits for the current session's changes. Your job is to actually commit, not describe what a commit would look like.
If the user appends free-form text (e.g. /skill:commit auth refactor), treat it as a hint about scope — but the diff is the source of truth.
Workflow
- Survey changes.
git status+git diff HEAD. If nothing has
changed, say so and stop.
- Match style.
git log --oneline -10— pick up the repo's scope
vocabulary and subject phrasing.
- Handle secrets. Skip anything that looks like credentials
(.env, *.pem, id_rsa, files with API keys or tokens) and warn the user. Don't stage them.
- Write the message (format below).
- Commit and verify. Stage relevant paths,
git commit -m "...",
then git status to confirm a clean tree (or surface what was left unstaged deliberately).
Message format
type(scope): subject + blank line + body explaining what and why (the diff already shows how).
Types: feat, fix, refactor, perf, test, docs, chore, build, ci, style. Match recent commits for scope vocabulary and phrasing.
Skip the body only for trivially obvious changes (typo, pure formatting). Behaviour changes, refactors, and anything someone might git blame later deserve a body.
Footers when applicable: Fixes #N / Closes #N, BREAKING CHANGE: <description>, Co-authored-by: Name <email>.
Splitting commits
If the diff mixes clearly unrelated work (e.g. a feature + an unrelated bugfix + formatting), prefer multiple commits over one sprawling message. Stage and commit each logical group in turn, each with its own subject and body. Ask the user first when in doubt.
Skill-specific rules
- Local commits only. No
git push. - No bypassing pre-commit hooks with
--no-verify. If a hook
fails, read its output, fix the cause, re-commit.
- No `--amend`. If the user wants to amend or rewrite a commit,
that's a different operation and they should ask for it explicitly.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingmodules/features/agents/config/skills/commit/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/chenxin-yan/nix-dotfiles/commit)