forge-docs
Skill4 starsChanged 3 months agoApache-2.0View on GitHub
Load before code changes, before writing docs or an ADR, when a user question exposes a missing how-to, and when closing a chunk of work; also loaded by forge after each squash-merge and by deep-research after a report.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- is-bo/fullstack-forge-skilltheir own version, first seen Aug 28, 2026
- tinyorbit-ai/skillstheir own version, first seen Aug 20, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- is-bo/fullstack-forge-skill★ 2same name
- tinyorbit-ai/skills★ 1same name
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 repository35 other files it gives its agents.
- AGENTS.mdAGENTS.md
- 12-factor-appSkill
- caveman-commitSkill
- caveman-reviewSkill
- cavemanSkill
- conventional-commitsSkill
- creating-pull-requestsSkill
- deep-researchSkill
- dispatching-parallel-agentsSkill
- domain-modelingSkill
- finishing-a-development-branchSkill
- forge-cleanupSkill
- forge-eu-accessibilitySkill
- forge-flowSkill
- forge-initSkill
- forge-seoSkill
- forge-setupSkill
- forgeSkill
- forge-tailwindcss-conventionsSkill
- frontend-designSkill
- git-issue-trackerSkill
- grillingSkill
- kiss-principleSkill
- loopsSkill
- planning-and-task-breakdownSkill
- prototypeSkill
- pr-resolveSkill
- pr-reviewSkill
- resolving-merge-conflictsSkill
- ste100Skill
- subagent-driven-developmentSkill
- use-git-identitySkill
- using-git-worktreesSkill
- verification-before-completionSkill
- wayfinderSkill
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 4 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
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
- Very specific: line 29
Every docs/<subfolder>/ has a README.md that is the index for that sub-folder.
- Distinctive: line 32
Update the sub-folder's README.md in the same commit.
- Very specific: line 33
Update the global docs/README.md if the folder membership changed (new sub-folder added).
- Very specific: line 89
Use relative links (../dev/CONTEXT.md, Title) — never absolute paths.
- Very specific: line 106
On any code change: ask — does this introduce ambiguity about how the system works?
- Distinctive: line 110
When you introduce a new tool, module, or any fully new piece of the project — write an ADR.
- Very specific: line 117
Update docs/dev/CONTEXT.md with the new term + cross-reference.
- Very specific: line 126
Update docs/README.md only if the folder membership changed.
- Distinctive: line 131
Single source of truth: Update rules, templates, and the ADR mandate live here only.
- Very specific: line 133
One sentence per index entry: No prose blocks in sub-READMEs or docs/README.md.
- Distinctive: line 140
Run code, write code, or review code (those are forge, SDD, pr-review)
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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 Docs
Owns the docs directory. Single source for structure, update rules, index maintenance, and the ADR mandate. Loaded by forge (step 4) and deep-research.
Directory structure
docs/
├── adr/ # Architecture Decision Records (NNNN-*.md)
├── dev/ # Internal dev artefacts
│ ├── CONTEXT.md # Glossary — the index for ADRs
│ ├── CONTEXT-MAP.md # Only if multi-context
│ └── agents/ # Deep research reports
├── guides/ # How-to guides for engineers
├── system-design/ # Architecture & system design docs
└── public/ # External-facing docsdocs/adr/ is a flat list. No sub-folders. No docs/adr/README.md — the glossary in docs/dev/CONTEXT.md IS the ADR index.
Sub-README index rules
Every docs/<subfolder>/ has a README.md that is the index for that sub-folder. The global docs/README.md is the index for the docs tree itself.
On every file create or update in a sub-folder:
- Update the sub-folder's
README.mdin the same commit. - Update the global
docs/README.mdif the folder membership changed (new sub-folder added).
Sub-README templates (one sentence per entry, relative links, GitHub-browsable):
# <Subfolder Name>
<one-line purpose>
- [Title](file.md) — one-line why it exists.
- [Title](file.md) — one-line why it exists.Global docs/README.md template (collapsible, one entry per sub-folder, links to sub-READMEs):
# Docs Index
## adr
<details><summary>Architecture Decision Records</summary>
See [`docs/dev/CONTEXT.md`](../dev/CONTEXT.md) for the glossary and ADR cross-references.
</details>
## dev
<details><summary>Internal dev artefacts</summary>
- [`CONTEXT.md`](dev/CONTEXT.md) — domain glossary.
- [`agents/`](dev/agents/) — deep research reports.
</details>
## guides
<details><summary>How-to guides</summary>
- [Title](guides/file.md) — one-line why it exists.
</details>
## system-design
<details><summary>Architecture & system design</summary>
- [Title](system-design/file.md) — one-line scope.
</details>
## public
<details><summary>External-facing docs</summary>
- [Title](public/file.md) — one-line audience.
</details>Always:
- Use relative links (
../dev/CONTEXT.md,[Title](file.md)) — never absolute paths. - One sentence per entry. No prose blocks.
- Markdown renders collapsible in GitHub.
Update rules — when each sub-folder moves
| Trigger | Sub-folder to update |
| Code change introduces a new behavior, contract, or architectural shape | docs/system-design/ (create or update) |
| A user or agent question exposed a missing how-to | docs/guides/ (create or update) |
| A new tool, module, or fully new piece of the project | ADR in docs/adr/ (see ADR section) |
| A glossary term crystallised or sharpened | docs/dev/CONTEXT.md |
| A big chunk of work completed (PR merged, feature shipped) | docs/public/ |
| A deep research report was written | docs/dev/agents/<topic>.md + docs/dev/README.md |
Any file created or updated anywhere in docs/ | That sub-folder's README.md |
A new sub-folder added to docs/ | docs/README.md |
On any code change: ask — does this introduce ambiguity about how the system works? If yes, update or create a reference file in docs/system-design/ or docs/guides/. If no, the code is its own documentation.
ADR mandate
When you introduce a new tool, module, or any fully new piece of the project — write an ADR. If one does not exist for it, create one.
An ADR records a hard-to-reverse, surprising, trade-off decision. New things are exactly that.
Format: docs/adr/NNNN-slug.md. Numbering is sequential, zero-padded to 4 digits. The glossary (docs/dev/CONTEXT.md) cross-references each ADR.
After writing an ADR:
- Update
docs/dev/CONTEXT.mdwith the new term + cross-reference. - No
docs/adr/README.mdexists — the glossary is the index.
Steps when invoked
- Identify what triggered the load (code change, research write, chunk close, ADR).
- Identify the sub-folder(s) that need updates per the table.
- For each affected sub-folder, create or update the file using the template format.
- Update the sub-folder's
README.mdin the same commit. - Update
docs/README.mdonly if the folder membership changed. - Done when every affected sub-folder's
README.mdreflects the current file list.
Rules
- Single source of truth. Update rules, templates, and the ADR mandate live here only. No other skill duplicates them.
- Relative links always. GitHub-browsable. Never absolute paths.
- One sentence per index entry. No prose blocks in sub-READMEs or
docs/README.md. - Glossary cross-references ADRs. ADRs themselves have no
README.md. - Index updates travel with file changes. Same commit, every time.
Boundaries
Forge Docs does not:
- Run code, write code, or review code (those are forge, SDD, pr-review)
- Maintain the glossary's terms (
domain-modelingdoes that) - Decide what an ADR should say (the engineer +
domain-modelingdecide) - Maintain the issue tracker or the wayfinder map
It only ensures the docs directory, its index files, and the ADR mandate stay current after each write.
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.

