docs-plan
Documentation discovery and information architecture for a repository, in three tiers (first steps, everyday, integration), with user needs, a page inventory…
от ocx-sh★ 20 звёзд на GitHub
Установить docs-plan в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
docs-plan
Discover what a project's documentation must cover, from the project's own evidence, and write the result to one durable artifact.
The artifact holds a ranked task list in three tiers and one user need per task. It also holds a typed inventory of every page, a coverage map, a delete list and an IA plan. Nothing here writes documentation prose.
Use this skill before writing or restructuring documentation. Use the
docs-quality rules while writing individual pages.
Stop condition
Stop when the artifact file exists on disk and all of the following hold.
- Every top-level subcommand or exported entry point appears either in the task list or in the explicit out-of-scope list.
- Every shortlisted task carries a user need, a tier, a ranking signal, a mapped
page or the literal
missing, and an action. - Every existing page carries a
doc_typevalue, proposed or already declared. - The delete list contains only pages that failed both delete signals.
Then stop. Do not write the pages. Do not apply the delete list without the maintainer saying so, because deleting documentation unattended is a different risk class from writing a page.
The evidence rule
Every claim in the artifact comes from the repository, its issue tracker, its logs, or a run you actually performed. Never from an existing docs page title, and never from a number you did not measure. Those two shortcuts are the way this procedure gets faked, and both have their own rule.
Procedure
Run the steps in order. Each names the output it must leave behind.
1. Declare the product shape
Read the docs config for one of cli, library, hosted-service or
framework. Look in the mkdocs.yml extra table, a pyproject.toml tool
table, or a docs.toml. If none is declared, infer one from the repository and
write it into the config as part of this run.
Output: one shape value, recorded in the artifact header. Every first-steps threshold later branches on it. See references/tiers-and-types.md.
2. Enumerate the surface
List every top-level subcommand, every exported entry point and every README section heading. Add every issue and pull request title, and every changelog entry describing a shipped feature. Add search logs and invocation telemetry when the project has them, which is rare.
Never source a candidate from an existing docs page title or heading. That invents a need to justify a page that already exists.
Output: the candidate longlist, with a source value per candidate.
3. Collapse and shortlist
Merge duplicates. Move anything out of scope into a named out-of-scope list rather than deleting it. The out-of-scope list is what makes the longlist auditable later.
Output: the shortlist, plus the out-of-scope list.
4. Run a friction log on the top candidates
Attempt each shortlisted task for real, as a named first-time persona, and write what happened while it happened. Three sections, no fix section. Paste verbatim output from the run.
An agent that already has the repository in context cannot un-know it. Delegate the log to a subagent with no repository access wherever the harness allows it.
Output: one friction log file per task attempted. Template in references/friction-log.md.
5. Rank by one named signal
Pick the strongest signal that actually exists, from issue-pr-frequency,
invocation-telemetry, zero-result-logs, friction-log-severity, in that
priority order. Record which one you used.
Never invent a percentage, a vote count or a respondent count. Most projects
land on friction-log-severity and must say so.
Output: a ranked shortlist and one signal value.
6. Write one user need per task
Use the fixed form: "As a X, I need to Y, so that Z". Reject any need whose need or outcome clause names a page, a command or a flag. Reject "understand", "know" and "be aware of" unless a concrete action follows.
Output: as_a, i_need_to and so_that fields per task. Form, worked pair and
the rejection check in references/user-needs.md.
7. Inventory and type every existing page
Walk the published documentation tree. For each page record the path, the prose
word count, and a doc_type from the nine-value enum. Seed the type from the
generator nav config where one exists, which is the strongest available seed.
Fall back to a content read.
Never derive doc_tier from nav position. That was measured and does not work.
Output: the inventory table, one row per page. Enum and seeding in references/ia-plan.md.
8. Map needs to pages
For each task, name the page that serves it or the literal missing. For each
page, mark it as serving a need or as unmapped. Set page_status to missing,
stub, adequate or duplicate, and action to write, expand, merge,
keep or delete.
Output: the coverage table.
9. Assign a tier to every task
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/discovery-artifact.md
- references/friction-log.md
- references/ia-plan.md
- references/tiers-and-types.md
- references/user-needs.md
FAQ
Что делает скилл docs-plan?
Documentation discovery and information architecture for a repository, in three tiers (first steps, everyday, integration), with user needs, a page inventory, a coverage table, a delete list, and seeded doc_type and doc_tier declarations. Use when someone asks what documentation a project needs, wants a docs plan, docs audit, docs roadmap, docs IA, page inventory, coverage table, delete list, or content gap analysis, when scoping a quickstart, getting-started page, first-steps page or tutorial, when asked which pages to write, merge, split or delete, when someone mentions user needs, top tasks, friction logs, doc_type, doc_tier, product shape, or "what should the docs cover". Not for wording one page. The docs-quality rules cover prose, examples and navigation.
Как установить скилл docs-plan?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл docs-plan запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…