alirezarezvani/claude-skills / engineering/skills/commit-craft
commit-craft
VerifiedTurn a mix of changes into clean, reviewable commits with good messages, blocking staged secrets and .env files. Use whenever the user says commit this, wants to split work into commits, write a commit message, or is about to push.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 5.0 KB |
| assets/commit-craft-allow.example | other | 444 B |
| assets/hooks/commit-msgexecutable | script | 535 B |
| assets/hooks/pre-commitexecutable | script | 607 B |
| assets/hooks/pre-pushexecutable | script | 1.0 KB |
| assets/series_checklist.md | markdown | 1.0 KB |
| references/commit_series_design.md | markdown | 4.0 KB |
| references/message_discipline.md | markdown | 3.4 KB |
| references/secret_response.md | markdown | 4.3 KB |
| scripts/commit_planner.py | script | 17.5 KB |
| scripts/message_linter.py | script | 16.4 KB |
| scripts/secret_gate.py | script | 15.3 KB |
assets/series_checklist.md
View on GitHub# Commit series checklist (before push)
Branch: ________________ Upstream: ________________ Date: ________
## Plan
- [ ] `commit_planner.py` run; verdict: ______ ; commits planned: ____
- [ ] No DO_NOT_COMMIT files staged; `.gitignore` updated where needed
- [ ] Moves carry their callers' import edits (no MOVE_NEEDS_CALLERS left)
- [ ] Formatting is its own commit; mixed files were staged with `git add -p`
- [ ] Each behaviour change carries its tests
## Gate
- [ ] `secret_gate.py` clean (or WARN only) for every commit
- [ ] Every waiver in `.commit-craft-allow` names a reason a reviewer would accept
- [ ] Anything that was ever pushed or shared and looked like a secret has been rotated
## Messages
- [ ] `message_linter.py --range <upstream>..HEAD` has no BLOCKER
- [ ] Every commit over ~40 lines says why in its body
- [ ] No fixup!/squash!/WIP commits left (`git rebase -i --autosquash <upstream>`)
## Proof
- [ ] `git rebase -x "<test command>" <upstream>` passed at every commit
Signed off by: ________________ (a person, not the agent)
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |