spec-manager
Scannednpx machina-cli add skill datamaker-kr/synapse-claude-marketplace/spec-manager --openclawSpec Manager Agent
Agent Type
This is an orchestrator agent that coordinates the full specification lifecycle for task planning. Unlike worker skills that perform specific tasks, this agent manages the workflow across requirements, specs, and plans.
Coordinated Skills
- init-specs: Scaffold spec documents for a new task
- specify-with-requirements: Analyze requirements and generate technical specs
- plan-with-specs: Generate implementation plans from finalized specs
- update-requirements: Update requirements and cascade changes to specs and plans
Purpose
This agent manages the complete specification lifecycle:
init-specs → (user writes requirements) → specify-with-requirements → (user reviews/clarifies) → plan-with-specs → (implementation) → update-requirements (as needed)
Architecture
Orchestrator Pattern
spec-manager (Orchestrator)
├── Phase 1: Initialize
│ └── Invokes init-specs → Scaffold markdown files
├── Phase 2: Specify
│ └── Invokes specify-with-requirements → Generate technical specs
├── Phase 3: Plan
│ └── Invokes plan-with-specs → Generate implementation plan
└── Phase 4: Update (iterative)
└── Invokes update-requirements → Cascade changes through all docs
File Structure
All spec documents live in specs/ directory:
specs/
└── {task-slug}/
├── requirements.md # User-authored requirements
├── specs.md # Generated technical specifications
└── plans.md # Generated implementation plan
Workflow
Full Lifecycle
- User runs
/init-specs <task title>to scaffold documents - User writes requirements in
specs/{slug}/requirements.md - User runs
/specify-with-requirements <slug>to generate specs - Agent analyzes requirements, asks clarifying questions if needed
- User reviews generated specs, iterates on clarifications
- User runs
/plan-with-specs <slug>to generate implementation plan - User reviews plan and begins implementation
- During implementation, specs and plans are updated as needed
- If requirements change, user runs
/update-requirements <change description>to cascade updates
Skill Invocation
Each skill is invoked independently by the user via slash commands. The spec-manager agent provides the shared context and conventions that all skills follow.
Conventions
File Naming
- Task titles are slugified: lowercase, hyphens for spaces, no special characters
- Example: "User Authentication Flow" →
user-authentication-flow
Document Cross-References
- Requirements link to nothing (they are the source of truth)
- Specs link back to requirements via
> Requirements: [...] - Plans link back to both requirements and specs
Traceability
- Functional Requirements:
FR-1,FR-2, ... - Technical Specifications:
TS-1(fromFR-1),TS-2(fromFR-2), ... - Implementation Steps:
Step 1referencesTS-X
Status Flow
Requirements: Draft → Final
Specs: Pending → Draft → Final
Plans: Pending → Ready → In Progress → Completed
Guidelines
Do:
- Always read existing documents before making changes
- Maintain traceability between requirements → specs → plans
- Preserve completed work when cascading changes
- Log all clarifications and changes for audit trail
- Examine the codebase for context when generating specs and plans
Don't:
- Generate specs from empty/template requirements
- Skip the clarification step when ambiguities exist
- Silently drop requirements, specs, or plan steps
- Modify completed implementation steps without explicit warning
- Proceed to the next phase without user review
Source
git clone https://github.com/datamaker-kr/synapse-claude-marketplace/blob/main/plugins/sdd-helper/agents/spec-manager/SKILL.mdView on GitHub Overview
Spec-manager is an orchestrator that coordinates the full specification lifecycle across requirements, specs, and plans. It initiates document scaffolding, derives technical specs from user requirements, and generates implementation plans, cascading updates when requirements change. All tasks live under specs/ with clear traceability from requirements to specs to plans.
How This Skill Works
As an orchestrator, spec-manager sequences four coordinated skills in order: init-specs, specify-with-requirements, plan-with-specs, and update-requirements. It maintains a specs directory structure and enforces cross-links (Requirements -> Specs; Plans -> Requirements and Specs) and traceability using FR/TS/Step conventions.
When to Use It
- Starting a new task: scaffold documents with init-specs and define initial requirements.
- After gathering user requirements to generate technical specifications.
- When you need an implementation plan derived from finalized specs.
- When requirements change and you need cascading updates across docs.
- For audits and traceability checks of requirements, specs, and plans.
Quick Start
- Step 1: Run /init-specs <task title> to scaffold the specs directory and files.
- Step 2: Write requirements in specs/{slug}/requirements.md and run /specify-with-requirements <slug> to generate specs.
- Step 3: Run /plan-with-specs <slug> to create an implementation plan, review, and use /update-requirements <change description> as needed.
Best Practices
- Read existing documents before making changes.
- Maintain traceability from requirements through specs to plans.
- Preserve completed work when cascading changes to related docs.
- Log clarifications and changes for a verifiable audit trail.
- Examine the codebase context when generating specs and plans.
Example Use Cases
- Kick off a new feature: initialize specs for 'user-authentication-flow', capture requirements, generate specs, and produce a plan before implementation.
- API enhancement: update requirements for a user profile API and cascade changes to specs and the implementation plan.
- Security review: incorporate clarifications into requirements, regenerate specs, and adjust the plan accordingly.
- Cross-team initiative: coordinate disparate requirements from multiple teams, ensuring traceability across all docs.
- Legacy task modernization: update requirements to reflect new coding standards and cascade updates to specs and plans.