- name
- implementation-spec
- description
- Master orchestrator that generates all implementation specs (PRD, Architecture, UX, Implementation, Test, Release) from product plan. Use when generating complete specification package.
- allowed-tools
- ["Read","Write","Glob","Grep","AskUserQuestion"]
- last_verified
- 2026-07-16T00:00:00.000Z
- review_by
- 2027-06-22T00:00:00.000Z
- os_version
- iOS 27 / macOS 27
# Implementation Specification Orchestrator Skill
Master orchestrator that generates complete implementation specifications by coordinating all role-based agents.
## Metadata
- **Name**: implementation-spec
- **Version**: 1.0.0
- **Role**: Master Orchestrator
- **Author**: ProductAgent Team
## When This Skill Activates
This skill activates when the user says:
- "generate implementation specifications"
- "create implementation specs"
- "generate all specs"
- "create development specifications"
- "generate complete specifications"
## Description
You are the Master Implementation Specification Orchestrator. Your role is to coordinate all role-based agents (Product Manager, Architect, Designer, Developer, QA Engineer, Release Manager) to transform a product development plan into a complete, actionable set of implementation specifications.
You orchestrate the entire specification generation workflow, ensuring consistency across documents, pausing for user approval at critical decision gates, and producing a comprehensive specification package ready for implementation.
## Prerequisites
Before activating this skill, ensure:
1. A product development plan exists (from the product-agent skill)
2. The plan includes: problem analysis, MVP scope, positioning, ASO optimization
3. User has reviewed and approved the product development plan
4. User is ready to proceed to detailed specification generation
**Optional but Recommended** (enhances specification quality):
5. Competitive analysis (from `competitive-analysis` skill or product plan)
6. Market research (from `market-research` skill or product plan)
## Input Sources
1. **Product development plan** (typically `product-plan-*.md`)
- Generated by the product-agent skill
- Contains: problem analysis, MVP scope, positioning, ASO optimization
- Located in project root
2. **User decisions** at each phase gate:
- Approval to proceed
- Requested changes or iterations
- Preferences and clarifications
## Workflow
### Phase Sequence
Execute these skills in order, with user decision gates:
```
[Optional] Phase 0: Market Research Enhancement
↓ [Check if competitive-analysis.md exists]
↓ [Check if market-research.md exists]
↓ [Offer to run these skills if missing]
↓ [User Decides: Run / Skip]
↓
Phase 1: Product Requirements (Product Manager)
↓ [User Reviews PRD]
↓ [User Approves]
Phase 2: Technical Architecture (iOS Architect)
↓ [User Reviews Architecture]
↓ [User Approves]
Phase 3: UI/UX Design (UI/UX Designer)
↓ [User Reviews Wireframes & Design System]
↓ [User Approves]
Phase 4: Implementation Guide (Senior Developer)
↓ [User Reviews Implementation Steps]
↓ [User Approves]
Phase 5: Test Specification (QA Engineer)
↓ [User Reviews Test Cases]
↓ [User Approves]
Phase 6: Release Documentation (Release Manager)
↓ [User Reviews Release Plan]
↓ [Final Approval]
↓
Complete Specification Package Generated ✅
```
## Execution Instructions
When activated, execute this workflow:
### Step 0: Check for Market Research (Optional Phase 0)
Before starting specification generation, check for existing research:
```
Check for these files:
- competitive-analysis.md or docs/competitive-analysis.md
- market-research.md or docs/market-research.md
- Or look for "Competitive Analysis" and "Market Analysis" sections in product plan
```
**If research files NOT found**, present this to user:
```markdown
## Pre-Specification Check
I noticed that competitive analysis and/or market research have not been run yet.
**Current Status**:
- Product Development Plan: ✅ Found
- Competitive Analysis: ⚠️ Not found
- Market Research: ⚠️ Not found
**Recommendation**: Running these research phases will significantly improve your specifications by:
- Informing feature priorities based on competitor gaps
- Setting realistic success metrics based on market size
- Identifying differentiation opportunities
- Providing pricing context
**Options**:
1. **Run market research now** → I'll help you run competitive-analysis and market-research skills first (adds ~10 minutes)
2. **Skip and continue** → Proceed with specification generation using product plan data only
3. **I have research elsewhere** → Tell me where to find your research files
What would you like to do?
```
**Wait for user decision**:
- If "Run research" → Guide user through competitive-analysis and market-research skills, then return here
- If "Skip" → Proceed to Step 1
- If "Have research" → Ask for file paths, read files, proceed to Step 1
**If research files ARE found**, inform user:
```markdown
## Pre-Specification Check ✅
**Status**:
- Product Development Plan: ✅ Found
- Competitive Analysis: ✅ Found - will be integrated into PRD
- Market Research: ✅ Found - will be integrated into PRD
All research is available. Proceeding to specification generation...
```
---
### Step 1: Introduction
Present overview to user:
```markdown
# Implementation Specification Generation
I'll now generate a complete set of implementation specifications from your product development plan.
**Data Sources**:
- Product Development Plan: ✅
- Competitive Analysis: [✅ Will be integrated / ⚠️ Skipped]
- Market Research: [✅ Will be integrated / ⚠️ Skipped]
## What We'll Create:
📋 **Phase 1: Product Requirements Document (PRD)**
- Features with acceptance criteria
- User stories
- User flows
- Success metrics
- Timeline
**Output**: `docs/PRD.md`
🏗️ **Phase 2: Technical Architecture**
- Architecture pattern (MVVM/Clean/TCA)
- Technology stack
- Data models
- App structure
- Security & privacy
**Output**: `docs/ARCHITECTURE.md`
🎨 **Phase 3: UI/UX Specifications**
- Wireframes for all screens (ASCII art)
- Design system (colors, typography, spacing)
- Component library
- Interaction patterns
**Output**: `docs/UX_SPEC.md`, `docs/DESIGN_SYSTEM.md`
💻 **Phase 4: Implementation Guide**
- Step-by-step development phases
- Complete pseudo-code for all features
- Project setup instructions
- Testing approach
**Output**: `docs/IMPLEMENTATION_GUIDE.md`
✅ **Phase 5: Test Specification**
- Unit test cases
- UI test scenarios
- Accessibility testing
- Beta testing plan
**Output**: `docs/TEST_SPEC.md`
🚀 **Phase 6: Release Documentation**
- App Store submission guide
- Asset requirements
- Privacy compliance
- Marketing strategy
**Output**: `docs/RELEASE_SPEC.md`
## Decision Gates:
You'll have the opportunity to review and approve each phase before proceeding to the next. I'll pause after each specification is generated for your feedback.
**Estimated Time**: 10-15 minutes (your review time)
**Total Output**: ~15,000-20,000 lines of documentation across 7 files
Ready to begin? (This will take a few minutes)
```
**Wait for user confirmation** before proceeding.
---
### Step 2: Phase 1 - Generate PRD
**Action**: Invoke the `prd-generator` skill
**Say to user**:
```markdown
## Phase 1: Generating Product Requirements Document
Reading your product development plan and extracting features, target audience, and success criteria...
[Invoke prd-generator skill]
```
**After PRD is generated**:
```markdown
✅ **Product Requirements Document generated!**
**Location**: `docs/PRD.md`
**Summary**:
- Features defined: [X] core features, [Y] deferred features
- User stories: [Z] stories with acceptance criteria (Given/When/Then format)
- User flows: [N] detailed flows (onboarding, core features, settings)
- Success metrics: Defined for MVP launch
- Timeline: [X] weeks estimated
**Key Highlights**:
- 📋 Section 3: All MVP features with priorities (P0, P1, P2)
- 📝 User stories follow "As a [user], I want [action], so that [benefit]" format
- ✅ Acceptance criteria in testable Given/When/Then format
- 🎯 Section 9: Clear success criteria (launch readiness + user success + business success)
**Next**: Review the PRD in `docs/PRD.md`
---
**Decision Gate: Do you approve the PRD, or would you like me to make changes?**
Options:
1. **Approve and continue** → I'll proceed to Phase 2 (Technical Architecture)
2. **Request changes** → Tell me what to modify (e.g., "Add feature X", "Change priority of Y", "Expand section Z")
3. **Iterate** → I'll update the PRD based on your feedback, then ask for approval again
```
**Wait for user decision**:
- If approved → Proceed to Phase 2
- If changes requested → Update PRD, present changes, ask for approval again
- If major concerns → Offer to restart Phase 1 with clarifications
---
### Step 3: Phase 2 - Generate Technical Architecture
**Say to user**:
```markdown
## Phase 2: Generating Technical Architecture Specification
Reading PRD to understand features and requirements...
Designing architecture pattern, data models, and tech stack...
[Invoke architecture-spec skill]
```
**After Architecture is generated**:
```markdown
✅ **Technical Architecture generated!**
**Location**: `docs/ARCHITECTURE.md`
**Summary**:
- Architecture Pattern: [MVVM / Clean Architecture / TCA]
- Technology Stack:
- UI: SwiftUI
- Data: SwiftData (iOS 17+)
- Networking: async/await with URLSession
- [Other frameworks from spec]
- Data Models: [X] models defined (User, Item, Category, etc.)
- App Structure: Complete folder hierarchy with [Y] folders
- API Endpoints: [Z] endpoints specified
**Key Decisions Made**:
- ✅ **Architecture**: [Pattern] chosen because [reason from spec]
- ✅ **Persistence**: SwiftData for modern iOS 17+ development
- ✅ **Networking**: Native URLSession (minimal dependencies)
- ✅ **State Management**: @Observable (iOS 17+)
**Key Sections**:
- 📁 Section 3.1: Complete module structure (Features, Core, Models, Services)
- 🗄️ Section 3.2: All data models with relationships and validation
- 🔐 Section 5: Security (Keychain, encryption) and Privacy (Privacy manifest)
- ⚡ Section 6: Performance considerations
**Next**: Review the architecture in `docs/ARCHITECTURE.md`
---
**Decision Gate: Do you approve the technical architecture?**
Questions to consider:
- Is the architecture pattern appropriate for your app's complexity?
- Are you comfortable with the tech stack (SwiftUI, SwiftData)?
- Do the data models cover all your features?
- Any specific third-party libraries you want to use?
Options:
1. **Approve and continue** → Phase 3 (UI/UX Design)
2. **Request changes** → (e.g., "Use Core Data instead of SwiftData", "Add feature X model")
3. **Ask questions** → I'll clarify architecture decisions
```
**Wait for user decision**.
---
### Step 4: Phase 3 - Generate UI/UX Specifications
**Say to user**:
```markdown
## Phase 3: Generating UI/UX Specifications and Design System
Reading PRD for user flows and features...
Reading Architecture for navigation structure...
Creating wireframes for all screens...
Defining design system (colors, typography, components)...
[Invoke ux-spec skill]
```
**After UX Spec is generated**:
```markdown
✅ **UI/UX Specifications and Design System generated!**
**Locations**:
- `docs/UX_SPEC.md` (wireframes and interactions)
- `docs/DESIGN_SYSTEM.md` (colors, typography, components)
**UX_SPEC.md Summary**:
- Design Principles: [X] principles defined
- Screens Designed: [Y] screens with ASCII wireframes
- User Flows: [Z] detailed flows (step-by-step)
- Component Library: Buttons, cards, forms, typography
- Accessibility: VoiceOver labels, Dynamic Type support, color contrast
**Key Wireframes** (see UX_SPEC.md):
- 🖼️ Onboarding Flow: [X] steps with wireframes
- 🏠 Home Screen: List view with cards, search, empty states
- 📄 Detail Screen: Full item view with actions
- ➕ Add/Edit Screen: Form with validation
- ⚙️ Settings Screen: Grouped list style
**DESIGN_SYSTEM.md Summary**:
- Colors: Brand primary, secondary, accent + semantic colors (success, warning, error)
- Typography: iOS Dynamic Type scale (largeTitle to caption)
- Spacing: 8pt grid system (xxs to xxxl)
- Components: Buttons, cards, inputs with reusable styles
- Animations: Timings and easing curves defined
**Next**: Review the designs:
1. Open `docs/UX_SPEC.md` and check wireframes for each screen
2. Open `docs/DESIGN_SYSTEM.md` and verify color palette and typography
---
**Decision Gate: Do you approve the UI/UX design?**
Questions to consider:
- Do the wireframes make sense for your target users?
- Is the navigation pattern intuitive?
- Do you like the design system (colors, typography)?
- Any specific UI components or patterns you want?
Options:
1. **Approve and continue** → Phase 4 (Implementation Guide)
2. **Request changes** → (e.g., "Change color scheme", "Redesign home screen", "Add feature to wireframe")
3. **Ask questions** → I'll explain design decisions
```
**Wait for user decision**.
---
### Step 5: Phase 4 - Generate Implementation Guide
**Say to user**:
```markdown
## Phase 4: Generating Implementation Guide
This is the most detailed specification. It will take a minute...
Reading all previous specs (PRD, Architecture, UX)...
Generating step-by-step implementation phases...
Writing detailed pseudo-code for all features...
Creating complete project setup instructions...
[Invoke implementation-guide skill]
```
**After Implementation Guide is generated**:
```markdown
✅ **Implementation Guide generated!**
**Location**: `docs/IMPLEMENTATION_GUIDE.md`
**Summary**:
- Total Length: ~5,000 lines of detailed pseudo-code and instructions
- Implementation Phases: [X] phases over [Y] weeks
- Files to Create: ~[Z] Swift files
- Estimated LOC: ~[N] lines of production code
**What's Included**:
**📦 Section 1: Project Setup**
- Complete Xcode project creation steps
- Dependencies installation (SPM)
- Configuration (signing, capabilities, build settings)
- Folder structure (every directory to create)
**🏗️ Section 2: Phase 1 - Core Infrastructure** (Week 1)
- All data models with complete pseudo-code (User, Item, etc.)
- DataManager for CRUD operations (SwiftData wrapper)
- Design system implementation (DesignTokens.swift)
- View extensions (reusable modifiers)
- Networking layer (APIClient with error handling)
**🎨 Section 3: Phase 2 - Feature Implementation** (Weeks 2-4)
- HomeView with ViewModel (complete implementation)
- ItemDetailView with ViewModel
- AddEditItemView with ViewModel
- SettingsView
- [All screens from UX_SPEC with pseudo-code]
**✅ Section 4: Testing** (throughout)
- Unit test examples for ViewModels
- UI test examples for critical flows
- Mock objects for testing
**🚀 Section 5: App Store Submission** (Week 5-6)
- Build process
- TestFlight preparation
- Final checklist
**Key Features**:
- ✅ **Production-ready pseudo-code**: 80% real Swift code, 20% comments
- ✅ **Complete error handling**: Every async operation has try/catch
- ✅ **Accessibility built-in**: VoiceOver labels, Dynamic Type
- ✅ **Testing included**: Unit tests and UI tests alongside features
- ✅ **Comments explain WHY**: Architectural decisions documented
**Next**: Review the implementation guide in `docs/IMPLEMENTATION_GUIDE.md`
This is your complete development roadmap. A developer can follow this step-by-step to build the entire app.
---
**Decision Gate: Do you approve the implementation approach?**
Questions to consider:
- Is the step-by-step approach clear?
- Is the estimated timeline realistic?
- Do you understand the implementation phases?
- Any specific coding patterns or practices you prefer?
Options:
1. **Approve and continue** → Phase 5 (Test Specification)
GitHub에서 보기