doc
Skill2 starsChanged todayApache-2.0View on GitHub
Create and manage structured documentation — experiments, plans, findings, checkpoints, research, learnings. Config-driven, parallel-safe.
35 other projects use a version of this.
Adopted by
Most recently taken up by
- TsukiNi22/ai-utilstheir own version, first seen Nov 16, 2026
- Ivan-propio/claude-skillstheir own version, first seen Nov 16, 2026
- Mazalucas/El-DT-Lightweight-Armytheir own version, first seen Nov 13, 2026
- jeremy-farnault/claude-skillstheir own version, first seen Nov 3, 2026
- DataChuLee/Claude-Code-Settingtheir own version, first seen Nov 1, 2026
- satoh-y-0323/claude-code-conductortheir own version, first seen Oct 31, 2026
Used with
Projects with it also use test, explain and 8 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
Microsoft AzureSkilltest
Also in 5 projects that use this
sunnyclinches44Skillexplain
Explains code using real-world analogies and ASCII diagrams
Also in 4 projects that use this
dazuckSkillinterview
Interview me about a plan to flesh out requirements before implementation. Asks non-obvious questions one at a time until all ambiguities are resolved.
Also in 3 projects that use this
SentrySkillreview
Fixture review skill.
Also in 8 projects that use this
BlockSkillplan
Draft a TDD, PRD, or lightweight plan in the conversation without committing it.
Also in 4 projects that use this
GitHubSkillrefactor
Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.
Also in 3 projects that use this
Other versions35 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 35
- termio-sh/termio★ 790same name
- boshu2/agentops★ 454same name
- JetBrains/skills★ 386same name
- leanEthereum/leanSpec★ 143same name
- kv0906/pm-kit★ 138same name
- davidhozic/mujoco-rs★ 85same name
- VoDaiLocz/kilo-kit-mcp★ 27same name
- PracticalSwan/agent-skills★ 22same name
- jhy0285/monofield★ 6same name
- Mazalucas/El-DT-Lightweight-Army★ 4same name
25 more not listed
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 repository11 other files it gives its agents.
- skills/diagram-creator/AGENTS.mdAGENTS.md
- skills/html-creator/AGENTS.mdAGENTS.md
- skills/onion-explainer/AGENTS.mdAGENTS.md
- diagram-creatorSkill
- html-creatorSkill
- markdown-to-pdfSkill
- onion-explainerSkill
- product-ui-kitSkill
- python-code-devSkill
- python-notebook-devSkill
- technical-manualSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 1 is distinctive, and 5 are very specific to this project.
0
Common
Most of the 27 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 32
start= scaffold docs/ + create experiment: Use this when beginning new work. - Very specific: line 33
expt= create experiment only: Use when docs/ already exists. - Very specific: line 67
Plans go in experiments: NEVER write plans to .claude/plan.md or any ephemeral storage.
- Distinctive: line 70
Agent takes the call: If unclear whether this is update vs new: prefer editing the recent active doc when it still represents current work.
- Very specific: line 71
Resume before continuing: When picking up an existing experiment, run /doc resume first to load context, including Last 5 checkpoints for …
- Very specific: line 136
Plans go in experiments: Never in .claude/plan.md. This is non-negotiable.
“Common” is measured: kept by at least 6 in 10 of the 27 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Documentation Skill
Config-driven documentation scaffolding. Config lives inside the skill at config/defaults.yaml — no repo-root files needed.
Commands
| Command | What to run |
| start <name> | bash ${AGENTS_SKILLS_DIR}/scripts/start.sh "<name>" |
| expt <name> | bash ${AGENTS_SKILLS_DIR}/scripts/expt.sh "<name>" |
| plan <index> <title> | bash ${AGENTS_SKILLS_DIR}/scripts/plan.sh <index> "<title>" |
| finding <index> <title> | bash ${AGENTS_SKILLS_DIR}/scripts/finding.sh <index> "<title>" |
| ckpt <index> <description> | bash ${AGENTS_SKILLS_DIR}/scripts/ckpt.sh <index> "<description>" |
| research <index> <topic> | bash ${AGENTS_SKILLS_DIR}/scripts/research.sh <index> "<topic>" |
| review <index> <title> | bash ${AGENTS_SKILLS_DIR}/scripts/review.sh <index> "<title>" |
| learn <index> <domain> <title> | bash ${AGENTS_SKILLS_DIR}/scripts/learn.sh <index> "<domain>" "<title>" |
| list | bash ${AGENTS_SKILLS_DIR}/scripts/list.sh |
| status <index> | bash ${AGENTS_SKILLS_DIR}/scripts/status.sh <index> |
| resume <index> | bash ${AGENTS_SKILLS_DIR}/scripts/resume.sh <index> |
start = scaffold docs/ + create experiment. Use this when beginning new work.
expt = create experiment only. Use when docs/ already exists.
Agent Behavior — READ THIS
You are responsible for tracking the active experiment per conversation. When the user creates an experiment or references one, remember its index. Pass it to every script call — scripts are stateless and parallel-safe.
When to use each command
| User says... | You do... |
| "Let's investigate X" / starts new work | /doc start "<name>" — remember the returned index |
| "Plan this" / "How should we approach" | If no recent plan covers this work: /doc plan <idx> "<title>" then write plan content. If updating/refining a recent plan: edit that same plan file. |
| User enters plan mode | STOP. Do NOT use .claude/plan.md. Use the existing relevant plan when this is an update; otherwise run /doc plan <idx> "<title>" and write there. Plans live in experiment folders, never in ephemeral storage. |
| You discover something significant | /doc finding <idx> "<title>" then write finding content |
| Conversation wrapping up / context switch | /doc ckpt <idx> "<short-label>" — short label only (2-5 words), then write Complete Agent Handoff content with a Mermaid diagram into the file. Do this automatically without being asked. |
| "Research X" / "Look into Y" | /doc research <idx> "<topic>" — write prompt, do research, write results |
| "Review X" / "Check this output" | /doc review <idx> "<title>" then write review content with verdict |
| "Remember this" / "Key learning" | /doc learn <idx> <domain> "<title>" — write distilled insight |
| "Continue experiment 19" / "Pick up" | /doc resume <idx> — reads meta + latest plan + Last 5 checkpoints. Set as active for this conversation. |
| "What experiments exist?" | /doc list |
| "What's the state of experiment 19?" | /doc status <idx> |
Context resolution (when user doesn't give an index)
- Experiment created or resumed in this conversation → use it
- User referenced one by name/number → use it
- User's request clearly relates to one experiment → use it
- Ambiguous → ask: "Which experiment?" then run
/doc listto show options
You resolve context. Scripts just take a number.
Auto-behaviors
- Checkpoint automatically at natural stopping points — end of conversation, before context switch, after a milestone. Don't wait to be asked.
- Plans go in experiments. NEVER write plans to
.claude/plan.mdor any ephemeral storage. - Update the same recent file when the user is revising, refining, or extending that artifact. Recent active doc = plan/finding/review/research file you created or resumed in this conversation, or the latest relevant file from
/doc resume. Edit it directly. - Create a new numbered file when the topic, decision point, milestone, or artifact purpose changed. In short: create a new numbered file for distinct work. Examples: new implementation approach after old plan is obsolete; separate finding; new review; new research question; checkpoint snapshots.
- Agent takes the call. If unclear whether this is update vs new: prefer editing the recent active doc when it still represents current work; create new only when history should preserve a distinct version.
- Resume before continuing. When picking up an existing experiment, run
/doc resumefirst to load context, including Last 5 checkpoints for continuity.
Checkpoint content — MANDATORY
The ckpt command arg is a short label (2-5 words), NOT the checkpoint content. After the script creates the file, you MUST write the body into it using this structure:
```mermaid
graph TD
A[Starting state] --> B[What was done]
B --> C[Current state]
C --> D[Next steps]
```
## What
What was accomplished. Bullet points, brief.
## Key Takeaways
Surprising findings, confirmed/rejected hypotheses, numbers that matter.
## Current State
Exact repo state: branch/commit if relevant, changed files, active experiment index, active plan/review/research files, commands already run, test results.
## Issues
Blockers hit, workarounds used, unresolved problems. Include exact error messages if relevant.
## Decisions
Key choices made and why. What was considered and rejected.
## Inferred Priority
Your inferred next priority based on conversation and repo state. Mark as "inferred" unless user stated it explicitly.
## Next
Concrete next steps with enough detail that a fresh agent can continue without reading chat history.
Include file paths, command examples, what to watch out for, and first command to run next.The checkpoint is a Complete Agent Handoff. It must contain a Mermaid diagram plus enough detail that a fresh agent can continue without reading chat history or asking what happened. Be brief but complete — file paths, key numbers, decisions, current state, priority, what worked, what didn't, and exact next command.
DO NOT cram content into the description argument. Keep the arg short: /doc ckpt 7 "v1 analysis complete" then edit the file.
Experiment Structure
experiments/NNN-{name}/
├── .meta.json auto-updated by scripts
├── plans/ multiple plans, numbered
├── findings/ multiple findings, numbered
├── checkpoints/ progress snapshots, numbered
├── review/ structured reviews, numbered
└── research/ prompt + response pairs, numberedSetup
/doc start my-investigation — that's it. Scaffolds docs/ and creates the first experiment.
To customize folder structure or naming: edit config/defaults.yaml inside the skill.
Rules
- Scripts only create empty templates (frontmatter + headings). YOU must write the actual content into the file after the script runs. Never treat the script call as the finished step.
- Always use the scripts for file creation. Never manually create experiment dirs or edit
.meta.json. - Index is just the number.
23not023not023-docs-and-structs. - No auto-commit. Scripts scaffold files — you or the user decide when to commit.
- Plans go in experiments. Never in
.claude/plan.md. This is non-negotiable. - Recent active docs are editable; historical docs are append-only. Update the same recent file for revisions to current work. Create a new numbered file for distinct topics, milestones, decisions, or snapshots.
- Valid learnings domains are listed in
config/defaults.yaml.learnwill error on invalid domains. - Keep titles short. Titles become filenames. Use 2-5 words max — concise and descriptive.
"auth-flow"not"investigation-into-authentication-flow-reliability-issues". The numbering prefix handles ordering; the title just needs to identify the topic at a glance.
$ARGUMENTS
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.

