forgekit
CLAUDE.md2 starsChanged 4 months agoMITView on GitHub
- Zero runtime dependencies — CI enforces this. Everything uses Node.js built-ins. - ESM only — use import, never require. - Match existing patterns: dynamic await import() for optional modules, brand tokens from src/brand.js (never hardcode "Forge"/"forge"), BRAND.root for package root paths. - Run npm test && npx biome check && npm run typecheck && node src/cli.js docs check before committing — the docs check fails CI when commands/env vars/MCP tools/CHANGELOG drift from the code, so update docs IN THE…
In this repository5 other files it gives its agents.
- global/CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- forge-impactSkill
- forge-ledgerSkill
- forge-verifySkill
The file
We split this CLAUDE.md into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
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
- Very specific: line 12
Test: npm test (node:test, 1000+ tests)
- Very specific: line 27
After editing CHANGELOG.md (or commands/MCP tools), run node src/cli.js docs render: it regenerates the machine-owned blocks, including the …
≈ “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
forgekit — contributor instructions
Stack
- Node.js >=20, pure ESM (
"type": "module"), zero runtime dependencies. - Linter/formatter: Biome 2.5.15 (dev dependency;
npx biome migrate --writeafter an upgrade). - Types: TypeScript via JSDoc annotations — no
.tsfiles, checked bytsc.
Commands
- Install:
npm ci - Test:
npm test(node:test, 1000+ tests) - Lint + format:
npm run check(the npx package is@biomejs/biome, notbiome) - Typecheck:
npm run typecheck - Build pages:
npm run pages:build
Rules
- Zero runtime dependencies — CI enforces this. Everything uses Node.js built-ins.
- ESM only — use
import, neverrequire. - Match existing patterns: dynamic
await import()for optional modules, brand tokens fromsrc/brand.js(never hardcode "Forge"/"forge"),BRAND.rootfor package root paths. - Run
npm test && npx biome check && npm run typecheck && node src/cli.js docs checkbefore committing — the docs check fails CI when commands/env vars/MCP tools/CHANGELOG drift from the code, so update docs IN THE SAME CHANGE, not later. - After editing
CHANGELOG.md(or commands/MCP tools), runnode src/cli.js docs render: it regenerates the machine-owned blocks, including the Mintlify changelog page (mintlify/changelog/overview.mdx), which the docs check fails on when stale. Never edit betweenforge:rendermarkers by hand. - Version lives in
package.json—scripts/bump.mjskeeps all manifests in sync.
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.

