用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/bobmatnyc/claude-mpm --skill mpm-workflow命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | mpm-workflow |
| version | 1.0.2 |
| description | Manage and customize MPM workflow configurations with local overrides |
| when_to_use | workflow customization, phase configuration, verification gates, agent routing |
| category | pm-configuration |
| tags | ["workflow","configuration","customization","phases","verification"] |
| effort | medium |
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.
Workflow files are loaded with the following priority (highest to lowest):
.claude-mpm/WORKFLOW.md - Project-specific customizations~/.claude-mpm/WORKFLOW.md - User preferences across all projectsThese are skill-driven actions, not claude-mpm workflow CLI subcommands -- there is no such CLI surface. When this skill is invoked (e.g. via /mpm-workflow status), Claude itself reads, writes, or validates the WORKFLOW.md files directly, following the priority order above (project -> user -> system default).
statusWhen invoked with status, Claude reports the current workflow configuration and its source. Example of what Claude reports back:
Workflow Configuration Status:
Source: project (.claude-mpm/WORKFLOW.md)
Phases: 5
Verification Gates: Enabled
Custom Overrides: Phase 2 (Code Analysis) skipped
initWhen invoked with init, Claude creates a local workflow configuration file:
/mpm-workflow init -- Claude creates .claude-mpm/WORKFLOW.md with defaults/mpm-workflow init --minimal -- Claude creates it with a minimal templateresetWhen invoked with reset, Claude removes the local override so the system default takes effect:
/mpm-workflow reset -- Claude removes the local override, falling back to the system defaultvalidateWhen invoked with validate, Claude checks the current workflow configuration for completeness and reports findings. Example of what Claude reports back:
Validating workflow configuration...
[OK] Phase definitions complete
[OK] Verification gates defined
[OK] Agent routing valid
[WARN] Custom phase 6 defined - ensure agent exists
# PM Workflow Configuration
## Mandatory Phase Sequence
### Phase 1: Research (ALWAYS FIRST)
**Agent**: Research
**Output**: Requirements, constraints, success criteria
**Template**: ...
### Phase 2: Code Analysis Review
**Agent**: Code Analysis
**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 phase
### Phase 2: Code Analysis Review
**Agent**: Code Analysis
**Status**: OPTIONAL
**Skip When**: Small fixes, documentation only
### Phase 6: Security Scan (Custom)
**Agent**: Security
**When**: Changes to auth, API, or data handling
**Output**: Security report
## Verification Gates
| Phase | Verification Required | Evidence Format |
|-------|----------------------|-----------------|
| Implementation | Tests pass + Coverage > 80% | pytest output with coverage |
The workflow loader automatically injects workflow configuration into PM instructions:
workflow_instructions content field/mpm-workflow validate after changes.claude-mpm/WORKFLOW.md with your projectls -la .claude-mpm/WORKFLOW.md/mpm-workflow validate/mpm-workflow statusInvoke this skill with /mpm-workflow reset and Claude will remove the local override directly.