Skip to main content

Skill Dependencies

Visual map of skill relationships and suggested workflows.


Dependency Graph

Primary Workflows

Product Development Flow:
┌─────────────────────────────────────────────────────────┐
│ /pm-prd-write │
│ "Generate PRD from initiative" │
└────────────────┬────────────────────────────────────────┘

├──> /pm-story-write (Optional)
│ "Generate user stories from PRD"

├──> /detect-dev
│ "Engineering audit of codebase"

├──> /ux-flowchart-generate
│ "Generate Mermaid flowcharts from PRD"

├──> /frontend-task-breakdown
│ "Frontend task breakdown from PRD"
│ │
│ └──> /frontend-state-machine (Future)
│ "State machine definitions"

├──> /frontend-design
│ "Create production-grade frontend interfaces"

├──> /backend-task-breakdown
│ "Backend task breakdown from PRD"
│ │
│ ├──> /backend-data-model
│ │ "Data model specification"
│ │
│ └──> /backend-api-contract
│ "OpenAPI 3.1 contract from entities"
│ │
│ ├──> /frontend-scaffold (Orval/MSW output)
│ ├──> /frontend-task-breakdown (API integration tasks)
│ ├──> /frontend-story-generate (MSW handlers)
│ └──> /qa-test-cases (endpoint-specific BDD scenarios)

├──> /qa-test-cases
│ "Generate BDD test cases from PRD"

└──> /data-gtm-datalayer
"GTM tracking code from PRD"

UI Workflow Chain

Frontend UI Development:
/frontend-design ──┐
├──> /frontend-story-generate
/frontend-scaffold ┘ "Generate CSF3 stories"
/backend-api-contract ──> /frontend-story-generate (MSW handlers)

└──> /frontend-visual-verify
"Visual verification via Playwright"

└──> /frontend-component-fix (if issues found)
"Generate patch artifacts"

└──> /dev-output-integrate
"Apply patches to source"

Research Flow

Research & Learning:
┌─────────────────────────────────────────────────────────┐
│ /pm-research-about │
│ "Deep research on any topic" │
└─────────────────────────────────────────────────────────┘

└──> /learn-add (Suggested)
"Capture research insights as lessons"

Documentation Flow

Documentation Management:
┌─────────────────────────────────────────────────────────┐
│ /docs-create │
│ "Create new documentation" │
└─────────────────────────────────────────────────────────┘

└──> /docs-update (Suggested)
"Audit and update stale docs"

UX Research Flow

UX Research & Design:
┌─────────────────────────────────────────────────────────┐
│ /ux-research-synthesize │
│ "Synthesize UX research findings" │
└─────────────────────────────────────────────────────────┘

├──> /ux-microcopy-write
│ "Multi-language UI copy from insights"

├──> /ux-heatmap-analyze
│ "Analyze interaction patterns from heatmaps"

└──> /ux-flowchart-generate
"Generate Mermaid flowcharts from findings"

Detection / Audit Flow

Detection & Audit:
┌─────────────────────────────────────────────────────────┐
│ Run any combination of detect skills: │
│ │
│ /detect-dev "Engineering audit" │
│ /detect-design "Design system detection" │
│ /detect-ux "UX audit" │
│ /detect-product "Product reality extraction" │
│ /detect-writing "Writing system extraction" │
└────────────────┬────────────────────────────────────────┘

└──> /detect-pack
"Consolidate into unified index with risk heatmap"

Code Review Flow

Code Review:
┌─────────────────────────────────────────────────────────┐
│ /backend-pr-review │
│ "Review backend PRs for security and quality" │
└─────────────────────────────────────────────────────────┘

┌─────────────────────────────────────────────────────────┐
│ /wp-pr-review │
│ "Review WordPress plugin PRs" │
└─────────────────────────────────────────────────────────┘

Issue Reporting & Validation Flow

Issue Reporting:
┌─────────────────────────────────────────────────────────┐
│ /qa-issue-report │
│ "Report issues to any GitHub/GitLab repo" │
└─────────────────────────────────────────────────────────┘

Issue Validation:
┌─────────────────────────────────────────────────────────┐
│ /qa-issue-validate │
│ "Validate issues against codebase with RCA" │
└────────────────┬────────────────────────────────────────┘

└──> /pm-roadmap-add (if VALID + user approves)
"Add validated issue to roadmap"

> Cross-pipeline: For VALID_BUG verdicts, the reproduction scenario can feed
> /qa-test-cases → /qa-test-generate for regression tests. For VALID_FEATURE
> verdicts, the RCA summary provides acceptance criteria for the same pipeline.

Internal:
┌─────────────────────────────────────────────────────────┐
│ /jaan-issue-report │
│ "Report jaan-to plugin issues" │
└─────────────────────────────────────────────────────────┘

Spec-to-Ship Flow

