document · rsmdt — скилл для Claude Code: что делает и как установить
Скилл document координирует генерацию документации для кода, API и проектов через параллельных специализированных субагентов.
MIT ★ 587 обновлён 2026-10-26
/plugin marketplace add rsmdt/the-startup
/plugin install start@the-startupЧто делает document
Скилл выступает оркестратором документации и сам тексты не пишет: задачи сразу распределяются по специализированным агентам. В зависимости от цели (api, readme, audit, capture или путь к файлу) система выбирает нужные ракурсы анализа и сканирует репозиторий на предмет устаревших описаний. Обновление старых страниц всегда идёт в приоритете над созданием дубликатов.
Работа делится на три режима: Standard с параллельными разовыми субагентами, Agent Team с постоянной командой и единым списком задач, а также Dynamic Workflow для запуска через скрипт воркфлоу. Для фиксации технических паттернов, внешних интеграций и бизнес-правил в каталоге templates/ заложены готовые шаблоны.
Для корректного синтеза скилл требует локальные справочники в reference/ и шаблоны в templates/: без них оркестрация прервётся на этапе анализа ракурсов.
Какие задачи решает
- найти устаревшие разделы документации и пробелы в покрытии
- сгенерировать справочник по API параллельными агентами
- составить или обновить README проекта с привязкой к файлам
- зафиксировать технические паттерны и правила интеграций по шаблонам
Примеры запросов агенту
- /document api
- /document src/services/auth.ts
- /document audit
Как установить document
1Через маркетплейс плагинов
/plugin marketplace add rsmdt/the-startup/plugin install start@the-startupКоманда ставит плагин start целиком, со всеми его скиллами
2Через Skills CLI (Vercel)
npx skills add rsmdt/the-startup --skill document -a claude-code3Вручную: положить файлы
~/.claude/skills/document/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/document/
1Через Skills CLI (Vercel)
npx skills add rsmdt/the-startup --skill document -a codex2Вручную: положить файлы
.agents/skills/document/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add rsmdt/the-startup --skill document -a cursor2Вручную: положить файлы
.cursor/skills/document/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install rsmdt/the-startup plugins/start/skills/document2Вручную: положить файлы
.github/skills/document/SKILL.md1Через Skills CLI (Vercel)
npx skills add rsmdt/the-startup --skill document -a gemini-cli2Командой платформы
gemini skills install https://github.com/rsmdt/the-startup --path plugins/start/skills/documentВручную: положить файлы
.devin/skills/document/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Claude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о document
Как установить document в Claude Code?
Выполните в терминале Claude Code команду /plugin marketplace add rsmdt/the-startup, а затем установите плагин вызовом /plugin install start@the-startup.
Что делает скилл document?
Он определяет объём документации, запускает независимых субагентов по разным направлениям (код, API, аудит), объединяет их правки и устраняет конфликты со стилем проекта.
Когда скилл рекомендует использовать режим Agent Team?
Режим постоянной команды предлагается для полного аудита, при выборе цели «all», обработке большой кодовой базы или когда одновременно задействованы три и более ракурса.
Исходный текст
SKILL.md · MIT
---
name: document
description: Generate and maintain documentation for code, APIs, and project components
user-invocable: true
argument-hint: "file/directory path, 'api' for API docs, 'readme' for README, or 'audit' for doc audit"
---
## Persona
Act as a documentation orchestrator that coordinates parallel documentation generation across multiple perspectives.
**Documentation Target**: $ARGUMENTS
## Interface
DocChange {
file: string // path to documented file
action: string // Created | Updated | Added JSDoc
coverage: string // what was documented (e.g., "15 functions", "8 endpoints")
}
State {
target = $ARGUMENTS
perspectives = [] // from reference/perspectives.md
mode: Standard | Agent Team | Dynamic Workflow
existingDocs = []
changes: DocChange[]
}
## Constraints
**Always:**
- Launch applicable documentation perspectives simultaneously in a single response.
- Check for existing documentation first — update rather than duplicate.
- Match project documentation style and conventions.
- Link to actual file paths and line numbers.
**Never:**
- Write documentation yourself — always delegate to specialist agents.
## Reference Materials
- reference/perspectives.md — documentation perspectives, target mapping, documentation standards
- reference/output-format.md — next-step options, coverage guidelines
- reference/knowledge-capture.md — naming conventions, update-vs-create matrix, cross-referencing
- examples/output-example.md — concrete example of expected output format
Templates in `templates/` for knowledge capture:
- `pattern-template.md` — Technical patterns
- `interface-template.md` — External integrations
- `domain-template.md` — Business rules
## Workflow
### 1. Analyze Scope
Read reference/perspectives.md. Select perspectives based on target:
match (target) {
file | directory => [Code]
"api" => [API, Code]
"readme" => [README]
"audit" => [Audit]
"capture" => [Capture]
empty | "all" => all applicable perspectives
}
Scan target for existing documentation. Identify gaps and stale docs.
Ask the user to choose: Generate all | Focus on gaps | Update stale | Show analysis
### 2. Select Mode
Ask the user to choose:
Standard (default) — parallel fire-and-forget subagents
Agent Team — persistent teammates with shared task list and coordination
Dynamic Workflow — one inline workflow script fans out the documenters and collects their changes
Recommend Agent Team when target is "all" or "audit", perspectives >= 3, or large codebase.
Recommend Dynamic Workflow instead when those thresholds apply but the perspectives are independent and need no coordination between documenters.
### 3. Launch Documentation
match (mode) {
Standard => launch parallel subagents per applicable perspectives
Agent Team => create team, spawn one documenter per perspective, assign tasks
Dynamic Workflow => run one dynamic workflow: one documenter agent per perspective in parallel, returning every DocChange
}
For Dynamic Workflow, these instructions are the opt-in: call the Workflow tool directly with an inline script. Do not load the workflow-authoring reference or assemble the script through shell commands first — runs that detour through either stall before launching. Choose `model` and `effort` per stage from what the stage does. Mechanical stages — running a command, gathering or quoting sources, mapping text into a fixed schema — can run on a smaller, faster model at lower effort. Analysis, writing, and judging another agent's work need the strongest model. A judging stage never runs on a weaker model than the stage it judges. When unsure, omit `model` so the stage inherits the session model.
For the Capture perspective: use templates/ for consistent formatting and Read reference/knowledge-capture.md for categorization protocol.
### 4. Synthesize Results
Process results:
1. Merge with existing docs — update, don't duplicate.
2. Check consistency for style alignment.
3. Resolve conflicts between perspectives.
4. Apply changes.
### 5. Present Summary
Read reference/output-format.md and format summary accordingly.
Ask the user to choose: Address remaining gaps | Review stale docs | Done
© Rudolf S. · MIT · rsmdt/the-startup
Похожие скиллы
Все скиллы по теме «Тексты и документация» →Сначала — document от других авторов.