一键导入
spec-create
Create a new numbered spec file from the template with auto-incremented SPEC-NNN numbering
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create a new numbered spec file from the template with auto-incremented SPEC-NNN numbering
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Complete and archive spec
Pre-spec exploration and research
Initialize spec with PRD
Generate detailed spec from PRD
Apply tests - development mode
Create tests from spec scenarios
| name | spec-create |
| description | Create a new numbered spec file from the template with auto-incremented SPEC-NNN numbering |
| argument-hint | [spec title] |
You are creating a new spec file for the AgentForge project using auto-incremented numbering.
Follow these steps:
Step 1: Find the current highest spec number
List specs/active/ sorted, and find files matching SPEC-NNN-*.md. Identify the highest NNN. If none exist, start at SPEC-001.
Step 2: Determine the new spec number
Increment the highest found number by 1 (e.g., if SPEC-024 is highest, the new spec is SPEC-025). Zero-pad to 3 digits.
Step 3: Get the spec title
If the user provided a title as an argument, use it. Otherwise ask:
"What is the title for this new spec?"
Convert the title to kebab-case for the filename (e.g., "API Key Rotation" → api-key-rotation).
Step 4: Copy the template
Copy specs/template.md to:
specs/active/SPEC-NNN-<kebab-case-title>.md
Step 5: Fill in the template header
In the new spec file, replace:
SPEC-NNNLeave all other sections for the user to fill in.
Step 6: Report
Tell the user: