committing-changes
Skill4 starsChanged 3 months agoApache-2.0View on GitHub
Step-by-step commit protocol — quality gate, solution-path check, regression-test verification for bug fixes, code review, education gate, and BUILD_STATUS update. Use before committing changes, especially bug fixes (regression ledger) or code touching src/ or framework infrastructure.
- Reads credentials
3 other projects use a version of this.
Adopted by
Most recently taken up by
- Muriel-Salvan/x_aeon_agentstheir own version, first seen Nov 1, 2026
- vadimvitvickiy/vv-agent-kittheir own version, first seen Oct 20, 2026
- gannonh/skillstheir own version, first seen Aug 24, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- gannonh/skills★ 2same name
- Muriel-Salvan/x_aeon_agents★ 2same name
- vadimvitvickiy/vv-agent-kit★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository25 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- adr-writingSkill
- authoring-goal-contractsSkill
- collaborating-asyncSkill
- cross-agent-dispatchSkill
- documenting-decisionsSkill
- feature-status-registrySkill
- grill-meSkill
- grill-yourselfSkill
- handling-micro-fixesSkill
- multi-instance-dispatchSkill
- notifying-the-developerSkill
- orchestrating-goal-loopsSkill
- orchestrating-lean-dispatchSkill
- performance-playbookSkill
- python-project-patternsSkill
- recovering-from-failuresSkill
- running-build-checkpointsSkill
- searching-prior-artSkill
- security-checklistSkill
- selecting-review-gatesSkill
- severity-calibrationSkill
- syncing-framework-docsSkill
- testing-playbookSkill
- wrapping-up-sessionsSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
26 rules. 0 are common, 13 are distinctive, and 13 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
13
Distinctive
This author's own choices. Worth a look.
13
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 10
When the developer asks you to commit changes, or when you are about to suggest committing, follow this protocol:
- Very specific: line 13
Run python scripts/quality_gate.py and verify all checks pass:
- Very specific: line 21
If any check fails, fix the issues before proceeding.
- Distinctive: line 26
Before committing, briefly check whether this change solves a problem that should be captured as a solution path:
- Distinctive: line 29
If yes, note this for capture in Step 3.5.
- Distinctive: line 32
When committing a bug fix:
- Distinctive: line 33
Verify a regression test exists that fails without the fix and passes with it
- Very specific: line 34
Verify the test is tagged with @pytest.mark.regression
- Very specific: line 35
Add an entry to memory/bugs/regression-ledger.md documenting the bug, root cause, fix, and test location
- Distinctive: line 36
Commit fixes promptly — uncommitted fixes are invisible to git and WILL be lost across sessions
- Very specific: line 44
Keep a "not mine — exclude" note in BUILD_STATUS.md (or the resume anchor) when the tree is entangled, so the next session does not …
- Very specific: line 51
Run /review <changed files> to trigger multi-agent specialist review
- Distinctive: line 52
Wait for the review verdict before committing
- Very specific: line 62
Run /walkthrough <files> for the developer
- Very specific: line 63
Run /quiz <files> for comprehension assessment
- Distinctive: line 67
If Step 1.5 flagged this commit as containing a noteworthy solution path:
- Very specific: line 68
Add an entry to memory/projects/_self.md under ## Solution Paths documenting the problem, what was tried, what was chosen, and why.
- Very specific: line 69
Use compound tags from memory/projects/TAXONOMY.md (e.g., [auth/session-management]).
- Very specific: line 70
If an approach was tried and found broken, add it to memory/bugs/regression-ledger.md under ## Known-Broken Approaches.
- Very specific: line 75
After committing, update BUILD_STATUS.md with:
- Distinctive: line 77
Update "Modified Files" section
- Distinctive: line 81
Do NOT git add -A / git add .
- Very specific: line 82
Do NOT commit with --no-verify unless the developer explicitly requests it and explains why
- Distinctive: line 83
Do NOT skip the review for code changes — Principle #3 requires independent evaluation
- Distinctive: line 84
Do NOT commit files that contain secrets (.env, credentials, API keys)
- Distinctive: line 85
Do NOT amend previous commits unless the developer explicitly requests it
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Commit Protocol
Before Every Commit
When the developer asks you to commit changes, or when you are about to suggest committing, follow this protocol:
Step 1: Quality Gate (Required — Automated)
Run python scripts/quality_gate.py and verify all checks pass:
- Formatting (ruff format)
- Linting (ruff check)
- Tests (pytest)
- Coverage (>= 80%)
- ADR completeness
- Review existence (for code changes)
If any check fails, fix the issues before proceeding. Use --fix to auto-remediate formatting and lint issues.
Note: The git pre-commit hook enforces this automatically. If the quality gate fails, git will block the commit. The review existence check will fail if code files are staged but no review report from today exists in docs/reviews/. Use --skip-reviews to bypass if needed.
Step 1.5: Solution-Path Check (Advisory)
Before committing, briefly check whether this change solves a problem that should be captured as a solution path:
- Does this commit implement a non-trivial approach that future builds should know about?
- Were alternative approaches tried and rejected?
- If yes, note this for capture in Step 3.5.
Step 1.7: Regression Test Verification (Required for bug fixes)
When committing a bug fix:
- Verify a regression test exists that fails without the fix and passes with it
- Verify the test is tagged with
@pytest.mark.regression - Add an entry to
memory/bugs/regression-ledger.mddocumenting the bug, root cause, fix, and test location - Commit fixes promptly — uncommitted fixes are invisible to git and WILL be lost across sessions
Step 1.8: Stage Only Your Own Files (Required)
Stage your changes explicitly — list the exact paths you created/modified. Never use
git add -A / git add . when the working tree may hold pre-existing dirty or untracked files
from prior sessions or parallel work. Sweeping unrelated files into your commit corrupts
attribution and can ship half-baked work.
git statusfirst; confirm every staged path is one you actually changed.- Keep a "not mine — exclude" note in
BUILD_STATUS.md(or the resume anchor) when the tree is entangled, so the next session does not re-sweep them. - This pairs with the secrets rule below: explicit staging is the first guard against committing
an untracked
.envor credential file you never meant to touch.
Step 2: Code Review (Required for code changes)
For any change that modifies application source code (src/), tests (tests/), or framework infrastructure (.claude/agents/, .claude/commands/, .claude/rules/, scripts/):
- Run
/review <changed files>to trigger multi-agent specialist review - Wait for the review verdict before committing
- Address all required changes (blocking findings) before committing
- Recommended improvements (non-blocking) should be noted but do not block the commit
For documentation-only or trivial config changes, the quality gate alone is sufficient.
Framework-only changes (files under .claude/, scripts/, docs/) touching more than 5 files are treated as medium-risk and require /review. This prevents large framework changes from bypassing review under the "no product code" rationale.
Step 3: Education Gate (Required for medium-risk or above)
Required when the review verdict is medium-risk or above, or when the review explicitly recommends it:
- Run
/walkthrough <files>for the developer - Run
/quiz <files>for comprehension assessment - Complete the education gate before committing
Step 3.5: Solution-Path Capture (Advisory)
If Step 1.5 flagged this commit as containing a noteworthy solution path:
- Add an entry to
memory/projects/_self.mdunder## Solution Pathsdocumenting the problem, what was tried, what was chosen, and why. - Use compound tags from
memory/projects/TAXONOMY.md(e.g.,[auth/session-management]). - If an approach was tried and found broken, add it to
memory/bugs/regression-ledger.mdunder## Known-Broken Approaches.
This step is advisory — it captures knowledge for future builds but does not block the commit.
Step 4: Update BUILD_STATUS.md
After committing, update BUILD_STATUS.md with:
- Move the completed task from "In Progress" to "Recently Completed"
- Update "Modified Files" section
- Clear any resolved blockers
What NOT to Do
- Do NOT
git add -A/git add .with an entangled working tree — stage your own paths explicitly (Step 1.8) - Do NOT commit with
--no-verifyunless the developer explicitly requests it and explains why - Do NOT skip the review for code changes — Principle #3 requires independent evaluation
- Do NOT commit files that contain secrets (.env, credentials, API keys)
- Do NOT amend previous commits unless the developer explicitly requests it
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

