humansintheloop-dev/humansintheloop-dev-workflow-and-tools/commit-guidelines
Claude Code and agent skill by humansintheloop-dev/humansintheloop-dev-workflow-and-tools
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Provides a pre-commit checklist and commit message formatting standards for this project. Claude should use this skill when creating git commits to ensure messages follow project conventions, including proper co-authorship attribution and concise formatting.
Install
npx vskill@latest install humansintheloop-dev/humansintheloop-dev-workflow-and-tools/commit-guidelinesSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
Pre-Commit Checklist
Before committing, first stage the files and then complete these steps in order:
- On the final task of a Steel Thread, check for dead code and review findings.
- If the project has a configured linter, run it with auto-fix on the whole project, not only on the files you changed. Fix every error it reports, including in files outside the current work: a linter hook that checks the whole project otherwise fails every later commit. Commit fixes outside the current work separately, before the change itself.
- If committing Python code, run
uvx pyright --level error src/and fix any type errors. - If any new or modified shell scripts will be committed, run
shellcheckon them and fix any issues. - If the
pre_commit_code_health_safeguardCodeScene MCP tool is available, run it.
- If it fails with "Not inside a supported VCS root" (common in git worktrees), use
code_health_reviewon each modified source file (production AND tests) instead. - STOP if quality gates fail. Do NOT commit until resolved. Do NOT dismiss findings as "pre-existing".
- If Code Health regresses, refactor the flagged function before committing (boy scout rule).
- IMPORTANT A score of 10 for both new and modified files is mandatory
- Do NOT think in terms of red/yellow/green color bands. The target is always 10.
- If adding or modifying production code and coverage tooling is available, verify test coverage and check that new/modified lines are covered.
NOTES:
- Python dead code (step 1):
uv run --with vulture vulture src - Python linter (step 2):
uv run --with ruff ruff check --fix - Shell script linting (step 3):
uv run --with shellcheck-py shellcheck <file.sh>on each new or modified.shfile - Python coverage (step 5):
uv run --with pytest --with pytest-mock --with pytest-cov pytest -m "unit or integration" --cov=src/i2code --cov-report=term-missing
Running git add and git commit
Run git add and git commit as separate tool calls (not chained with &&).
Commit Message Guidelines
IMPORTANT: Always invoke this skill (idea-to-code:commit-guidelines) before creating any git commit in projects that use it. This ensures commit messages follow project conventions.
When writing commit messages for this project, follow these guidelines:
Message Structure
- The commit message should be concise and descriptive of the changes made
- The first line of the commit message should describe the high-level goal of the change
- If the work is associated with an issue, include the issue number in the commit message
Co-authorship Attribution
NEVER Use the standard Claude Code attribution format.
ALWAYS Use "Co-authored by Claude Code" in the commit message.
Specifically, use:
Instead of:
or
Special Cases
Converting Classes to Records
When converting classes to records, use a concise commit message that simply says which classes were converted. No need to explain method renames or justification.
Example:
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingclaude-code-plugins/idea-to-code/skills/commit-guidelines/SKILL.md
Popularity
- Repository stars
- 34
- Repository forks
- 4
- 7-day trend score
- 18
Stars and forks are for the whole GitHub repository, not this skill alone. 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/humansintheloop-dev/humansintheloop-dev-workflow-and-tools/commit-guidelines)