Code Generation & Deployment:
┌─────────────────────────────────────────────────────────┐
│ /backend-scaffold + /frontend-scaffold │
│ "Generate code stubs from specs" │
└────────────────┬────────────────────────────────────────┘

├──> /backend-service-implement
│ "Fill service stubs with business logic"

├──> /dev-project-assemble
│ "Wire scaffolds into runnable project"

├──> /qa-test-generate
│ "Generate runnable tests from BDD cases"
│ │
│ └──> /qa-test-run
│ "Execute tests, diagnose failures, report coverage"

├──> /detect-dev
│ "Security audit of generated code"
│ │
│ └──> /sec-audit-remediate
│ "Fix security findings with patches"

├──> /backend-pr-review
│ "Review backend PRs for security and quality"

├──> /devops-infra-scaffold
│ "Generate CI/CD, Docker, deployment configs"

├──> /dev-output-integrate
│ "Copy outputs into project locations"
│ │
│ └──> (suggested) /detect-dev --incremental
│ "Re-audit integrated files for security and quality"

├──> /dev-verify
│ "Validate build pipeline and running services"

└──> /devops-deploy-activate
"Activate deployment pipeline"

Library Context Flow

Library Documentation:
┌─────────────────────────────────────────────────────────┐
│ /dev-docs-fetch │
│ "Fetch library docs via Context7 MCP" │
└────────────────┬────────────────────────────────────────┘

├──> /backend-scaffold
│ "Generated code uses current API patterns"

├──> /frontend-scaffold
│ "Generated components use current framework patterns"

└──> /dev-project-assemble
"Project config follows current best practices"

Release Flow

Release Management:
┌─────────────────────────────────────────────────────────┐
│ /release-iterate-changelog │
│ "Generate changelog from git history" │
└────────────────┬────────────────────────────────────────┘

├──> /pm-changelog-rewrite (Auto-invoked)
│ "Transform into user-facing product changelog"

└──> /qa-issue-report (Suggested)
"Post supportive comment on closed issues"

Sprint Cycle Flow

Sprint Orchestration:
┌─────────────────────────────────────────────────────────┐
│ /team-sprint │
│ "Full development sprint cycle" │
└────────────────┬────────────────────────────────────────┘

├──> /pm-sprint-plan
│ "Assess progress, build execution queue"
│ (ROADMAP.md required, gap-reports optional)

├──> /team-ship --track sprint
│ "Execute sprint plan via Agent Teams"
│ (reads sprint plan artifact)

├──> /release-iterate-changelog
│ "Update changelog after sprint"

└──> Gap report + PR to dev
(cycle branch → dev via PR)

Skill Development Flow

Plugin Development:
┌─────────────────────────────────────────────────────────┐
│ /skill-create │
│ "Create new skill with wizard" │
└─────────────────────────────────────────────────────────┘

└──> /skill-update
"Update existing skill"

Cross-Cutting Skills

These skills are suggested by multiple other skills:

Learning & Feedback

  • Used by: ALL skills (after execution)
  • Command: /learn-add
  • Purpose: Capture lessons learned for continuous improvement
  • Trigger: User provides feedback about skill execution

Roadmap Management

  • Used by: Skills that create new features
  • Command: /pm-roadmap-add
  • Purpose: Track feature requests and improvements
  • Trigger: User identifies missing functionality

Skill Chains (Common Workflows)

1. Feature Development (Complete Flow)

# Step 1: Research & PRD
/pm-research-about "authentication best practices"
/pm-prd-write "OAuth2 authentication"

# Step 2: User Stories & Flowcharts
/pm-story-write from prd
/ux-flowchart-generate from prd

# Step 3: Tech Planning
/detect-dev
/frontend-task-breakdown from prd
/backend-task-breakdown from prd
/backend-data-model from task breakdown
/backend-api-contract from entities

# Step 4: QA & Tracking
/qa-test-cases from prd
/data-gtm-datalayer "auth flow tracking"

2. UX Enhancement Flow

# Step 1: Analyze Current State
/ux-heatmap-analyze "homepage-heatmap.csv"

# Step 2: Synthesize Research
/ux-research-synthesize "UX research notes"

# Step 3: Generate Microcopy
/ux-microcopy-write based on insights

3. Documentation Maintenance

# Step 1: Audit Staleness
/docs-update --check-only

# Step 2: Fix Stale Docs
/docs-update --fix

# Step 3: Create New Docs as Needed
/docs-create guide "API integration"

4. Detection & Audit

# Step 1: Run detect skills
/detect-dev
/detect-design
/detect-ux
/detect-product
/detect-writing

# Step 2: Consolidate findings
/detect-pack

5. Code Review

# Backend PRs (any stack)
/backend-pr-review

# WordPress plugin PRs
/wp-pr-review

Standalone Skills

These skills don't typically call others:

