.claude/skills/planning-architect/SKILL.md
Comprehensive skill development planning. Analyzes requirements, chooses organizational patterns (workflow/task/reference/capabilities), defines structure, estimates complexity, identifies dependencies, and creates detailed implementation plan. Use when planning new skills, converting documentation to skills, or architecting complex skill systems.
npx skillsauth add adaptationio/skrillz planning-architectInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
planning-architect systematically plans Claude Code skill development from initial concept to detailed implementation blueprint. It guides you through six sequential steps to create comprehensive skill plans that ensure successful development.
Purpose: Transform skill ideas into actionable implementation plans with clear structure, accurate estimates, and identified dependencies.
Value: Prevents rework, reduces development time, ensures consistency, and produces better-designed skills through systematic planning.
When to Use:
Before planning a skill, gather:
Objective: Clearly define what the skill must accomplish and its scope
Process:
Define the Problem
Identify Target Users
Capture Domain Knowledge
Determine Scope
Identify Existing Resources
Questions to Answer:
Problem Definition:
- What problem does this skill solve?
- Who experiences this problem?
- How do they currently solve it (if at all)?
- What would success look like?
Scope:
- What is the primary objective?
- What are secondary objectives?
- What is explicitly out of scope?
- What is the minimum viable version?
Users:
- Who will use this skill?
- What is their expertise level?
- What context will they invoke it in?
- What other skills do they likely have?
Domain:
- What domain knowledge is required?
- What workflows exist in this domain?
- What terminology is standard?
- What are common pitfalls?
Resources:
- Are there similar skills to study?
- Is there documentation to convert?
- Are there examples to follow?
- What research is needed?
Output: Requirements document answering all questions above
Example:
Problem: Developers waste time debugging Railway deployments
Users: Development team with Node.js experience
Domain: Railway deployment, Docker, environment config
Scope: Railway-specific deployment workflow for Node.js + React
Out of Scope: Other platforms (Vercel, AWS), other languages
Resources: Railway docs, existing deployment notes
MVP: Basic deployment workflow with common troubleshooting
See Also: references/pattern-selection-guide.md includes requirements analysis templates
Objective: Choose the optimal organizational pattern for this skill
The 4 Organizational Patterns:
Use When: Sequential processes with clear steps where order matters
Characteristics:
Examples:
Structure:
## Workflow
### Step 1: [Action]
### Step 2: [Action]
### Step 3: [Action]
Choose This When:
Use When: Independent operations without order dependency
Characteristics:
Examples:
Structure:
## Tasks
### Task A: [Action]
### Task B: [Action]
### Task C: [Action]
Choose This When:
Use When: Standards, patterns, design systems, best practices
Characteristics:
Examples:
Structure:
## Guidelines
### Guideline 1: [Concept]
### Guideline 2: [Concept]
## Reference
### Component A
### Component B
Choose This When:
Use When: Integrated feature suites with multiple entry points
Characteristics:
Examples:
Structure:
## Capabilities
### Capability A: [Feature]
### Capability B: [Feature]
## Integration
How capabilities work together
Choose This When:
Decision Process:
START
↓
Does the skill describe a sequential process?
├─ YES → Is order important?
│ ├─ YES → WORKFLOW-BASED
│ └─ NO → TASK-BASED
│
└─ NO → Is it primarily reference material?
├─ YES → REFERENCE/GUIDELINES
└─ NO → Does it have multiple integrated features?
├─ YES → CAPABILITIES-BASED
└─ NO → Re-examine requirements (likely TASK-BASED)
Pattern Selection Factors:
| Factor | Workflow | Task | Reference | Capabilities | |--------|----------|------|-----------|--------------| | Order matters | ✓ | ✗ | ✗ | ~ | | Dependencies | ✓ | ✗ | ✗ | ✓ | | Quick lookup | ✗ | ✓ | ✓ | ~ | | Sequential process | ✓ | ✗ | ✗ | ~ | | Standards/guidelines | ✗ | ✗ | ✓ | ✗ | | Multiple features | ~ | ✗ | ✗ | ✓ | | Integration complexity | ~ | ✗ | ✗ | ✓ |
Output: Selected organizational pattern with justification
Example:
Pattern: Workflow-Based
Justification: Railway deployment is sequential (prepare → configure → deploy → verify)
Alternative Considered: Task-based rejected because order matters
See Also: references/pattern-selection-guide.md for comprehensive decision tree and examples
Objective: Define complete file structure using progressive disclosure
Progressive Disclosure Architecture:
The key principle: Keep SKILL.md lean, bundle details in references/
Three-Level System:
SKILL.md (Always Loaded)
references/ (Loaded On-Demand)
scripts/ (Loaded When Executed)
templates/ (Loaded When Needed)
File Structure Planning:
skill-name/
├── SKILL.md (required)
│ ├── YAML frontmatter
│ ├── Overview
│ ├── Prerequisites (if needed)
│ ├── Main content (workflow/tasks/guidelines/capabilities)
│ ├── Quick Start
│ ├── Examples (brief)
│ └── References (links to references/)
│
├── references/ (optional but recommended)
│ ├── detailed-guide-1.md (comprehensive guide)
│ ├── detailed-guide-2.md (another detailed guide)
│ └── advanced-topics.md (deep dive content)
│
├── scripts/ (optional)
│ ├── helper-script.py (automation)
│ └── validation-script.py (validation)
│
└── templates/ (optional)
├── template-1.md (reusable pattern)
└── template-2.md (another pattern)
SKILL.md Content Allocation:
Include in SKILL.md:
Move to references/:
Move to scripts/:
Move to templates/:
Reference File Naming:
Use descriptive hyphen-case names:
pattern-selection-guide.md (not guide1.md)complexity-estimation-techniques.md (not complexity.md)advanced-workflows.md (not advanced.md)Reference Organization Strategies:
By Topic (Most Common)
references/
├── authentication-guide.md
├── data-fetching-guide.md
└── error-handling-guide.md
By Depth (Progressive Learning)
references/
├── basics-guide.md
├── intermediate-guide.md
└── advanced-guide.md
By Workflow Step (For Workflow-Based)
references/
├── step1-preparation-guide.md
├── step2-execution-guide.md
└── step3-validation-guide.md
By Use Case (For Task-Based)
references/
├── use-case-api-integration.md
├── use-case-database-setup.md
└── use-case-testing.md
Linking to References:
Always use relative paths with descriptive link text:
Good:
See [Pattern Selection Guide](references/pattern-selection-guide.md) for detailed decision tree.
Bad:
See references/pattern-selection-guide.md for details.
Output: Complete file structure plan with file names and content allocation
Example:
railway-deployment/
├── SKILL.md (~1,200 lines)
│ - Overview of Railway deployment
│ - Prerequisites
│ - 4-step deployment workflow
│ - Quick start example
│ - Links to references
│
├── references/
│ ├── environment-configuration-guide.md (~800 lines)
│ ├── docker-setup-guide.md (~600 lines)
│ ├── troubleshooting-common-issues.md (~1,000 lines)
│ └── railway-pricing-optimization.md (~400 lines)
│
├── scripts/
│ └── validate-config.py (~150 lines)
│
└── templates/
└── railway-config-template.json (~50 lines)
See Also: references/structure-planning-guide.md for comprehensive progressive disclosure planning
Objective: Estimate development time and effort required
Complexity Factors:
Skill Size
Pattern Complexity
Domain Complexity
Automation Requirements
Research Requirements
Estimation Formula:
Base Time = Skill Size (from factor 1)
Pattern Multiplier = Factor 2
Domain Multiplier = Factor 3
Automation Add = Factor 4
Research Add = Factor 5
Total Estimate = (Base Time × Pattern Multiplier × Domain Multiplier) + Automation Add + Research Add
Estimation Examples:
Example 1: Simple Troubleshooting Skill
Base: Small (6-10h) = 8h
Pattern: Task-based (1x)
Domain: Familiar (1x)
Automation: None (0h)
Research: Existing docs (0h)
Total: 8h × 1 × 1 + 0 + 0 = 8 hours
Example 2: Complex Deployment Workflow
Base: Large (20-30h) = 25h
Pattern: Workflow-based (1.2x)
Domain: Some learning (1.5x)
Automation: Simple scripts (5h)
Research: Some needed (3h)
Total: 25h × 1.2 × 1.5 + 5 + 3 = 53 hours
Example 3: Design System Reference
Base: Medium (12-18h) = 15h
Pattern: Reference/Guidelines (1.3x)
Domain: Familiar (1x)
Automation: None (0h)
Research: Existing docs (0h)
Total: 15h × 1.3 × 1 + 0 + 0 = 19.5 hours
Estimation Checklist:
Output: Time estimate with breakdown by component
Example:
Estimated Development Time: 42-48 hours
Breakdown:
- SKILL.md: 8 hours
- references/ (4 files): 20 hours
- pattern-selection-guide.md: 6h
- structure-planning-guide.md: 6h
- complexity-estimation-guide.md: 4h
- dependency-analysis-guide.md: 4h
- scripts/plan-skill.py: 10 hours
- templates/: 2 hours
- Validation & testing: 4 hours
Total: 44 hours (42-48 hour range)
See Also: references/complexity-estimation-guide.md for detailed estimation techniques and calibration data
Objective: Identify what this skill depends on and what depends on it
Dependency Types:
Skills this skill relies on or references
Identification Questions:
Example:
planning-architect depends on:
- skill-builder-generic (for skill patterns)
- No hard dependencies, but enhanced by:
- task-development (for breaking down implementation)
- complexity-estimation (for time estimates)
External tools or MCPs this skill requires
Identification Questions:
Example:
skill-researcher depends on:
- WebSearch tool (for latest patterns)
- WebFetch tool (for documentation)
- Context7 MCP (optional, for deep context)
- GitHub API (for community skill analysis)
Domain knowledge or prerequisites users must have
Identification Questions:
Example:
railway-deployment requires users know:
- Basic Node.js and npm
- Git basics
- Command line usage
- HTTP concepts (for API deployments)
Files in the project this skill references
Identification Questions:
Example:
deployment-guide assumes:
- package.json exists
- .env.example exists (for environment variables)
- Dockerfile exists (or provides template)
Other skills that will depend on this skill
Identification Questions:
Example:
planning-architect will be depended on by:
- task-development (uses planning output)
- skill-researcher (feeds into planning)
- All future skill development (planning is first step)
Dependency Documentation Format:
## Dependencies
### Required
- skill-builder-generic: Core patterns and templates
- WebSearch tool: For researching similar skills
### Optional
- Context7 MCP: Enhanced context for complex planning
- skill-researcher: For comprehensive research phase
### User Prerequisites
- Familiarity with skill-builder-generic
- Understanding of progressive disclosure
- Basic markdown knowledge
### Reverse Dependencies
- task-development (will use planning output)
- skill-composer (for multi-skill workflows)
Output: Complete dependency list with all five types
Example:
Dependencies for planning-architect:
Skill Dependencies:
- Required: skill-builder-generic
- Optional: skill-researcher, analysis
Tool Dependencies:
- None (uses only standard Claude Code capabilities)
Knowledge Dependencies:
- Familiarity with Claude Code skills
- Understanding of progressive disclosure
- Markdown knowledge
File Dependencies:
- skill-builder-package/examples/* (for reference examples)
Reverse Dependencies:
- task-development (next in bootstrap sequence)
- todo-management (uses planning structure)
- All future skills (planning is foundation)
See Also: references/dependency-analysis-guide.md for dependency mapping techniques
Objective: Establish how to validate the skill works correctly
Validation Categories:
Does the skill have correct file structure?
Criteria:
Validation Method: Run validate-skill.py script
Is the content complete and correct?
Criteria:
Validation Method: Manual review + automated checks
Does the skill actually work?
Criteria:
Validation Method: Test invocation + script execution
Is the skill easy to use?
Criteria:
Validation Method: User testing + feedback
Does the skill cover everything it should?
Criteria:
Validation Method: Requirements traceability matrix
Validation Plan Template:
## Validation Plan
### Structure Validation
Method: Automated script
Tool: validate-skill.py
Pass Criteria: Zero errors, max 1 warning
### Content Validation
Method: Manual review
Checklist: 50-point validation checklist
Pass Criteria: All checklist items pass
### Functional Validation
Method: Test invocation
Test Cases:
1. Invoke skill in clean session
2. Request reference file
3. Execute scripts with test input
4. Use templates in sample project
Pass Criteria: All test cases succeed
### Usability Validation
Method: User testing
Testers: 2-3 developers
Pass Criteria: Users can complete quick start in <5 min
### Completeness Validation
Method: Requirements review
Process: Check each requirement has corresponding content
Pass Criteria: 100% requirements coverage
Output: Comprehensive validation plan with test cases
Example:
Validation Plan for planning-architect:
Structure:
- Run validate-skill.py
- Verify 4 reference files present
- Verify plan-skill.py is executable
Content:
- Review all 6 workflow steps
- Verify examples in each step
- Check imperative voice usage
- Validate trigger keywords
Functional:
- Invoke planning-architect
- Follow workflow for test skill
- Run plan-skill.py with test input
- Verify generates complete plan
Usability:
- Ask developer to plan simple skill
- Time quick start completion
- Gather feedback on clarity
Completeness:
- Verify all planning aspects covered
- Check all 4 patterns documented
- Ensure estimation methods present
- Validate dependency analysis included
Answer these questions:
Use decision tree:
skill-name/
├── SKILL.md (always)
├── references/ (if detailed guides needed)
├── scripts/ (if automation needed)
└── templates/ (if reusable patterns needed)
Result: Complete plan ready for implementation!
Requirements:
Pattern: Task-based (independent error cases)
Structure:
railway-troubleshooting/
├── SKILL.md (task-based format)
└── references/
└── advanced-troubleshooting.md
Estimate: 8-10 hours (small, familiar domain)
Dependencies:
Validation: Test each troubleshooting case
Requirements:
Pattern: Workflow-based (sequential integration steps)
Structure:
fhir-integration/
├── SKILL.md (workflow format)
├── references/
│ ├── fhir-resources-guide.md
│ ├── oauth-setup-guide.md
│ └── error-handling-guide.md
├── scripts/
│ └── validate-fhir-response.py
└── templates/
└── fhir-request-template.json
Estimate: 35-40 hours (large, some research needed)
Dependencies:
Validation: Full integration test with FHIR server
Requirements:
Pattern: Reference/Guidelines (design standards)
Structure:
design-system/
├── SKILL.md (reference format)
├── references/
│ ├── color-palette-guide.md
│ ├── typography-guide.md
│ └── component-library.md
└── assets/
├── colors.png
└── typography-examples.png
Estimate: 18-22 hours (medium, design domain)
Dependencies:
Validation: Apply design system to sample component
After completing the 6-step workflow, you should have:
Requirements Document
Pattern Selection
File Structure Plan
Time Estimate
Dependency Map
Validation Plan
Format: See templates/skill-plan-template.md for structured output format
Start with Why
Choose Pattern Carefully
Plan for Evolution
Optimize Context Usage
Validate Early
Scope Creep
Wrong Pattern
Poor Progressive Disclosure
Underestimating Complexity
Ignoring Dependencies
Comprehensive guides for each planning step:
Pattern Selection Guide - Complete decision tree with detailed examples for choosing between workflow, task, reference, and capabilities patterns. Includes edge cases and combination patterns.
Structure Planning Guide - Deep dive into progressive disclosure, file organization strategies, content allocation techniques, and context optimization methods.
Complexity Estimation Guide - Detailed estimation techniques, calibration data from real skills, estimation worksheets, and accuracy improvement methods.
Dependency Analysis Guide - Comprehensive dependency identification techniques, dependency mapping strategies, circular dependency resolution, and version management.
Use the planning automation script for guided planning:
# Interactive planning wizard
python scripts/plan-skill.py --interactive
# Plan from description file
python scripts/plan-skill.py --description skill-description.txt
# Generate plan with specific pattern
python scripts/plan-skill.py --pattern workflow --name my-skill
# Output plan to file
python scripts/plan-skill.py --interactive --output skill-plan.md
See script help for all options:
python scripts/plan-skill.py --help
A successful skill plan includes:
✅ Clear Requirements
✅ Justified Pattern Selection
✅ Complete Structure Plan
✅ Realistic Estimate
✅ Comprehensive Dependencies
✅ Validation Strategy
After completing skill planning:
Review Plan
Proceed to Implementation
Track Progress
Validate Continuously
| Step | Focus | Key Output | Time | |------|-------|------------|------| | 1. Analyze Requirements | Problem, users, scope, domain | Requirements document | 30-60m | | 2. Choose Pattern | Workflow/task/reference/capabilities | Pattern selection with rationale | 15-30m | | 3. Design Structure | Files, sections, progressive disclosure | File structure plan | 30-45m | | 4. Plan Content | Section-by-section content outline | Content plan | 45-90m | | 5. Estimate Complexity | Time, dependencies, risks | Effort estimate | 20-30m | | 6. Create Plan Document | Consolidated implementation plan | Complete skill plan | 30-45m |
Total Planning Time: 3-5 hours for comprehensive plan
| Pattern | When to Use | Structure | Example | |---------|-------------|-----------|---------| | Workflow | Sequential dependencies, process with steps | Numbered steps (Step 1→2→3) | deployment-guide, development-workflow | | Task | Independent operations, no required order | Unnumbered operations | railway-troubleshooting, review-multi | | Reference | Standards, guidelines, design systems | Topic-based sections | botanical-design, common-patterns | | Capabilities | Multiple related features used together | Integrated capabilities | Complex multi-feature skills |
Do steps have sequential dependencies?
├─ Yes → WORKFLOW (use numbered steps)
└─ No → Are operations independent?
├─ Yes → TASK (use unnumbered operations)
└─ No → Is it standards/guidelines?
├─ Yes → REFERENCE (topic-based organization)
└─ No → CAPABILITIES (integrated features)
| Complexity | Files | Lines | Time | Characteristics | |------------|-------|-------|------|-----------------| | Simple | 1-3 | 400-800 | 2-4h | Single file or minimal references | | Medium | 4-8 | 1,500-3,000 | 8-15h | Multiple references, maybe scripts | | Complex | 9-15+ | 3,000-5,000+ | 20-40h | Extensive references, automation scripts |
Decision: If content >1,000 lines → move detailed content to references/
Requirements Document:
Structure Plan:
Implementation Plan:
planning-architect is the foundation of systematic skill development. Use it to transform ideas into actionable implementation plans that lead to high-quality, well-structured Claude Code skills.
development
Setup secure web-based terminal access to WSL2 from mobile/tablet via ttyd + ngrok/Cloudflare/Tailscale. One-command install, start, stop, status. Use when you need remote terminal access, web terminal, browser-based shell, or mobile access to WSL2 environment.
development
Complete development workflows where Claude writes the code while Gemini and Codex provide research, planning, reviews, and different perspectives. Claude remains the main developer. Use for complex projects requiring expert planning and multi-perspective reviews.
development
Systematic progress tracking for skill development. Manages task states (pending/in_progress/completed), updates in real-time, reports progress, identifies blockers, and maintains momentum. Use when tracking skill development, coordinating work, or reporting progress.
testing
Comprehensive testing workflow orchestrating functional testing, example validation, integration testing, and usability assessment. Sequential workflow for complete skill testing from examples through scenarios to integration validation. Use when conducting thorough testing, pre-deployment validation, ensuring skill functionality, or comprehensive quality checks.