From mece-decomposer
MECE decomposition methodology, scoring rubrics, and Agent SDK mapping for process analysis. Loaded automatically when decomposing goals, tasks, processes, or workflows into Mutually Exclusive, Collectively Exhaustive components. Provides the domain knowledge used by /decompose, /interview, /validate, and /export commands. Use when user says "decompose", "break down this process", "MECE analysis", "interview me about a workflow", "map process to agents", "validate decomposition", or "export to Agent SDK".
How this skill is triggered — by the user, by Claude, or both
Slash command
/mece-decomposer:mece-decomposerThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill provides the methodology, scoring rubrics, and mapping rules that power the `/decompose`, `/interview`, `/validate`, and `/export` skills. Claude loads this automatically when those skills are invoked or when the conversation involves process decomposition.
This skill provides the methodology, scoring rubrics, and mapping rules that power the /decompose, /interview, /validate, and /export skills. Claude loads this automatically when those skills are invoked or when the conversation involves process decomposition.
Business subject matter experts carry tacit knowledge about processes that lives as assumptions in their heads. MECE decomposition extracts and structures that knowledge into components that are:
The decomposition serves two audiences simultaneously:
Agent, Runner, hooks, handoffs)Detailed procedure in references/decomposition_methodology.md. Summary:
Score candidates using the 4-criteria rubric:
| Dimension | Best For |
|---|---|
| Temporal | Processes with clear sequential phases |
| Functional | Goals or capabilities without strict ordering |
| Stakeholder | Multi-team processes with handoffs |
| State | Workflows driven by entity state transitions |
| Input-Output | Data transformation pipelines |
Choose the dimension that produces the most natural, non-overlapping cut. Different branches may use different dimensions. When selecting the decomposition dimension and validating MECE boundaries, use ultrathink.
A node is atomic (stop decomposing) when ALL hold:
| Criterion | Test |
|---|---|
| Co-occurrence | Sub-steps always execute together in this context |
| Single responsibility | Does exactly one thing with one clear outcome |
| Stable interface | Inputs and outputs are well-defined |
| Independent testability | Can verify without running the whole tree |
| SDK-mappable | Maps to one Agent, one tool call, one human action, or one external call |
| Bounded duration | Predictable, finite execution time |
The co-occurrence test is primary. If sub-steps can execute independently, keep decomposing.
| Score Range | ME Interpretation | CE Interpretation |
|---|---|---|
| 0.85 - 1.0 | Strong: no overlap | Strong: no gaps |
| 0.70 - 0.84 | Acceptable: minor boundary issues | Acceptable: minor gaps documented |
| 0.50 - 0.69 | Weak: redefine boundaries | Weak: add missing components |
| < 0.50 | Failed: re-cut this level | Failed: fundamental restructuring |
Quality gate: >= 0.70 for export, >= 0.85 for confidence.
See references/validation_heuristics.md for the complete rubric.
Each atom maps to an SDK primitive based on execution type:
| Execution Type | SDK Primitive | Model Tier |
|---|---|---|
| agent | Agent + Runner.run() | haiku / sonnet / opus based on complexity |
| human | Human-in-the-loop (webhook, ask_user_question, manual) | N/A |
| tool | Direct tool call | N/A |
| external | REST API, gRPC, message queue | N/A |
Branch orchestration types map to Python patterns:
await callsasyncio.gather()if/elif routingfor with termination conditionSee references/agent_sdk_mapping.md for complete mapping rules.
This plugin includes an MCP App server that provides interactive tree visualization. When the mece-decomposer MCP server is connected, four MCP tools are available:
| MCP Tool | Purpose |
|---|---|
mece-decompose | Render decomposition as interactive collapsible tree with score gauges |
mece-validate | Display validation report with clickable issue navigation |
mece-refine-node | Edit a node from the UI (app-only, not model-invoked) |
mece-export-sdk | Preview generated Agent SDK code with copy button |
On surfaces with MCP App support (Claude Desktop, Cowork, Claude.ai), these display a React UI. On CLI surfaces, they return text summaries.
The MCP server starts automatically when this plugin is installed. The bundled server at mcp-app/dist/index.cjs is self-contained (no node_modules needed).
This plugin uses a stdio MCP server (auto-started by Claude Code). Consequences:
The decomposition JSON schema is defined in references/output_schema.md. Key structure:
{
"metadata": { "scope", "trigger", "completion_criteria", "decomposition_dimension", ... },
"tree": { "id", "label", "node_type", "children|atom_spec", ... },
"cross_branch_dependencies": [{ "from_id", "to_id", "dependency_type", ... }],
"validation_summary": { "me_score", "ce_score", "overall_score", "issues", ... }
}
Deterministic validation via script:
uv run mece-decomposer/skills/mece-decomposer/scripts/validate_mece.py <decomposition.json>
| Reference | Purpose |
|---|---|
references/output_schema.md | Full JSON schema for decomposition output |
references/decomposition_methodology.md | Step-by-step decomposition procedure |
references/sme_interview_protocol.md | SME interview protocol (5 phases) |
references/validation_heuristics.md | ME/CE scoring rubrics and depth-adaptive rigor |
references/agent_sdk_mapping.md | Tree element to SDK primitive mapping rules |
scripts/validate_mece.py | Deterministic structural validation |
Concept by Ron Zika.
npx claudepluginhub fblissjr/fb-claude-skills --plugin mece-decomposerGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.