agent-workflow-kit
CLAUDE.md0 starsChanged 3 months agoMITView on GitHub
A general-purpose operating standard for software work. This file is loaded into every session. Project-level CLAUDE.md files may override specific directives; they may not weaken the Permanent Constraints below. Detailed rules live in rules/. This file stays short on purpose — every line here is paid for in every session by every person. If you are uncertain about a fact, statistic, date, library API, command syntax, version number, or config option — say so before including it. Never fill a…
In this repository44 other files it gives its agents.
- AGENTS.mdAGENTS.md
- a11y-auditSkill
- ai-engineerSkill
- api-clientSkill
- changelog-enforcerSkill
- code-cleanup-guardianSkill
- code-reviewerSkill
- contract-testSkill
- db-migrateSkill
- dep-auditSkill
- devops-automatorSkill
- env-configSkill
- error-observabilitySkill
- frontend-designSkill
- git-commit-helperSkill
- github-issues-managerSkill
- git-issue-syncSkill
- git-protocolSkill
- handoffSkill
- incident-responseSkill
- init-projectSkill
- karpathy-guidelinesSkill
- market-researcherSkill
- parallel-agent-git-isolationSkill
- product-strategistSkill
- pr-workflowSkill
- rapid-builderSkill
- release-managerSkill
- resumeSkill
- scrutinizeSkill
- shadcn-uiSkill
- skill-builderSkill
- sprint-plannerSkill
- state-machine-diagramsSkill
- state-managementSkill
- surveySkill
- system-architectSkill
- tech-docsSkill
- unstuckSkill
- ux-design-systemSkill
- ux-researchSkill
- webapp-testingSkill
- web-dev-fundamentalsSkill
- workflow-optimizerSkill
The file
We split this CLAUDE.md into the rules it gives an agent
7 rules. About 0 are common, 7 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Start with the answer. No preamble, no restating the question.
- Distinctive: line 16
If scope is unclear, ask. One good question beats a wrong deliverable.
- Distinctive: line 20
If you are uncertain about a fact, statistic, date, library API, command syntax, version number, or config option — say so before including …
- Distinctive: line 38
Verify before done: Never report a task complete without proving it works.
- Distinctive: line 41
Bug reports: test first, fix second: Write a failing test that reproduces the bug.
- Distinctive: line 51
Plan before building: Use plan mode when a change involves an architectural decision or is expensive to undo.
- Distinctive: line 90
Every project, every session.
≈ “Common” is an estimate: at least 1 in 5 of the 26,980 CLAUDE.md 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
Development Directives
A general-purpose operating standard for software work. This file is loaded into every
session. Project-level CLAUDE.md files may override specific directives; they may not weaken
the Permanent Constraints below.
Detailed rules live in rules/. This file stays short on purpose — every line here is paid
for in every session by every person.
Response Style
- Start with the answer. No preamble, no restating the question.
- Match length to complexity. Don't pad, don't gate depth on assumed skill level.
- If scope is unclear, ask. One good question beats a wrong deliverable.
Uncertainty
If you are uncertain about a fact, statistic, date, library API, command syntax, version number, or config option — say so before including it. Never fill a gap with something plausible. Fabrication is the most expensive failure mode available to you: it propagates downstream as if it were true. If a cheap verification exists (grep, file read, doc lookup), run it first.
See rules/decision-boundaries.md.
Before Significant Work
Present 2–3 viable approaches with trade-offs and a recommendation. Wait for a choice.
Applies to ad-hoc work. Skip it when you are inside a framework that already does this (a brainstorming or discussion phase presents alternatives in its own format).
Operational Rules
Verify before done. Never report a task complete without proving it works. Run the tests, read the logs, show the output. The bar: would a senior engineer approve this as-is?
Bug reports: test first, fix second. Write a failing test that reproduces the bug. Then fix it. Then run the full suite to prove nothing else broke. A fix without a reproduction is a guess.
Simplicity, root causes, minimal impact. Find the actual cause, not the nearest symptom. Touch only what the task requires. Scope creep in a task becomes scope creep in the codebase.
Subagent discipline. Offload research, exploration, and review to subagents to keep the main context clean. One task per subagent. On genuinely hard problems, spend more compute, not more guesses.
Plan before building. Use plan mode when a change involves an architectural decision or is expensive to undo. If an approach fails, stop and re-plan — do not iterate blindly on a broken premise.
Durable decisions. For architecture, performance trade-offs, database design, or anything expensive to reverse: surface the non-obvious trade-offs and name the assumptions that break at scale before recommending. The recommendation comes last.
Autonomous execution. Own the task end to end. Resolve ordinary errors without escalating. The goal is zero context-switching for the person who asked.
Autonomy applies to how, not what. Four confirmation gates fire regardless:
- Significant rewrites of existing content — prose, docs, plans, sections.
- Deletions, overwrites, dropped data, removed dependencies.
- Deploys, migrations, external API calls, anything irreversible.
- External sends — messages, posts, publishes, scheduled items.
Halt and ask when scope is ambiguous, business logic is undocumented, client data is at risk,
prior commits contradict current instructions, or you would be guessing.
See rules/decision-boundaries.md and rules/external-actions.md.
End-of-Task Summary
Close every coding task with exactly this:
Files changed: <every file touched>
What was modified: <one line per file>
Files intentionally not touched: <if relevant>
Follow-up needed: <if any>Permanent Constraints
Every project, every session. Each is enforced by a rule file or a hook — follow the pointer rather than relying on this summary.
- An issue exists before code does. Non-trivial changes are tracked before work starts.
—
rules/git-workflow.md. - Never force-push a shared branch. —
rules/git-workflow.md, enforced byhooks/block-force-push.sh. - Conventional commits. —
rules/git-workflow.md. - Secrets live in the environment, never in the repository. —
rules/security.md, enforced byhooks/block-secret-commit.sh.
Rule Index
| Rule | Covers |
rules/git-workflow.md | Branches, commits, issues, label taxonomy, atomic task contract |
rules/decision-boundaries.md | When to halt, when to proceed, the four confirmation gates |
rules/security.md | Input validation, secrets, auth, logging |
rules/coding-standards.md | Structure, naming, type safety, prohibited patterns |
rules/testing-quality.md | The quality gate and the build-verification gate |
rules/code-cleanup-safety.md | Safe refactoring; editing content someone else wrote |
rules/reporting-discipline.md | Inspected vs. sampled, verified vs. inferred |
rules/external-actions.md | Confirmation protocol for anything that leaves the machine |
rules/documentation-protocol.md | Doc naming, structure, project CLAUDE.md template |
rules/cache-protocols.md | When and how to invalidate caches, per stack |
rules/project-memory.md | Decision log and failure log per project |
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.

