Install
npx skillscat add bobmatnyc/claude-mpm/mpm-workflow Install via the SkillsCat registry.
SKILL.md
MPM Workflow Configuration
Overview
The MPM workflow system supports customizable workflow configurations with a priority-based override system. This allows projects to customize the standard 5-phase workflow while maintaining sensible defaults.
Priority System
Workflow files are loaded with the following priority (highest to lowest):
- Project-level:
.claude-mpm/WORKFLOW.md- Project-specific customizations - User-level:
~/.claude-mpm/WORKFLOW.md- User preferences across all projects - System default: Built-in framework WORKFLOW.md
Commands
/mpm-workflow status
Show current workflow configuration and source:
Workflow Configuration Status:
Source: project (.claude-mpm/WORKFLOW.md)
Phases: 5
Verification Gates: Enabled
Custom Overrides: Phase 2 (Code Analyzer) skipped/mpm-workflow init
Initialize a local workflow configuration file:
# Creates .claude-mpm/WORKFLOW.md with defaults
/mpm-workflow init
# Creates with minimal template
/mpm-workflow init --minimal/mpm-workflow reset
Reset to default workflow configuration:
# Removes local override, uses system default
/mpm-workflow reset/mpm-workflow validate
Validate the current workflow configuration:
Validating workflow configuration...
[OK] Phase definitions complete
[OK] Verification gates defined
[OK] Agent routing valid
[WARN] Custom phase 6 defined - ensure agent existsWorkflow File Structure
Required Sections
# PM Workflow Configuration
## Mandatory Phase Sequence
### Phase 1: Research (ALWAYS FIRST)
**Agent**: Research
**Output**: Requirements, constraints, success criteria
**Template**: ...
### Phase 2: Code Analyzer Review
**Agent**: Code Analyzer
**Output**: APPROVED/NEEDS_IMPROVEMENT/BLOCKED
**Decision**: ...
### Phase 3: Implementation
**Agent**: Selected via delegation matrix
**Requirements**: Complete code, error handling, tests
### Phase 4: QA (MANDATORY)
**Agent**: qa/api-qa/web-qa
**Requirements**: Real-world testing with evidence
### Phase 5: Documentation
**Agent**: Documentation
**When**: Code changes made
## Verification Gates
| Phase | Verification Required | Evidence Format |
|-------|----------------------|-----------------|
| ... | ... | ... |
## Override Commands
- "Skip workflow" - bypass sequence
- "Go directly to [phase]" - jump to phaseCustomization Examples
Skip Code Analyzer for Trusted Projects
### Phase 2: Code Analyzer Review
**Agent**: Code Analyzer
**Status**: OPTIONAL
**Skip When**: Small fixes, documentation onlyAdd Custom Phase
### Phase 6: Security Scan (Custom)
**Agent**: Security
**When**: Changes to auth, API, or data handling
**Output**: Security reportModify Verification Requirements
## Verification Gates
| Phase | Verification Required | Evidence Format |
|-------|----------------------|-----------------|
| Implementation | Tests pass + Coverage > 80% | pytest output with coverage |Integration with Instruction Builder
The workflow loader automatically injects workflow configuration into PM instructions:
- Checks for project-level WORKFLOW.md
- Falls back to user-level if not found
- Uses system default as last resort
- Injects into
workflow_instructionscontent field
Best Practices
- Start with defaults: Only override what you need
- Document changes: Add comments explaining why phases were modified
- Test workflows: Use
/mpm-workflow validateafter changes - Version control: Commit
.claude-mpm/WORKFLOW.mdwith your project - Team alignment: Ensure team agrees on workflow customizations
Troubleshooting
Workflow not loading
- Check file exists:
ls -la .claude-mpm/WORKFLOW.md - Validate syntax:
/mpm-workflow validate - Check priority:
/mpm-workflow status
Phases not executing
- Verify phase is defined in workflow
- Check agent exists for custom phases
- Review verification gate requirements
Reset to defaults
/mpm-workflow reset