From ccb371e0b7917420f5ca2c58433f5fc057211f04 Mon Sep 17 00:00:00 2001 From: Trevin Chow Date: Fri, 27 Mar 2026 19:49:52 -0700 Subject: [PATCH] feat(ce-plan): add decision matrix form, unchanged invariants, and risk table format (#417) Co-authored-by: Claude Opus 4.6 (1M context) --- plugins/compound-engineering/skills/ce-plan/SKILL.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/plugins/compound-engineering/skills/ce-plan/SKILL.md b/plugins/compound-engineering/skills/ce-plan/SKILL.md index ca8d609..2feea54 100644 --- a/plugins/compound-engineering/skills/ce-plan/SKILL.md +++ b/plugins/compound-engineering/skills/ce-plan/SKILL.md @@ -311,6 +311,7 @@ Before detailing implementation units, decide whether an overview would help a r | Data pipeline or transformation | Data flow sketch | | State-heavy lifecycle | State diagram | | Complex branching logic | Flowchart | +| Mode/flag combinations or multi-input behavior | Decision matrix (inputs -> outcomes) | | Single-component with non-obvious shape | Pseudo-code sketch | **When to skip it:** @@ -508,10 +509,13 @@ deepened: YYYY-MM-DD # optional, set when the confidence check substantively st - **State lifecycle risks:** [Partial-write, cache, duplicate, or cleanup concerns] - **API surface parity:** [Other interfaces that may require the same change] - **Integration coverage:** [Cross-layer scenarios unit tests alone will not prove] +- **Unchanged invariants:** [Existing APIs, interfaces, or behaviors that this plan explicitly does not change — and how the new work relates to them. Include when the change touches shared surfaces and reviewers need blast-radius assurance] ## Risks & Dependencies -- [Meaningful risk, dependency, or sequencing concern] +| Risk | Mitigation | +|------|------------| +| [Meaningful risk] | [How it is addressed or accepted] | ## Documentation / Operational Notes @@ -542,7 +546,9 @@ For larger `Deep` plans, extend the core template only when useful with sections ## Risk Analysis & Mitigation -- [Risk]: [Mitigation] +| Risk | Likelihood | Impact | Mitigation | +|------|-----------|--------|------------| +| [Risk] | [Low/Med/High] | [Low/Med/High] | [How addressed] | ## Phased Delivery