skills/workflow-templates/SKILL.md
Use when executing a structured workflow — select and run a feature, bugfix, refactor, research, or incident template with correct agent and model assignments per phase.
npx skillsauth add kienbui1995/magic-powers workflow-templatesInstall 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.
Auto-detect from task description keywords:
| Keywords | Template | |----------|---------| | add, implement, build, create, new | feature | | fix, broken, error, bug, failing, crash | bugfix | | clean, refactor, improve, simplify, restructure | refactor | | research, investigate, understand, explore, evaluate | research | | down, outage, urgent, production, incident, p0, p1 | incident |
If ambiguous → ask user to confirm before executing.
Always confirm (don't auto-detect) when description contains BOTH types:
Feature Template — Adding new functionality:
Phase 1: PLAN @architect (Opus) — clarify requirements, design, write plan
Phase 2: IMPLEMENT subagents (Sonnet) — parallel implementation per component
Phase 3: TEST subagents (Sonnet) — write and run tests for implemented code
Phase 4: REVIEW @reviewer (Haiku) — code review, spec compliance check
Bugfix Template — Fixing broken behavior:
Phase 1: REPRODUCE subagent (Sonnet) — write failing test that reproduces bug
Phase 2: DIAGNOSE @debugger (Sonnet) — systematic root cause analysis
Phase 3: FIX subagent (Sonnet) — minimal fix to make test pass
Phase 4: VERIFY @reviewer (Haiku) — verify fix, check for regressions
Refactor Template — Improving existing code without changing behavior:
Phase 1: ANALYZE @architect (Opus) — understand current structure, identify problems
Phase 2: PLAN @architect (Opus) — design target state, migration path
Phase 3: IMPLEMENT subagents (Sonnet) — refactor in small, test-passing increments
Phase 4: REVIEW @reviewer (Haiku) — final review, confirm behavior unchanged
Research Template — Investigation and decision-making:
Phase 1: GATHER subagents (Sonnet) — parallel research on options/alternatives
Phase 2: SYNTHESIZE @architect (Opus) — analyze tradeoffs, form recommendation
Phase 3: DOCUMENT @technical-writer (Haiku) — write ADR or decision doc
Incident Template — Production emergency response:
Phase 1: TRIAGE @debugger (Sonnet) — identify blast radius, immediate mitigations
Phase 2: HOTFIX subagent (Sonnet) — minimal fix to restore service
Phase 3: POSTMORTEM @technical-writer (Haiku) — document timeline, root cause, prevention
Each phase subagent receives ONLY:
Never forward full session history to subagents — causes confusion and wastes tokens.
@workflow-orchestrator uses this skill to load and execute templatesdispatching-parallel-agents skill used within phases that have parallel subagentssubagent-driven-development skill used for sequential phase execution with reviewcontent-media
Use when designing for XR (AR/VR/MR), choosing interaction modes, or adapting 2D UI patterns for spatial computing
testing
Use when creating new skills, editing existing skills, or verifying skills work before deployment
development
Use when you have a spec or requirements for a multi-step task, before touching code
development
Use when designing for Apple visionOS, applying spatial design conventions, or building for the Apple Vision Pro platform