Skip to content

Workflow Commands

Workflow MCP supports seven commands, each for a specific phase of development work.

CommandPurposeOutput DirectoryInput DirectoriesDefault DPS
/researchGather informationprojects/research/None (fresh start)4
/planDesign implementationprojects/plans/research, interactions, backlog1
/implementExecute the planprojects/implementations/plans, research1
/reviewVerify completenessprojects/reviews/research, plans, implementations3
/debugDiagnose issuesprojects/debug/research, plans, implementations4
/refactorAnalyze for improvementprojects/research/.archived/completed, implementations3
/archiveArchive completed workprojects/.archived/archive-logs/research, plans, implementations, reviews0

All commands support the blocker entry type for logging blocking issues with DPS-aware guidance.

Purpose: Gather information, explore options, understand the problem space.

Entry Types: finding (RES), requirement (REQ), blocker (BLK)

Inputs: None (starts fresh)

Outputs: Research findings that inform planning

Next Phase: /plan

Example:

Terminal window
/workflow:research AUTH-MIGRATION
/workflow:research AUTH-MIGRATION dps=5 focus on OAuth patterns

Purpose: Design the implementation approach based on research.

Entry Types: decision (PLN), directive (DIR), blocker (BLK)

Inputs: Automatically links to latest research, interactions, and backlog files for the topic

Outputs: Implementation plan with tasks

Next Phase: /implement

Example:

Terminal window
/workflow:plan AUTH-MIGRATION
/workflow:plan AUTH-MIGRATION dps=2

Purpose: Execute the plan, write code, create tests.

Entry Types: task-complete (IMP), user-feedback (UFB), issue (IMP), blocker (BLK)

Inputs: Automatically links to latest plan and research files

Outputs: Completed tasks, changed files

Next Phase: /review

Example:

Terminal window
/workflow:implement AUTH-MIGRATION
/workflow:implement AUTH-MIGRATION dps=2 llm=true

Purpose: Verify implementation against research and plan.

Entry Types: gap with prefixes:

  • GAP-RP: Research → Plan gaps
  • GAP-PI: Plan → Implementation gaps

Inputs: Automatically links to research, plan, and implementation files

Outputs: Gap analysis and recommendations

Next Phase: /plan (if gaps found)

Example:

Terminal window
/workflow:review AUTH-MIGRATION

Purpose: Diagnose and fix issues.

Entry Types: fault (DBG), investigation (DBG), fix (FIX), verification (VER), blocker (BLK)

Inputs: Automatically links to research, plan, and implementation files

Outputs: Root cause analysis, applied fixes

Example:

Terminal window
/workflow:debug AUTH-ISSUE-42
/workflow:debug AUTH-ISSUE-42 dps=5

Purpose: Analyze code for potential improvements.

Entry Types: Same as research (RES-REFACTOR prefix)

Inputs: Automatically links to archived completed projects and implementations

Outputs: Refactoring recommendations (feeds into planning)

Next Phase: /plan

Example:

Terminal window
/workflow:refactor AUTH-MODULE

Purpose: Archive completed work for future reference.

Entry Types: Archive operations (ARC)

Inputs: All project files (research, plans, implementations, reviews)

Outputs: Archived files in .archived/archive-logs/

Example:

Terminal window
/workflow:archive AUTH-MIGRATION

The typical flow is:

research → plan → implement → review
↑ ↓
└───────── (if gaps) ───────┘

For bugs:

debug → (identify fix) → implement → review

For improvements:

refactor → plan → implement → review