一键导入
docs
Create or refresh project documentation in `docs/`. Use when a project needs docs initialized or existing docs synced to the current codebase.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create or refresh project documentation in `docs/`. Use when a project needs docs initialized or existing docs synced to the current codebase.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Execute an approved implementation plan exactly and safely. Use for ExecPlan-style plan execution, resumable phase checklists, multi-hour implementation work, migrations, significant refactors, and plans that require verification checkpoints, status tracking, and final reporting.
Collaborative discovery and design framing for ambiguous or high-risk work. Use when requirements are unclear, multiple approaches are possible, or you need to turn an idea into a validated design brief before planning or coding.
Create detailed, execution-ready implementation plans for complex or high-risk changes without coding. Use for ExecPlan-style work, multi-hour changes, significant refactors, migrations, resumable phase checklists, and work that should be handed off to execute-plan with clear validation.
Create source-adjacent HTML visualizations for /visualize requests, docs, markdown, standardized plans, process flows, charts, Mermaid diagrams, context maps, and recommendation diagrams.
Structured clarification and requirements gathering through focused dialogue or with dry code. Use when a task is ambiguous, underspecified, or requires user input before any action can be taken. Do not plan or implement anything—only ask questions to collect the information needed.
Diagnose and fix bugs with root-cause analysis and verification. Use when you have a concrete issue report, failing behavior, runtime error, or test regression that should be resolved safely. Stop and escalate to brainstorm when scope or risk grows.
| name | docs |
| description | Create or refresh project documentation in `docs/`. Use when a project needs docs initialized or existing docs synced to the current codebase. |
| license | MIT |
Create and maintain project documentation in docs/ with a consistent, lightweight structure.
Maintain these outputs:
docs/SUMMARY.md — documentation entry point with an Agent Context Guide (always regenerated)docs/architecture/ — system design, infrastructure, component interactions, data flows, feature flows. Focus on how the system works, not file/code structure.docs/codebase/ — file organization, directory structure, entry points, key modules and their responsibilities. Focus on where things live in the code.docs/code-standard/ — coding conventions, naming rules, style guides, environment setup, custom rules and patterns the team follows. Focus on how to write code that fits in with the existing codebase, best practices, and team conventions, very important for maintaining consistency.docs/project-pdr/ — product goals, use cases, business rules, constraints, and decision rationale. Nice to have many use case/requirements filesAlso keep README.md aligned with current docs links and project summary.
Scan the project to understand what needs documenting:
docs/SUMMARY.md and topic folders)README.md and key config files (package.json, tsconfig.json, Cargo.toml, etc.)git log --oneline -20 for recent changes when updating existing docsFocus on facts: features, architecture, stack, directory structure, and workflows. Do not invent requirements or assume business logic that is not evident from the code.
docs/ state.docs/ does not exist or is clearly incomplete, perform initialization behavior.docs/ already exists with the standard structure, perform update behavior.docs/ and 4 topic folders: architecture/, codebase/, code-standard/, project-pdr/components.md, conventions.md). Do NOT use generic names (overview.md, index.md, main.md). Split into multiple files when content covers 2+ clearly distinct sub-topics. Minimum 1 file per folder.docs/SUMMARY.md using the format specified in Content Requirements, including the Agent Context GuideREADME.md with link to docs/SUMMARY.mdPopulate each file with concrete, project-specific content. Avoid placeholders and generic templates.
git log --oneline and source file scanning to identify new/modified/removed components.docs/SUMMARY.md to match current files — only list files that actually exist on disk and keep the Agent Context Guide.README.md if documentation links changed.Important: The goal is an incremental, surgical update — not a full rewrite.
Ensure README.md includes:
docs/SUMMARY.mdBefore finishing, verify:
docs/SUMMARY.md exists and lists every detail file that actually exists on disk (no phantom entries)overview.md, index.md, main.md) in topic foldersREADME.md links point to docs/SUMMARY.mdSUMMARY.md is concise, contains the Agent Context Guide, and contains file tables for all sectionsSUMMARY.md formatContains project overview, a concise Agent Context Guide, and file tables for each documentation section.
Strictly follow the template in references/summary-template.md.
The Agent Context Guide must stay limited to project context loading:
docs/SUMMARY.md first when it existsCode Standard docs for implementation conventionsDo not use the guide to duplicate general engineering principles, git rules, or detailed question-tool procedures.
components.md, conventions.md, product-goals.mdoverview.md, index.md, main.md, general.mddocs/: Preserve any user-created files outside the 4 standard topic folders (e.g., docs/API.md, docs/deployment.md). List them under "Other" in SUMMARY.md. Do not move or rename them.architecture/components.md and note each package's purpose. Each package does not need its own full docs set — keep it proportional.