install
source · Clone the upstream repo
git clone https://github.com/dirien/yet-another-agent-harness
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/dirien/yet-another-agent-harness "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.claude/skills/commit" ~/.claude/skills/dirien-yet-another-agent-harness-commit && rm -rf "$T"
manifest:
.claude/skills/commit/SKILL.mdsource content
/commit — Atomic Commit Workflow
When to use
When the user runs /commit or asks to commit changes.
Steps
- Run
andgit status
to understand what's changedgit diff --staged - If nothing is staged, identify logical change groups and stage them separately
- Write a commit message following Conventional Commits:
- feat: new feature
- fix: bug fix
- refactor: code restructuring
- docs: documentation
- test: tests
- chore: tooling/build
- Use the imperative mood in the subject line
- Keep subject under 72 characters
- Add body with "why" not "what" if the change isn't self-evident
- Create the commit using a heredoc for the message
- Run
to verifygit status
Rules
- NEVER use --no-verify or --amend unless explicitly asked
- NEVER stage .env, credentials, or secret files
- Prefer multiple small commits over one large commit
- Each commit should compile and pass tests independently