agentleFS
CynrathCynrath/agent-context-kit/CLAUDE.md

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…

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
  1. Distinctive:

    Use the same repository rules as AGENTS.md (authoritative for all agents).

    line 3
  2. Very specific:

    Before ANY task: run node dist/cli/index.js --version, node dist/cli/index.js doctor, node dist/cli/index.js scan --ci.

    line 8
  3. Very specific:

    Create new task docs with node dist/cli/index.js task "<title>" first, then fill/refine the generated Markdown.

    line 10
  4. Distinctive:

    Do not create task docs manually unless the CLI fails.

    line 12
  5. Very specific:

    All validation uses the repository-built CLI: node dist/cli/index.js <command>.

    line 13
  6. Very specific:

    Run node dist/cli/index.js doctor and node dist/cli/index.js scan --ci before every final commit.

    line 16
  7. Very specific:

    Never commit generated .ackit/, reports, SARIF, prompt packs, context exports, package artifacts, packed tarballs, or temp outputs.

    line 17
  8. Distinctive:

    Before any push, run git status and confirm the working tree is clean.

    line 25
  9. Very specific:

    Never leave a newly created .md task file, plan, queue row, or test file uncommitted.

    line 26
  10. Distinctive:

    No risk findings in the latest local scan.

    line 48
  11. Very specific:

    Follow AGENTS.md for the full commit and push policy.

    line 59
  12. Distinctive:

    Do not include model name, generator, or AI authorship in commit messages.

    line 61

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

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 .NET ackit tool and any dotnet run invocation are not valid validation tools on this branch.
  • Run node dist/cli/index.js doctor and node dist/cli/index.js scan --ci before 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 status and confirm the working tree is clean.
  • Never leave a newly created .md task 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 (packageManager pinned), 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.json is the single source of truth (see Version truth in AGENTS.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.0 remain 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.yml after explicit user authorization; master pushes never publish.
  • Legacy .NET line is frozen and immutable: NuGet AgentContextKit 1.0.0-rc.1 (exact tag/release/assets/attestations at repository commit 258918b33c3d1359aac967604ee524e8b66ddf02) 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 typecheck
  • pnpm build && pnpm test && pnpm smoke:cli
  • pnpm run smoke:package
  • node dist/cli/index.js doctor
  • node dist/cli/index.js scan --ci

Commit And Push Policy

  • Follow AGENTS.md for 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 master via pull request with exact-head required CI green (direct pushes are rejected by branch protection); rebuild/ackit-vnext is retired (historical only, do not push).
  • Do not include model name, generator, or AI authorship in commit messages.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.