forge-cli
Skill2 starsChanged 5 days agoMITView on GitHub
Playbook for CLIs and dev tools: flags, exit codes (gebruik bij een CLI-tool).
1 other project uses a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- ForgeyClap/claude-forgeedited, first seen Oct 11, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- ForgeyClap/claude-forge★ 239% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository99 other files it gives its agents.
- docs/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- brainstormingSkill
- claude-md-improverSkill
- dispatching-parallel-agentsSkill
- executing-plansSkill
- finishing-a-development-branchSkill
- forge-a11ySkill
- forge-agent-reportSkill
- forge-agentSkill
- forge-apiSkill
- forge-authSkill
- forge-autoresearchSkill
- forge-botsSkill
- forge-brainstormSkill
- forge-cmsSkill
- forge-code-reviewSkill
- forge-contextSkill
- forge-councilSkill
- forge-craftSkill
- forge-databaseSkill
- forge-dataSkill
- forge-debugSkill
- forge-deeplearnSkill
- forge-devopsSkill
- forge-docdriftSkill
- forge-doctorSkill
- forge-ecc-adapterSkill
- forge-ecommerceSkill
- forge-electronSkill
- forge-extensionSkill
- forge-figmaSkill
- forge-fullstackSkill
- forge-gameSkill
- forge-graded-verifySkill
- forge-guardianSkill
- forge-heartbeatSkill
- forge-i18n-docsSkill
- forge-intakeSkill
- forge-integrationSkill
- forge-long-form-writingSkill
- forge-mcp-clientsSkill
- forge-memorySkill
- forge-migrationSkill
- forge-mindmapSkill
- forge-mlopsSkill
- forge-mobileSkill
- forge-n8nSkill
- forge-nightshiftSkill
- forge-observabilitySkill
- forge-paymentsSkill
- forge-plan-largeSkill
- forge-prdSkill
- forge-predictionSkill
- forge-projectbrainSkill
- forge-prompt-coachSkill
- forge-qualitySkill
- forge-ragSkill
- forge-registrySkill
- forge-releaseSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 11
Use for: command-line tools: arg parsing, exit codes, stdio/pipe behaviour, safe defaults, cross-platform.
- Very specific: line 17
Real arg parser +
--help+--version: Use the stack's established parser (argparse/click, commander/yargs, clap, cobra) — not … - Very specific: line 22
Cross-platform: Use the platform path API (no hardcoded / or \), tolerate CRLF/LF, don't assume a POSIX-only shell or GNU-only flags, and …
- Very specific: line 41
No destructive default: dry-run/confirm/force present and tested.
≈ “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
Forge playbook — Command-line tool / CLI
When to use
- Use for: command-line tools: arg parsing, exit codes, stdio/pipe behaviour, safe defaults, cross-platform.
- Domain framing, team roles and honesty rule:
references/overview.md.
Do not duplicate ECC skills — defer to: the language reviewer skills (python-reviewer, typescript-reviewer, go-review, rust-review, etc. by stack) for idiomatic code, and /test-coverage for the test gate. This file is orchestration only.
Hard rules (non-negotiable)
- Real arg parser +
--help+--version. Use the stack's established parser (argparse/click, commander/yargs, clap, cobra) — not hand-rolledargvslicing. - Correct exit codes.
0= success only; distinct non-zero codes for distinct failure classes (usage error, not-found, permission, runtime). - Pipe / stdio discipline. Machine output → stdout; diagnostics, logs, prompts, progress → stderr (so
cmd | otherstays clean). - No destructive default.
- Testable — I/O separated from logic. Core behavior lives in pure functions callable without spawning a process; the thin CLI layer wires args → core → streams.
- Cross-platform. Use the platform path API (no hardcoded
/or\), tolerate CRLF/LF, don't assume a POSIX-only shell or GNU-only flags, and handle Ctrl-C (SIGINT) cleanly.
Full text of every rule: references/hard-rules.md.
Team (conditional)
Lead: architect for a multi-subcommand tool, else build-boss directly. Full roster: references/team-and-tools.md.
Skills / commands / MCP
Skills, commands, MCP and opt-in dependencies: references/team-and-tools.md.
Fan-out & flow
L1 for a single-purpose tool; L2 for a multi-subcommand CLI.
Serial: arg contract (flags + --help + exit-code table) → core logic (I/O-separated, pure) → stdio/pipe behavior → destructive-action guards → tests.
Parallel (independent once the arg contract + shared core lib are fixed): individual subcommands ∥ the help/usage docs ∥ the test suite.
Domain gates
--helpand--versionwork and exit0; unknown flags fail cleanly with usage.- Exit codes are distinct and correct; no path exits
0on error (proven by a failing-input test). - Machine output on stdout, diagnostics on stderr; reads stdin when piped; a pipeline
producer | tool | consumerround-trips without leaking logs into the data stream. - No destructive default: dry-run/confirm/force present and tested; a bare run is non-destructive.
- Cross-platform path + line-ending handling; no unguarded POSIX-only/GNU-only assumption; clean SIGINT.
- Tests cover exit codes + stdout + stderr + pipe; core logic is unit-testable without a subprocess.
Ship-readiness (unique)
Evidence checklist before handoff: references/ship-readiness.md.
Safety, approval and honesty
- Approval / safety: no destructive default: irreversible actions need an explicit flag or confirmation, with
--dry-run. - Approval / safety: secrets/tokens come from env or a config file, never echoed or baked into the binary; add
security-bosswhen the tool shells out, handles secrets or takes untrusted paths. - Honest failure: never claim "cross-platform" for an OS you did not actually run on; other-OS results are inferred until a CI matrix run proves them.
- Shared gates for every playbook (honesty, owner approval, secrets, reviews):
.claude/docs/forge-reference/playbook-template.md.
References
references/overview.md— domain framing paragraph(s) from under the title.references/hard-rules.md— full text of every hard rule.references/team-and-tools.md— full team roster, skills, commands, MCP and opt-in runtimes.references/ship-readiness.md— full ship-readiness evidence checklist.
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.

