ln-111-root-docs-creator
БесплатноБез исполняемых скриптовНе проверенCreates 5 root documentation files (PROJECT.md, docs/README.md, documentation_standards.md, principles.md, tools_config.md).
от tensology★ 17 звёзд на GitHubОб этом скилле
Paths: File paths (
shared/,references/,../ln-*) are relative to skills repo root. If not found at CWD, locate this SKILL.md directory and go up one level for repo root.
Root Documentation Creator
L3 Worker that creates 5 root documentation files using templates and Context Store from coordinator.
Purpose & Scope
- Creates 5 root documentation files (entry points for AI agents + tool configuration)
- Receives Context Store from ln-110-project-docs-coordinator
- Replaces placeholders with project-specific data
- Self-validates structure and content (22 questions)
- Never gathers context itself; uses coordinator input
Invocation (who/when)
- ln-110-project-docs-coordinator: ALWAYS invoked as first worker
- Never called directly by users
Inputs
From coordinator:
contextStore: Key-value pairs with all placeholders- PROJECT_NAME, PROJECT_DESCRIPTION
- TECH_STACK_SUMMARY
- DEV_COMMANDS (from package.json scripts)
- DATE (current date)
- LEGACY_CONTENT (optional, from ln-100 Phase 0 migration):
legacy_principles: { principles[], anti_patterns[], conventions[] }
targetDir: Project root directory
LEGACY_CONTENT is used as base content when creating principles.md. Priority: Legacy > Template defaults.
Documents Created (5)
| File | Target Sections | Questions |
|---|---|---|
| PROJECT.md | Critical Rules, Documentation Navigation, Development Commands, Maintenance | Q1-Q6 |
| docs/README.md | Overview, Standards, Writing Guidelines, Quick Navigation, Maintenance | Q7-Q13 |
| docs/documentation_standards.md | Quick Reference (60+ requirements), 12 main sections, Maintenance | Q14-Q16 |
| docs/principles.md | Core Principles (8), Decision Framework, Anti-Patterns, Verification, Maintenance | Q17-Q22 |
| docs/tools_config.md | Task Management, Research, File Editing, External Agents, Git | Auto-detected |
Workflow
Phase 1: Receive Context
- Parse Context Store from coordinator
- Validate required keys present (PROJECT_NAME, PROJECT_DESCRIPTION)
- Set defaults for missing optional keys
Phase 2: Create Documents
For each document (PROJECT.md, docs/README.md, documentation_standards.md, principles.md):
- Check if file exists (idempotent)
- If exists: skip with log
- If not exists:
- Copy template from
references/templates/ - Check LEGACY_CONTENT for this document type:
- For
principles.md: IfLEGACY_CONTENT.legacy_principlesexists:- Use
legacy_principles.principles[]as base for "## Core Principles" section - Use
legacy_principles.anti_patterns[]for "## Anti-Patterns" section - Use
legacy_principles.conventions[]for code style rules - Augment with template structure (add missing sections)
- Mark:
<!-- Migrated from legacy documentation -->at top of relevant sections
- Use
- For other documents: Use template as-is (no legacy content applicable)
- For
- Replace
{{PLACEHOLDER}}with Context Store values - Mark
[TBD: X]for missing data (never leave empty placeholders) - Write file
- Copy template from
Phase 2b: Create Tools Config
For docs/tools_config.md:
- Check if file exists (idempotent — respect existing config, may have been auto-bootstrapped)
- If exists: skip with log
- If not exists:
- Copy template from
references/templates/tools_config_template.md - Detect available tools (replace placeholders with actual values):
- Task Management: use your project management tool to set Provider/Status/Project ID (auto-discovered)
- Research: call
ref_search_documentation(query="test")→ if active, set Provider=ref. Then callresolve-library-id(libraryName="react")for Context7 → set Fallback chain - File Editing: check mcp__hashline-edit availability → set Provider
- External Agents: run
codex --version,gemini --version→ set Status/Comment - Git: run
git worktree list→ set Worktree/Strategy
- Write file with detected values
- Copy template from
Phase 3: Self-Validate
For each created document:
- Check SCOPE tag in first 10 lines
- Check required sections (from questions_root.md)
- Check Maintenance section (Update Triggers, Verification, Last Updated)
- Check POSIX endings (single newline at end)
- Auto-fix issues where possible
Phase 4: Return Status
Return to coordinator:
{
"created": ["PROJECT.md", "docs/README.md", ...],
"skipped": [],
"tbd_count": 3,
"validation": "OK"
}
Critical Notes
Core Rules
- Idempotent: Never overwrite existing files; skip and log
- No context gathering: All data comes from coordinator's Context Store
- TBD markers: Use
[TBD: placeholder_name]for missing data, never{{PLACEHOLDER}} - Language: All root docs in English (universal standards)
- SCOPE tags: Required in first 10 lines of each file
NO_CODE_EXAMPLES Rule (MANDATORY)
Root documents define navigation and standards, NOT implementations:
- *FORBIDDEN:
Установить ln-111-root-docs-creator в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл ln-111-root-docs-creator?
Creates 5 root documentation files (PROJECT.md, docs/README.md, documentation_standards.md, principles.md, tools_config.md).
Как установить скилл ln-111-root-docs-creator?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ln-111-root-docs-creator запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic