Tooluck logoTooluck
SKILL.md

dev-commit

Agent skill fromcodeaholicguy/ai-devkit

AI DevKit · Safe git commit workflow for AI coding agents. Use when the user asks to commit, prepare a commit, stage changes, create a PR-ready checkpoint, or finish work with a conventional commit while avoiding unrelated user changes.

How to install dev-commit

install dev-commit
# install the ai-devkit pack with the skills CLI
npx skills add codeaholicguy/ai-devkit

# or add only this skill to Claude Code: copy the folder

skills/dev-commit/

# into

~/.claude/skills/dev-commit/ (all projects)

.claude/skills/dev-commit/ (one project)

skills/dev-commit/SKILL.md

Apache-2.0Full file
1# Dev Commit
2
3Make one intentional, verified commit without sweeping in unrelated work.
4
5## Commit Contract
6
71. Check repository state with `git status --short --branch`, `git diff --stat`, and `git diff`.
82. Identify the files that belong to the requested change. Treat pre-existing user edits, local config, generated artifacts, dependency caches, build outputs, and unrelated formatting churn as out of scope unless the user explicitly includes them.
93. Run appropriate validation before committing. Prefer the repo's targeted tests, lint, typecheck, build, or documented verification commands. Record skipped validation with the reason. In workspaces whose packages resolve against built artifacts, ensure install and build have run in that worktree (`npm ci`, `npm run build`) before full validation or commit hooks; a fresh worktree with stale artifacts fails hooks for environmental reasons.
104. Stage only intended paths. Prefer explicit pathspecs such as `git add path/to/file` over `git add .`.
115. Re-check with `git diff --cached --stat`, `git diff --cached`, and `git status --short`.
126. Write a concise conventional commit message: `<type>(optional-scope): <summary>`.
137. Commit, then report the commit SHA, final status, validation commands, and any unstaged/untracked files left behind.
14
15## Guardrails
16
17- Do not commit secrets, credentials, `.env` files, local machine config, caches, coverage, logs, screenshots, or generated files unless the change explicitly requires them.
18…

Excerpt shown under the repository's Apache-2.0 license.

More skills in ai-devkit

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates