agent-context-kit
CLAUDE.md14 starsChanged 3 months agoMITView on GitHub
Use the same repository rules as AGENTS.md (authoritative for all agents). - Before ANY task: run node dist/cli/index.js --version, node dist/cli/index.js doctor, node dist/cli/index.js scan --ci. - Create new task docs with node dist/cli/index.js task "<title>" first, then fill/refine the generated Markdown. - Do not create task docs manually unless the CLI fails. If it fails, record the exact failure. - All validation uses the repository-built CLI: node dist/cli/index.js <command>. The old global .NET ackit tool and any dotnet run…
In this repository6 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- ackit-context-optimizationSkill
- ackit-policy-authoringSkill
- ackit-scan-and-fixSkill
- ackit-workflowSkill
The file
We split this CLAUDE.md into the rules it gives an agent
12 rules. About 0 are common, 5 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 3
Use the same repository rules as AGENTS.md (authoritative for all agents).
- Very specific: line 8
Before ANY task: run node dist/cli/index.js --version, node dist/cli/index.js doctor, node dist/cli/index.js scan --ci.
- Very specific: line 10
Create new task docs with node dist/cli/index.js task "<title>" first, then fill/refine the generated Markdown.
- Distinctive: line 12
Do not create task docs manually unless the CLI fails.
- Very specific: line 13
All validation uses the repository-built CLI: node dist/cli/index.js <command>.
- Very specific: line 16
Run node dist/cli/index.js doctor and node dist/cli/index.js scan --ci before every final commit.
- Very specific: line 17
Never commit generated .ackit/, reports, SARIF, prompt packs, context exports, package artifacts, packed tarballs, or temp outputs.
- Distinctive: line 25
Before any push, run git status and confirm the working tree is clean.
- Very specific: line 26
Never leave a newly created .md task file, plan, queue row, or test file uncommitted.
- Distinctive: line 48
No risk findings in the latest local scan.
- Very specific: line 59
Follow AGENTS.md for the full commit and push policy.
- Distinctive: line 61
Do not include model name, generator, or AI authorship in commit messages.
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 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
Claude Project Context
Use the same repository rules as AGENTS.md (authoritative for all agents).
Dogfood / ACKit-First
This repository IS AgentContextKit. Every agent session must dogfood the tool.
- Before ANY task: run
node dist/cli/index.js --version,node dist/cli/index.js doctor,node dist/cli/index.js scan --ci. - Create new task docs with
node dist/cli/index.js task "<title>"first, then fill/refine the generated Markdown. - Do not create task docs manually unless the CLI fails. If it fails, record the exact failure.
- All validation uses the repository-built CLI:
node dist/cli/index.js <command>. The old global .NETackittool and anydotnet runinvocation are not valid validation tools on this branch. - Run
node dist/cli/index.js doctorandnode dist/cli/index.js scan --cibefore every final commit. - Never commit generated
.ackit/, reports, SARIF, prompt packs, context exports, package artifacts, packed tarballs, or temp outputs. - Preserve the task-first workflow, legacy-release immutability, and no-network/default safety rules.
Workflow
- Task-first: every implementation change starts from
docs/tasks/active/. - Continuous progress: do not stop between documented tasks; proceed through them in order.
Commit Completeness Hard Rule
- Before any push, run
git statusand confirm the working tree is clean. - Never leave a newly created
.mdtask file, plan, queue row, or test file uncommitted. New files must be added and committed in the same logical commit that creates them, or in an immediately following commit, before any push.
Stack
- TypeScript (strict ESM) + Node.js >= 22
- pnpm (
packageManagerpinned), Vitest, Biome - GitHub Actions:
.github/workflows/ci.yml
Repository Health
- README: yes
- LICENSE: yes
- SECURITY: yes
- Tests: yes
- CI: yes
- Agent instructions: yes
Release Status
- Source-checkout version:
package.jsonis the single source of truth (see Version truth inAGENTS.md— this file stays version-agnostic and never names a current release number). Published stable: the latest immutable npm/GitHub Release.0.1.1/0.1.0remain as historical releases;docs/v0.2.0/**is historical, not current governance. - npm publish, tags, and GitHub Releases are user-authorized actions only (see Controlled-release governance in
AGENTS.md). Automated publishing runs ONLY through the tag-triggered.github/workflows/release.ymlafter explicit user authorization; master pushes never publish. - Legacy .NET line is frozen and immutable: NuGet
AgentContextKit1.0.0-rc.1(exact tag/release/assets/attestations at repository commit258918b33c3d1359aac967604ee524e8b66ddf02) and earlier prereleases remain untouchable; do not republish, reuse, move, replace, or delete them. Historical failed recovery evidence remains preserved.
Risk Summary
- No risk findings in the latest local scan.
- Legacy .NET releases stay immutable; see Release Status above.
Recommended Checks
pnpm lint && pnpm format:check && pnpm typecheckpnpm build && pnpm test && pnpm smoke:clipnpm run smoke:packagenode dist/cli/index.js doctornode dist/cli/index.js scan --ci
Commit And Push Policy
- Follow
AGENTS.mdfor the full commit and push policy. Always-prohibited actions (force-push, history rewrite, tag movement/deletion, workflow dispatch, deployments) remain in force; master/publish/tag/release require explicit per-task user authorization. - Changes land on
mastervia pull request with exact-head required CI green (direct pushes are rejected by branch protection);rebuild/ackit-vnextis retired (historical only, do not push). - Do not include model name, generator, or AI authorship in commit messages.
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.

