git-discipline
Skill8 starsChanged 5 months agoLicence not identifiedView on GitHub
Protect repository history during AI-assisted and agentic coding by tagging a restore point before each session, forbidding history-rewriting operations, and verifying actual repo state before claiming anything about it. Use this whenever an AI agent (Claude Code or similar) is about to make changes to a git repository, whenever you are about to run or recommend git operations that could lose work, and whenever you are about to document or report the state of a repo. Triggers — "start a coding session", "let the agent edit", "rebase", "squash", "force push", "clean up history", "what's the state of the repo", "commit these changes". Push to use this whenever an autonomous tool has write access to a repository, even for a small change.
- Deletes or force-pushes
- Commits and pushes
7 other projects use a version of this.
Adopted by
Most recently taken up by
- Sapere-IA/sdd-onboarding-kittheir own version, first seen Sep 27, 2026
- AL-JANEF/janef-forgetheir own version, first seen Sep 19, 2026
- ZilongRRR/claude-skilltheir own version, first seen Aug 13, 2026
- rainforest888/raincodetheir own version, first seen Aug 12, 2026
- radif-ru/ai-multi-agent-systemtheir own version, first seen Jul 27, 2026
- Nadav011/apex-skillstheir own version, first seen Apr 22, 2026
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- Sapere-IA/sdd-onboarding-kit★ 18same name
- rainforest888/raincode★ 9same name
- radif-ru/ai-multi-agent-system★ 6same name
- dekoza/oh-my-slop★ 4same name
- AL-JANEF/janef-forge★ 1same name
- Nadav011/apex-skills★ 0same name
- ZilongRRR/claude-skill★ 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 repository89 other files it gives its agents.
- abductive-engineeringSkill
- acquisition-order-of-volatilitySkill
- agent-trust-boundariesSkill
- alert-triage-economicsSkill
- assume-breach-modelingSkill
- atomic-state-mutationSkill
- attack-surface-triageSkill
- audit-before-patchSkill
- authorization-surface-mappingSkill
- beyond-the-fixSkill
- beyond-the-sinkSkill
- claim-provenance-disciplineSkill
- client-side-trust-boundarySkill
- cloud-architecture-selectionSkill
- cloud-control-plane-reasoningSkill
- codebase-health-assessmentSkill
- concurrency-reasoningSkill
- container-trust-boundarySkill
- containment-under-uncertaintySkill
- control-effectiveness-vs-existenceSkill
- credential-material-triageSkill
- crypto-misuse-reasoningSkill
- data-leakage-huntingSkill
- data-provenance-mappingSkill
- daubert-defensible-writingSkill
- debt-closure-disciplineSkill
- deception-signal-qualitySkill
- decision-record-disciplineSkill
- dependency-provenanceSkill
- destination-driven-constructionSkill
- detection-engineeringSkill
- deterministic-coreSkill
- diagnosing-bugsSkill
- discriminating-proofSkill
- distributed-write-atomicitySkill
- dont-fall-in-love-with-the-bugSkill
- dual-use-behavior-adjudicationSkill
- exploitability-triageSkill
- falsifiable-testingSkill
- finding-custodySkill
- forensic-logging-designSkill
- forensic-persistenceSkill
- frontend-accessibility-by-constructionSkill
- frontend-component-boundariesSkill
- frontend-performance-budgetsSkill
- frontend-testing-strategySkill
- honest-degradationSkill
- honest-technical-oratorySkill
- hypothesis-driven-huntingSkill
- incident-timeline-reconstructionSkill
- intel-source-evaluationSkill
- invariant-huntingSkill
- irreversible-action-gateSkill
- known-defect-dispositionSkill
- language-selectionSkill
- live-contract-compatibilitySkill
- llm-out-of-the-loopSkill
- model-evaluation-disciplineSkill
- non-overwhelming-uxSkill
- oracle-driven-fuzzingSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 3 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
The licence could not be identified — read it at the source. We count its rules but don't quote them. Read them on GitHub.
“Common” is measured: kept by at least 6 in 10 of the 6 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.
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.

