ds-git-mode
Skill20 starsChanged 46 days agoMITView on GitHub
Activate git mode for this session.
- Deletes or force-pushes
In this repository52 other files it gives its agents.
- ds-dev-skill-benchSkill
- ds-agent-reviewSkill
- ds-architecture-planSkill
- ds-arenaSkill
- ds-blast-radiusSkill
- ds-blueprintSkill
- ds-bug-reviewSkill
- ds-clarity-reviewSkill
- ds-code-quality-reviewSkill
- ds-comment-reviewSkill
- ds-data-modeSkill
- ds-data-reviewSkill
- ds-debugSkill
- ds-deslopSkill
- ds-doc-quality-reviewSkill
- ds-exploreSkill
- ds-go-reviewSkill
- ds-grill-meSkill
- ds-handoffSkill
- ds-howSkill
- ds-humanizeSkill
- ds-interaction-modeSkill
- ds-java-reviewSkill
- ds-notebook-reviewSkill
- ds-onboardingSkill
- ds-osvSkill
- ds-perf-planSkill
- ds-project-checkpointSkill
- ds-project-resumeSkill
- ds-python-reviewSkill
- ds-quality-gateSkill
- ds-reflectSkill
- ds-retroSkill
- ds-roadmapSkill
- ds-rust-reviewSkill
- ds-security-reviewSkill
- ds-semgrepSkill
- ds-shell-reviewSkill
- dsSkill
- ds-specSkill
- ds-step-modeSkill
- ds-tdd-modeSkill
- ds-test-modeSkill
- ds-test-quality-reviewSkill
- ds-tiger-style-modeSkill
- ds-tldtSkill
- ds-ts-reviewSkill
- ds-ui-modeSkill
- ds-ui-quality-reviewSkill
- ds-verify-thisSkill
- ds-zig-reviewSkill
- ds-zoom-outSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 4 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Commit as soon as such a unit is done and the tree is in a good state.
- Very specific: line 13
One logical change per commit: Don't dribble it across a flurry of wip/fixup/oops commits, and don't bundle unrelated changes together — if …
- Very specific: line 14
If a build/test/lint check is already in the loop, the unit should pass it before you commit.
- Distinctive: line 15
After committing, report one line — the commit subject — so the human stays in the loop.
- Distinctive: line 21
Body: only when there's a non-obvious WHY — a constraint, a tradeoff, a non-local consequence, a bug being worked around.
- Distinctive: line 23
Write for a human skimming git log --oneline.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
When active, manage version control the way a senior engineer does: commit each self-contained, working change as it lands, with terse, human-readable messages — never the verbose, LLM-targeted commit bloat. Activating this mode is your standing authorization to commit completed units without asking each time; it still never pushes and never rewrites history. Work happens on a branch, not the default.
When to commit
- A commit is one self-contained, working change — the smallest unit that stands on its own: it builds/passes, it's reversible, and a reviewer can understand it alone.
- Commit as soon as such a unit is done and the tree is in a good state. Don't hoard a session's work into one giant commit; don't commit mid-thought, broken, or WIP.
- One logical change per commit. Don't dribble it across a flurry of
wip/fixup/oopscommits, and don't bundle unrelated changes together — if the tree holds two logical changes, stage and commit them separately (git add -pwhen needed). - If a build/test/lint check is already in the loop, the unit should pass it before you commit. Never knowingly commit a broken tree.
- After committing, report one line — the commit subject — so the human stays in the loop. Don't ask permission each time.
Message format (Conventional Commits, kept terse)
type(scope): subject. Types:feat,fix,refactor,perf,docs,test,build,ci,chore,style. Scope is optional — include it only when it sharpens the subject (fix(auth): …).- Subject: imperative mood, lowercase, no trailing period, ~50 chars. State the outcome at the right altitude — what changed and why it matters to a reader — not a file-by-file description the diff already shows.
- Body: only when there's a non-obvious WHY — a constraint, a tradeoff, a non-local consequence, a bug being worked around. Wrap ~72 cols. Most commits need no body. Never restate the diff as bullets.
- Breaking changes:
type!: subjectplus aBREAKING CHANGE: …footer. Only for real breaks. - Write for a human skimming
git log --oneline. No emoji, no "Generated with…", no AI/co-author attribution trailers, no marketing prose. If the project's existing history follows a trailer convention, match it; otherwise add none.
Branch & history
- Work on a branch. If you're on the default branch (
main/master), create a concise, type-prefixed branch (feat/…,fix/…,refactor/…) from the work and switch to it before the first commit. Match the project's branch-naming convention if it has one. - Never rewrite shared history: no rebase, no squash that rewrites, no force-push, no amend of a pushed commit. Keep history linear and append-only — each commit is real done work. (Amending the latest, not-yet-pushed commit to fix its own message or contents before anyone sees it is fine.)
- Never discard uncommitted or unmerged work without a yes.
git reset --hard,git clean -f/-fd,git checkout -- ./git restore ., andgit branch -Dirreversibly delete changes — the user's or your own. Reach for a non-destructive move first (stash, a fresh branch); if a destructive one is genuinely needed, name what will be lost and confirm before running it. - Never push unless explicitly asked. Opening PRs is out of scope — hand off to
ghwhen the user asks.
Confirm activation with "Git mode active." Activating a mode only turns on this posture; it is not approval to begin work — continue with whatever the user already asked for, or wait for their next instruction.
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.

