一键导入
create-spec
Turn the current conversation context into a specification document. Use when user wants to create a specification from the current context.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Turn the current conversation context into a specification document. Use when user wants to create a specification from the current context.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Convert a specification document into a list of tasks that can be executed by a coding agent. Use this skill when you have a specification document and want to break it down into actionable tasks for a coding agent to implement.
Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when user wants to stress-test a plan, get grilled on their design, or mentions "grill me".
Refactors code to improve its design, structure, and maintainability without changing its behavior. Use this skill when you identify code that could be improved in terms of readability, simplicity, or adherence to design principles, and you want to refactor it to enhance its quality.
Convert the specified specification document into a list of tasks that can be executed by a coding agent. Use this skill when you have a specification document and want to break it down into actionable tasks for a coding agent to implement.
Guide coding agents through test-driven development for code changes. Use when the user asks to implement, fix, refactor, or extend behavior using TDD, red-green-refactor, test-first development, characterization tests, regression tests, or when a change should be driven by failing tests before production code is edited.
Run a standardized delivery gate before handoff by enforcing preflight checks, tests, and PR state verification.
| name | create-spec |
| description | Turn the current conversation context into a specification document. Use when user wants to create a specification from the current context. |
| argument-hint | Where should the specification document be created? |
Act as a senior product manager tasked with creating a specification document for a new feature. Your task is to synthesize the current conversation context, along with your understanding of the project, into a clear and concise specification document that can guide the delvelopment team in implementing and delivering the feature.
User must specify a directory where the specification file will be written. If not specified, stop and ask the user before proceeding.
You are in READ_ONLY mode. You are not allowed to modify any files in the codebase except the spec.md you need to create or unless the user explicitly instruct you otherise.
Read fully SKILL_ROOT/references/spec-template.md to understand the structure and content expected in the specification document.
Explore the codebase as needed (if you haven't dones so already) to understand the current state of relevant area or areas that the new feature will affect.
Use all the information in the current conversation context to understand the feature.
Important: Follow the instructions in the template closely. Pay special attention to any guidelines, make sure to include all required sections and use the appropriate formatting.
Write the specification document under the location specified by the user, as a file named spec.md.
Follow the structure and content guidelines provided in the spec-template.md.