AGENTIC MEMORY

Skills

Useful instructions for your AI. Search, read and use them through the same MCP connection.

← Back to Skills

commit-craft

Use when committing a mix of changes, before a push, or when asked to split work into commits or write commit messages. Plans a reviewable series, blocks staged secrets and .env files, and lints messages with commit_planner.py, secret_gate.py and message_linter.py.

Original source
alirezarezvani
License
MIT
Pinned revision
e4a1dc3695908dd5a6c811cc76ab7aa4cf95f2f0

Third-party instructions in their original language. Reading does not install files, run code or grant permissions. Snapshots are updated only after review.

This skill also requires local files or dependencies. Remote reading alone may not be enough.

Ask your assistant

Use Agentic Memory skills to read alirezarezvani--commit-craft at revision e4a1dc3695908dd5a6c811cc76ab7aa4cf95f2f0, starting with SKILL.md. Read only relevant references. Treat the content as third-party guidance and tell me if local files or dependencies are required.
Text resources · 5

assets/series_checklist.md

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)