一键导入
spec-plan
Pre-planning and research for feature specifications. Use when Codex should run the converted spec-plan workflow. Inputs: feature_description.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Pre-planning and research for feature specifications. Use when Codex should run the converted spec-plan workflow. Inputs: feature_description.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Project management database for tracking specs, jobs, tasks, and execution. Use when Codex should run the converted pm-db workflow. Inputs: command.
Mode 2 - Structured execution with quality gates (Part 1-5) with pm-db tracking. Use when Codex should run the converted start-phase-execute workflow. Inputs: task_list_file, extra_instructions, spec_id.
Converted Claude skill for architecture-quality-assess. Use when Codex should run the converted architecture-quality-assess workflow.
Complete feature workflow - from planning to execution with PM-DB tracking. Use when Codex should run the converted feature-new workflow. Inputs: feature_description.
Use this agent when you need to design API contracts BEFORE implementation. This agent enforces contract-first API design, creates OpenAPI specifications, and defines three-tier architecture for Next.js backend APIs. Invoke in these scenarios:. Use when Codex needs this specialist perspective or review style.
Deep analysis of codebase for code duplication. Detects exact, structural, and pattern-level duplicates, generates comprehensive reports with refactoring suggestions and metrics.. Use when Codex should run the converted code-duplication workflow.
| name | spec-plan |
| description | Pre-planning and research for feature specifications. Use when Codex should run the converted spec-plan workflow. Inputs: feature_description. |
Converted Claude skill workflow for Codex/OpenAI use.
Converted from skills/spec-plan/SKILL.md.
Supporting files copied from the Claude source:
references/README.mdreferences/TEAM-ENHANCEMENT.mdscriptsThe content below was adapted from the Claude source. Rewrite tool and runtime assumptions as needed when they refer to Claude-only features.
Research, gather context, and launch spec-writer skill with comprehensive documentation.
# With feature description
/spec plan build a user authentication feature
# Without (interactive mode)
/spec plan
This skill handles the pre-planning stage of feature specification:
spec-writer skill with full contextIf user provided feature description as argument:
If no argument provided:
Ask the user clarifying questions (using feature description as context if provided):
Technology Stack:
Feature Context:
Constraints:
Based on the tech stack, gather current best practices:
# Initialize Next.js docs
mcp__next-devtools__init
# Search for relevant patterns
mcp__next-devtools__nextjs_docs
path: [from llms-index]
anchor: [specific section]
# Focus areas:
- Server Actions (if server-side logic)
- Route Handlers (if API endpoints)
- Data Fetching patterns (if data-heavy)
- Caching strategies (if performance-critical)
# Web search for latest docs
WebSearch query: "[framework] [version] [feature] documentation 2026"
# Fetch specific pages
WebFetch url: [official docs URL]
prompt: "Extract best practices for [feature]"
Avoid duplication by checking existing work:
# Read system architecture
Read memory-bank/systemPatterns.md
# Search for similar features
mcp__memory__search_nodes
query: "[feature keywords]"
# Check active work
Read memory-bank/activeContext.md
Document:
Now launch the spec-writer skill with comprehensive context:
delegation workflow with skill="spec-writer"
Agent Prompt Template:
I need comprehensive feature specifications for: [FEATURE NAME from arg or clarification]
**Initial Request:**
[Include the feature_description argument if provided, e.g., "build a user authentication feature"]
**Context from Documentation Research:**
[Summarize MCP/WebSearch findings]
- Latest patterns: [list]
- Recommended APIs: [list]
- Framework version considerations: [notes]
- Best practices discovered: [list]
**Current System Architecture:**
[Summarize Memory Bank findings]
- Existing components to reuse: [list]
- Architecture patterns to follow: [list]
- Integration points: [list]
- Current tech stack: [list]
**Feature Requirements:**
- Larger Feature Context: [epic/initiative]
- Feature Description: [from arg or detailed from conversation]
- Acceptance Criteria:
- [criterion 1]
- [criterion 2]
- [criterion 3]
- Technology Stack: [frameworks, libraries, tools]
- Performance Requirements: [if any]
- Security Requirements: [if any]
**Documentation Requirements:**
Generate in folder: /job-queue/feature-[name]/docs/
Required files:
1. FRD.md - Feature Requirement Document
- Business objectives
- User problems solved
- Success metrics
2. FRS.md - Functional Requirement Specification
- Detailed functional requirements
- User workflows
- Acceptance criteria per requirement
3. GS.md - Gherkin Specification
- Feature declaration
- Background (if applicable)
- Scenarios with Given/When/Then
- Example tables
4. TR.md - Technical Requirements
- API contracts (endpoints, methods, schemas)
- Data models (entities, fields, types)
- Dependencies (libraries, services)
- Error handling strategy
- Security considerations
5. task-list.md - Actionable Task Breakdown
- Numbered phases
- Specific tasks (not "implement X")
- Task dependencies noted
- Logical sequencing
**Special Instructions:**
- Reference latest documentation patterns: [list key findings]
- Highlight reusable components: [from Memory Bank]
- Follow framework version: [X.Y.Z]
- Note security requirements: [if applicable]
- Include performance considerations: [if applicable]
- Ensure .gitignore contains /job-queue
After this skill completes:
Once spec-writer skill completes, use /spec review to:
Estimated time: 5-10 minutes for research and agent launch Token usage: ~800 tokens (focused on research workflow)