From mmp
Use when L0 (Phase 1) needs to analyze cross-cutting concerns between chunks before dispatch, or when user triggers /mmp:cross-cut-analysis manually. Analyzes chunks.md + boundary.yaml (touches_domains, allow, produces, consumes) to produce a structured cross-cut report with severity ratings. Outputs YAML with cross_cuts[] entries and emits a cross_cut_analysis_run audit event.
How this skill is triggered — by the user, by Claude, or both
Slash command
/mmp:cross-cut-analysisThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are performing systematic cross-cut analysis over a set of mmp chunks.
You are performing systematic cross-cut analysis over a set of mmp chunks. Your job is to identify risks before parallel L1 dispatch, not during or after.
chunks.md and dispatching L1 agents/mmp:cross-cut-analysis to inspect a wave in progressCollect all boundary.yaml files from .orchestrator/chunks/*/boundary.yaml.
Each boundary.yaml may contain:
allow: [] # file patterns this chunk may write
touches_domains: [] # semantic domain tags
produces: [] # artifacts this chunk creates
consumes: [] # artifacts this chunk requires
depends_on: [] # explicit chunk dependencies
tooling_deps: [] # CLI tools required
Execute:
bash scripts/cross-cut-analysis.sh \
--chunks-dir .orchestrator/chunks \
--orch-dir .orchestrator
Or invoke directly from skill context by reading each boundary.yaml and applying the five dimensions below.
Report format:
cross_cuts:
- severity: HIGH|MEDIUM|LOW
type: file_overlap|domain_conflict|implicit_dependency|concurrency_risk|tooling_dependency
chunks: [<chunk_id>, ...]
resource: <file path or domain:tag or tool:name>
recommendation: serialize|merge|force-parallel-with-brief|accept-with-coordination
| Severity | Action |
|---|---|
| HIGH | Must resolve before dispatch. Serialize (add depends_on) or merge chunks. |
| MEDIUM | Generate cross-cut briefs with coordination instructions. |
| LOW | Document in brief. Proceed with explicit coordination note. |
Two or more chunks declare the same file pattern in allow[].
serialize (add depends_on to one chunk) or merge chunksallow[] sets across all chunksTwo or more chunks share a tag in touches_domains[].
force-parallel-with-brief — generate sentinel markers and
cross-cut briefs for affected chunksChunk A declares artifact X in produces[]. Chunk B declares X in
consumes[]. Neither declares depends_on: [chunk-a].
This is a hidden serialization requirement — B will fail if it runs before A completes or if A's output format changes.
serialize — add depends_on: [<producer>] to consumer's
boundary.yamlstate.yaml for consumer chunk to add depends_onTwo or more chunks include a shared state channel in allow[]:
.orchestrator/audit.jsonl.orchestrator/status.yamlhooks/hooks.json*.lock fileThese files require atomic writes. Parallel chunks without flock coordination will corrupt shared state.
serialize or ensure scripts use flock/mkdir-atomic patternTwo or more chunks list the same tool in tooling_deps[].
accept-with-coordination — ensure tooling is installed in
pre-flight; note in L1 promptscross_cuts:
- severity: HIGH
type: implicit_dependency
chunks:
- chunk-a
- chunk-b
resource: config/db.yaml
recommendation: serialize
Emitted to .orchestrator/audit.jsonl:
{
"kind": "cross_cut_analysis_run",
"ts": "...",
"details": {
"issue_count": 3,
"severity_distribution": {"HIGH": 2, "MEDIUM": 1, "LOW": 0}
}
}
L0 calls this skill after decomposing chunks but before confirming the dispatch DAG. HIGH findings must be resolved (serialized) before proceeding. MEDIUM findings trigger brief generation. LOW findings are logged.
See references/heuristics.md for detection edge cases and worked examples.
npx claudepluginhub ahlerjam/mmp --plugin mmpGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.