plugins/software-project/skills/split-plan/SKILL.md
Analyze a master plan file and split it into 8 phase-specific implementation plans organized by feature tracks. Automatically identifies tracks, classifies tasks by phase, scores complexity, and generates detailed phase plan files following clean architecture principles.
npx skillsauth add hirogakatageri/hirokata split-planInstall 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.
Transform a master plan into 8 phase-specific implementation plans organized by feature tracks with complexity scoring.
Analyze a master plan file and generate 8 separate plan files, one for each phase of clean architecture (Foundational, Models, Services, Data, Rules, State Management, UI, Tests).
Analyze a master plan file and generate 8 separate plan files, one for each phase of clean architecture:
${master-plan-path} - The comprehensive plan to analyze${base-name} - Prefix for all generated filesEight phase plan files in tasks/${base-name}/plans/:
${base-name}-01-foundational.md${base-name}-02-models.md${base-name}-03-services.md${base-name}-04-data.md${base-name}-05-rules.md${base-name}-06-state-management.md${base-name}-07-ui.md${base-name}-08-tests.mdRead the master plan from ${master-plan-path} and:
Extract tasks: Identify all implementation tasks from the plan
Identify feature tracks: Group related tasks by feature/module
Classify tasks by phase: Determine which phase each task belongs to
Classification decision tree:
Score complexity for each task (1-3):
Increase complexity for: security-critical, multiple integrations, unclear requirements Decrease complexity for: similar existing code, well-defined, isolated, simple CRUD
Create output directory:
mkdir -p tasks/${base-name}/plans
For each phase (1-8), create a plan file using the template below.
File naming: tasks/${base-name}/plans/${base-name}-{NN}-{name}.md
If phase has no tasks: Use the empty phase template (below)
If phase has tasks:
Verify all 8 files exist:
ls -la tasks/${base-name}/plans/
Report execution results:
Report to caller: Output a brief summary of results so the orchestrator can continue.
# Phase {N}: {Phase Name} - ${base-name}
**Phase Number**: {N}
**Status**: Pending
**Dependencies**: {Previous phase name or "None"}
## Phase Overview
{Brief description of what this phase accomplishes}
This phase includes tasks for the following tracks:
- **{track-1}**: {brief description}
- **{track-2}**: {brief description}
## Implementation Context
{How this phase builds on previous phases}
{Architectural patterns to follow}
{Important considerations}
---
## Track: {track-name}
### Task {M}: {Task Title}
**Complexity**: {1|2|3} ({Low|Medium|High})
**Track**: {track-name}
**Status**: Pending
**Estimated Effort**: {Small|Medium|Large}
#### Description
{Detailed description of what needs to be implemented}
{Purpose and context}
{How it fits into the larger feature}
#### Acceptance Criteria
- [ ] {Specific, testable criterion 1}
- [ ] {Specific, testable criterion 2}
- [ ] {Specific, testable criterion 3}
#### Implementation Details
{Specific implementation guidance}
**Files to Create/Modify**:
- `path/to/file1.ext` - {what to do}
- `path/to/file2.ext` - {what to do}
**Key Considerations**:
- {Important technical detail or edge case}
- {Pattern to follow or constraint to respect}
**Dependencies**:
- {Task dependencies within phase or from previous phases}
**Testing**:
- {What should be tested}
- {Test scenarios to cover}
---
{Repeat for all tasks in track}
{Repeat for all tracks in phase}
---
## Phase Completion Checklist
After completing all tasks in this phase, verify:
- [ ] All tasks in this phase are implemented
- [ ] Code follows project patterns and conventions
- [ ] Tests are written and passing
- [ ] Documentation is updated
- [ ] No errors or warnings
- [ ] Ready to proceed to Phase {N+1} (or "Complete" if Phase 8)
## Notes
{Additional notes, warnings, or important information}
For phases with no tasks:
# Phase {N}: {Phase Name} - ${base-name}
**Phase Number**: {N}
**Status**: Pending
**Dependencies**: {Previous phase name or "None"}
## Phase Overview
No tasks have been identified for this phase in the current master plan.
## Implementation Context
This phase may be populated in future iterations as the project evolves. {Phase Name} typically includes {brief description based on phase type}.
---
## Phase Completion Checklist
- [ ] Phase marked as complete (no tasks to implement)
- [ ] Ready to proceed to Phase {N+1} (or "Complete" if Phase 8)
## Notes
This phase will be skipped during implementation as no tasks are currently planned.
Dependencies flow inward in clean architecture:
Tests → UI → State Management → Rules → Data → Services → Models → Foundational
Good track examples:
authentication - Login, signup, session (spans phases 2-7)user-profile - Profile data, editing, display (spans phases 2-7)products - Product catalog, details, search (spans phases 2-7)shopping-cart - Cart management, persistence (spans phases 2-7)core - Base infrastructure (phases 1-2)Track naming:
Score 1 (Low):
Score 2 (Medium):
Score 3 (High):
You MUST:
${base-name}-{NN}-{name}.mdYou MUST NOT:
For a typical e-commerce app with tracks: authentication, products, cart, checkout
Phase 1 (Foundational):
Phase 2 (Models):
Phase 3 (Services):
Phase 4 (Data):
Phase 5 (Rules):
Phase 6 (State Management):
Phase 7 (UI):
This shows how tracks span multiple phases building complete features.
development
This skill should be used when the user reports an error, bug, or unexpected behavior and wants it diagnosed and fixed. Trigger on phrases like "check this error", "check this bug", "here's an error", "here's a bug", "I have an error", "I have a bug", "found a bug", "got an error", "debug this", "this is broken", "fix this error", "verify and fix", or any message that includes a stack trace or error output. Runs a structured workflow: gather context, investigate configured log/code sources, report root cause with ranked solutions, then apply a test-driven fix.
testing
This skill should be used when the user says "check svelte env vars", "check environment variables", "validate env vars", "check env var patterns", "audit environment variables", "audit env vars", "check SvelteKit env", "svelte env check", or any phrase asking to audit or validate SvelteKit environment variable usage patterns.
data-ai
Internal skill used by the session-tracker logger agent to append a session entry to .logs/YYYY-MM-DD-log.md, creating the file and directory if needed. Not user-invocable.
data-ai
Internal skill used by the session-tracker logger agent to query git for committed and uncommitted changes in the past 28 hours. Not user-invocable.