mirror of
https://github.com/alirezarezvani/claude-skills.git
synced 2026-11-28 22:58:05 +00:00
Issue #1004 named a real gap: agents leave large mixed diffs, and nothing in the catalog shapes them into commits before they exist. Built independently from public sources. - commit_planner.py groups the working tree in build-safe order (manifest with lockfile, moves, formatting, each change with its tests, docs, CI), holds back .env/keys/tfstate, and flags a move whose callers' import edits sit in another commit, because that commit would not build. A plain mv is detected as a rename. - secret_gate.py blocks staged or pushed secrets, sensitive files and conflict markers with redacted output and reasoned waivers. On 174k lines added to this repo it raised 7 findings, all fake fixtures. - message_linter.py blocks vague subjects, large changes with no why and fixup commits, and enforces Conventional Commits only where the repo already uses them. Standalone plugin at 2.14.5, mirrored into engineering-advanced-skills (bumped to 2.14.8, above the unreleased 2.14.7 on dev). The bundle's G12 baseline grows by the new skill's 279 listing chars. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L8KYFJm9vze5Kqnyb5yvFs
1 KiB
1 KiB
Commit series checklist (before push)
Branch: ________________ Upstream: ________________ Date: ________
Plan
commit_planner.pyrun; verdict: ______ ; commits planned: ____- No DO_NOT_COMMIT files staged;
.gitignoreupdated 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.pyclean (or WARN only) for every commit- Every waiver in
.commit-craft-allownames 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>..HEADhas 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)