بنقرة واحدة
docs-init
Generate technical documentation for the project or a specific component
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Generate technical documentation for the project or a specific component
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Generate a comprehensive install.md documentation file for an image dataset. Use when asked to document a dataset, create a dataset readme, or prepare dataset documentation.
Close out an implemented spec by reconciling the project docs with the shipped code (updating them via opus subagents if stale), then removing the resolved spec directory and its INDEX entry so code + up-to-date docs remain the source of truth.
Implement tasks from an approved spec, one at a time, with independent implementer and reviewer subagents per task. The main session acts as orchestrator only.
Bootstrap a new spec under `specs/<feature-name>/` by walking the user through requirements, design, (optional) research, and tasks in EARS/SDD format
Implement items from a TODO file, one at a time, with independent implementer and reviewer subagents per item. The main session acts as orchestrator only.
Scan the project and create initial TODO files organized by area
| name | docs-init |
| description | Generate technical documentation for the project or a specific component |
| argument-hint | [component or path] |
Generate comprehensive technical documentation for this project. The user may provide an optional scope argument: $ARGUMENTS
Determine scope:
api, src/auth, database), document only that component.Documentation lives in docs/ organized by component: docs/<component>.md (e.g. docs/api.md, docs/database.md, docs/auth.md). A top-level docs/README.md serves as the documentation index.
Follow these steps:
Explore the entire codebase thoroughly — read source files, AGENTS.md, the project README, configuration files, and all directories. Understand the project's purpose, architecture, and how components relate to each other.
Identify documentable components — group by functional area based on the project's actual structure. Look at the directory layout, module boundaries, and logical separations. Each component should map to a meaningful architectural unit (e.g. a service, module, library, subsystem, or major feature area).
For each component, read ALL relevant files and produce a documentation file that includes:
Create docs/README.md — a documentation index that:
Writing style:
Do NOT create empty docs — only create a docs/<component>.md if there is meaningful content to document.
Format with Prettier — after creating each markdown file, run npx prettier --write --print-width 120 <file> to ensure consistent formatting.
Print a summary at the end — list all documentation files created with a brief description of what each covers and the total scope documented.