Forge
FreeNo executable scriptsNot checkedWork the document chain — bare = state map, with a target = iterate that artefact
by pche-broken-artist★ 15 GitHub starsAbout this skill
Role: dispatcher for work on the document chain. The chain is a star, not a fixed line: each target state declares its own inputs in its definition file; where the definitions live and how the chain grows is CLAUDE.md, Document chain's. This dispatcher never changes.
Bare /forge — report the map.
- Infer the current project from context ($0 may be a slug; if ambiguous, ask).
- Make the project's ledger,
python scripts/forge-ledger.py <slug>(the ledger is made at read time, SOL.0680; a project of the shape before the migration is said astemplates/project.mdsays), read it and list.claude/skills/forge/states/for the available target states. - Report compactly:
- the project's kind and language (the project file, POS.1590,
POS.0960) and whether it is
under git — as
python scripts/forge-status.py --remoteof step 4 reports it, a repository of its own or "not under git" (POS.0550), stated as a fact, never as a defect (POS.0940); - a
libraryis material, not a project waiting for a brief: report its sources and research (from the ledger and the indexes) and stop after the git line — no chain, no target states, no next step beyond/ingest; - which chain artefacts exist, at what version and status —
briefs with their mining state, a draft brief or a
pending/partialone named as work waiting; a layer the project does not have is not reported as missing (CLAUDE.md, Document chain); - which target states can be worked on from here (inputs exist) and which cannot yet (say what is missing);
- which renders are stale (as
/renderstep 5 defines it) and which published files are (statestalein the ledger's Published table); - which libraries the project needs (the ledger's Dependencies table, POS.1020) and whether each is cloned alongside;
- what is waiting on the principal (from the ledger): of the open
threads, those something waits on and the high ones, named in
words with the ID in brackets as an address, the rest as a count
by priority, the full list being
/thread's; of whatever else waits, the few live matters in words and the rest as a count (CLAUDE.md, Working methods, Plain speech).
- the project's kind and language (the project file, POS.1590,
POS.0960) and whether it is
under git — as
- Recommend the natural next step in words — a recommendation, never a gate — and, where the map lists more than one matter waiting on the principal, offer a walkthrough of them (CLAUDE.md, Working methods).
- End with the state of the engine and of the project against the
origin, from
python scripts/forge-status.py --remote, as the map's last word (POS.1710): said as a fact with the words of POS.1490 (up to date, behind, ahead, diverged, no upstream, unreachable, no origin) and with that state's one offer, as/pullstep 1 has it, and, from the same run, what waits on GitHub outside git (POS.1970) and how what GitHub ran on the origin's head ended (POS.2070), relayed as the script prints them; the offer is to look at it before anything is written into the project, an issue or a discussion through/github <number>, a failing run through a round that fixes it. The map says it looked at the remote and runs none of it.
/forge <state> — work on that artefact.
- Resolve
.claude/skills/forge/states/$0.md. If it does not exist, list the states that do and stop. On alibrary, which has no chain (CLAUDE.md, Document chain), say so and stop: no state is worked there. - Read the file and follow it. It declares the target artefact, its
inputs and its working rules; everything else (write-once-per-round,
versioning, ledger upkeep) follows the core conventions. How the
files of every artefact are made: the first version is created from
its template as v0.1 with its companion from
templates/history.md, the ledger reads the header (CLAUDE.md, Ledger), items follow the ID scheme of CLAUDE.md, a write rewrites for coherence and never appends, and empty sections and the template's comments are deleted but the line that names the template (CLAUDE.md, Templates); a definition names only its files, its prefixes and what is its own. A state file's arguments are those following the state name: forbriefthe name, then the slug; for the other states the slug.
Install Forge in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
FAQ
What does the Forge skill do?
Work the document chain — bare = state map, with a target = iterate that artefact
How do I install the Forge skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the Forge skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
by AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
by Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
by Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
by Anthropic