SkillPurposeUsage Pattern
/pm-story-writeGenerate user storiesStandalone or from PRD
/ux-microcopy-writeMulti-language UI copyStandalone
/ux-heatmap-analyzeHeatmap analysisStandalone (requires CSV/screenshot)
/ux-flowchart-generateGenerate Mermaid flowchartsStandalone or from PRD
/frontend-designCreate frontend interfacesStandalone or from PRD
/release-iterate-changelogGenerate changelogStandalone → /pm-changelog-rewrite
/pm-changelog-rewriteProduct changelogAuto-invoked by release-iterate-changelog
/jaan-initInitialize jaan-to for projectRun once per project
/jaan-issue-reportReport bugs/issuesStandalone
/qa-issue-reportReport issues to any repoStandalone
/qa-issue-validateValidate issues against codebaseStandalone → /pm-roadmap-add
/pm-roadmap-addAdd prioritized items to project roadmapStandalone or from PRD
/pm-roadmap-updateReview and maintain project roadmapStandalone (maintenance)

Future Skills (Planned)

These skills are referenced but not yet implemented:

SkillReferenced ByPurpose
/frontend-state-machinefrontend-task-breakdownComponent state machine definitions

Complete Skill Inventory

All 58 skills grouped by role.

RoleSkillPurpose
pm/pm-prd-writeGenerate PRD from initiative
/pm-story-writeGenerate user stories with acceptance criteria
/pm-research-aboutDeep research on any topic
/pm-roadmap-addAdd prioritized items to project roadmap
/pm-roadmap-updateReview and maintain project roadmap
/pm-changelog-rewriteTransform technical changelog into product changelog
/pm-sprint-planAssess progress and build sprint plan from ROADMAP
backend/backend-task-breakdownConvert PRD into backend tasks
/backend-data-modelGenerate data model docs from entities
/backend-api-contractGenerate OpenAPI 3.1 contracts
/backend-scaffoldGenerate backend code stubs
/backend-service-implementGenerate service implementations
/backend-pr-reviewReview backend PRs for security and quality
frontend/frontend-task-breakdownFrontend task breakdown from PRD
/frontend-scaffoldConvert designs to React/Next.js components
/frontend-designCreate production-grade frontend interfaces
/frontend-story-generateGenerate CSF3 Storybook stories for components
/frontend-visual-verifyVisual verification via Playwright MCP
/frontend-component-fixDiagnose and fix UI bugs with patch artifacts
ux/ux-research-synthesizeSynthesize UX research findings
/ux-microcopy-writeGenerate multi-language UI microcopy
/ux-heatmap-analyzeAnalyze heatmap data
/ux-flowchart-generateGenerate Mermaid flowcharts
qa/qa-test-casesGenerate BDD test cases
/qa-test-generateGenerate runnable test files
/qa-test-runExecute tests, diagnose failures
/qa-test-mutateRun mutation testing with multi-stack support
/qa-tdd-orchestrateOrchestrate TDD cycle with isolated agents
/qa-contract-validateValidate API contracts with multi-tool pipeline
/qa-quality-gateCompute composite quality score
/qa-issue-reportReport issues to any GitHub/GitLab repo
/qa-issue-validateValidate issues against codebase with RCA
detect/detect-devEngineering audit with SARIF evidence
/detect-designDesign system detection
/detect-uxRepo-driven UX audit
/detect-productProduct reality extraction
/detect-writingWriting system extraction
/detect-packConsolidate detect outputs
dev/dev-docs-fetchFetch library docs via Context7 MCP
/dev-project-assembleWire scaffolds into runnable project
/dev-output-integrateCopy outputs into project locations
/dev-verifyValidate build pipeline and services
sec/sec-audit-remediateFix security findings with patches
devops/devops-infra-scaffoldGenerate CI/CD, Docker, deployment configs
/devops-deploy-activateActivate deployment pipeline
data/data-gtm-datalayerGenerate GTM tracking code
wp/wp-pr-reviewReview WordPress plugin PRs
release/release-iterate-changelogGenerate changelog from git history
core/docs-createCreate new documentation
/docs-updateAudit and update stale docs
/skill-createCreate new skills
/skill-updateUpdate existing skills
/learn-addCapture lessons learned
/jaan-initInitialize jaan-to for project
/jaan-issue-reportReport bugs/issues
team/team-shipOrchestrate multi-role agent teams
/team-sprintFull development sprint cycle

Agent Integration

Skills may invoke agents automatically:

AgentTriggered ByPurpose
quality-reviewerAll output-generating skillsReview output completeness and quality
context-scoutpm-prd-write, task breakdownsGather project context before generation

Notes

  • Suggested vs Required: Most skill chains are suggestions, not hard requirements
  • Flexibility: You can use skills in any order that makes sense for your workflow
  • Feedback Loop: All skills suggest /learn-add after execution for continuous improvement
  • Context Reuse: Running /detect-dev once benefits all subsequent tech-aware skills

Last Updated: 2026-03-05