一键导入
subsystem-md
Initialize or update subsystem documentation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Initialize or update subsystem documentation.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Stdlib-grounded Go engineering standards for implementing, reviewing, refactoring, or testing Go code. Use when Codex works on Go packages, CLIs, libraries, concurrency primitives, parsers, formatters, config loading, errors, documentation, examples, table-driven tests, fuzz tests, compatibility-sensitive APIs, or repository standards for high-quality Go code.
Restate the assistant's immediately preceding message in plain, concise language without jargon. Use only when the user explicitly invokes this skill to ask for a clearer version of the last response.
Implement code changes from reconciled project PRDs, ADRs, traceability matrices, executable acceptance scenarios, or a project-specs-reconciliation implementation handoff. Use after project-specs-reconciliation has created or updated the governing specs, or when the user explicitly says the specs are already reconciled. This skill owns the spec-to-test-to-code workflow and composes with language-specific TDD, BDD, and red-green-refactor skills without replacing their framework-specific guidance.
Create or update conventional project PRD and ADR documentation before implementation. Use when Codex needs to reconcile requested behavior, requirements, acceptance criteria, architecture decisions, technical tradeoffs, or implementation constraints into Product Requirements Documents under docs/PRD or a user-provided scoped PRD directory and Architectural Decision Reports under docs/ADR or a user-provided scoped ADR directory. This skill is responsible for project specification documentation and hands off code execution to project-specs-implementation.
Turn a rough draft, vague ambition, or messy task brief into a powerful Codex /goal objective for long-running autonomous work. Use when the user asks to write, improve, format, sharpen, stress-test, or activate a Codex goal, thread goal, durable goal, or /goal prompt.
Manages to-do items across multiple Google accounts using the Google Tasks API. Use when the user needs to create, update, complete, or organize tasks in Google Tasks, manage task lists, or view tasks across multiple Google accounts. Supports personal Gmail, Google Workspace, and organization-provisioned accounts with secure OAuth authentication.
| name | subsystem-md |
| description | Initialize or update subsystem documentation. |
Use the subsystem name supplied by the user as <subsystem-name>.
The subsystem documentation file is located at docs/subsystems/<subsystem-name>/README.md.
Check if this file exists:
When drafting or updating this documentation, you
Section Description Syntax: **<section-identifier>: <section-level>** { - section-title} - <section-description> { - section-example} {, section-example}...
Section Description Examples:
**Subsystem Title: H1** - The name of the subsystem in Title Case.**Subsystem Tagline: N/A** - A brief, catchy tagline that summarizes the subsystem's purpose or mission.**Documented Version: N/A** - The current documented version of the subsystem. - **Documented Version**: v0.1.0, **Documented Version**: N/A**Design Principles: H2** - Design Principles - An explanation of the core design principles and architectural patterns.The structure of the subsystem README.md file MUST include ONLY the following sections, in order:
**Documented Version**: v0.13.0, **Documented Version**: N/A**Last Updated**: 2024-06-15Immerse yourself in this codebase, gaining a deep understanding of its goals, its technical features and mechanisms, specific conventions and patterns it follows, and the various subsystems that comprise it. Once you have a comprehensive understanding, proceed to create a README.md file at docs/subsystems/<subsystem-name>/README.md. This file will serve as high-level documentation for the requested subsystem.
docs/subsystems/<subsystem-name>/ if it does not already exist.Read the subsystem documentation file and immerse yourself in this codebase, gaining a deep understanding of the requested subsystem it documents. Evaluate the documentation against the current state of the codebase.
Evaluate the documentation for:
Be comprehensive in your evaluation. Use a subagent for each major section (Overview, Design Principles, Key Components, Integration Points, Glossary) to focus on that section specifically and validate its content against the codebase.
If the existing documentation does not conform to the required structure, restructure it accordingly.
After evaluating each section, compile a summary of changes, additions, and deletions needed to bring the documentation up to date with the current codebase. If changes are made:
After completing the above steps for the requested subsystem documentation, proceed to initialize or reconcile the Subsystem Documentation Index.
The index file is located at docs/subsystems/README.md.
Check if this file exists:
When drafting or updating the index documentation, you
docs/subsystems/*/.Section Description Syntax: **<section-identifier>: <section-level>** { - section-title} - <section-description> { - section-example} {, section-example}...
The structure of the index README.md file MUST include ONLY the following sections, in order:
**Last Updated:** 2024-06-15#### [Subsystem Name](./subsystem-name/)**Status:** ✅ Documented**See:** [subsystem-name/README.md](./subsystem-name/README.md)**Recent Updates:**\n- Added daemon subsystem documentation (2024-06-15)Scan the docs/subsystems/ directory for all existing subsystem documentation subdirectories. For each subdirectory containing a README.md, extract key information to populate the index.
Create a docs/subsystems/README.md file with:
docs/subsystems/ directory if it does not already exist.docs/subsystems/*/README.md files.Read the existing index file and evaluate it against the current state of docs/subsystems/*/ subdirectories.
Evaluate the index for:
docs/subsystems/*/?After evaluation: