본문으로 건너뛰기
cccskills
무료GitHub에 공개

decision-analysis

Stress-test a design decision with premortem/backcast analysis, then produce a risk-calibrated recommendation that maps to ADR fields. Use when: (1) Multiple competing architecture options, (2) Irreversible or high-risk design choices, (3) /discuss identifies a complex trade-off

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md7.4 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Decision Analysis

Stress-test a design decision using premortem (simulated failure) and backcasting (simulated success), then produce a structured recommendation that feeds directly into ADR artifacts.

This skill is a reference skill — called by /discuss during design exploration, not invoked standalone.

Invocation Mode

Reference-only. This skill does analysis and produces structured output for /discuss and adr-writer. It must not create work items, execute lifecycle verbs, perform VCS operations, or write implementation code.

When to Use

Use this analysis when the decision meets any of:

  • 2+ competing options with non-obvious trade-offs
  • Irreversible or hard-to-reverse architectural change
  • Cross-cutting impact (touches 3+ modules or affects external interfaces)
  • Normative RFC finalization with significant design risk

Do not use for: single-option bug fixes, doc-only changes, trivial refactors, or decisions already locked by existing normative RFCs.

Workflow

Step 1: Normalize the Decision

Extract from the discussion context:

  • Decision statement: One sentence describing what must be decided
  • Options: List of alternatives (always include "do nothing / status quo" if relevant)
  • Constraints: Existing RFCs, ADRs, phase requirements, technical limitations
  • Success criteria: What "this worked" looks like in measurable terms
  • Timeframe: Delivery window; infer a reasonable default if unstated

If any unresolved unknown would materially affect option ranking, reversibility, or constraints, ask clarifying questions before proceeding. If the remaining unknowns are minor, proceed with explicit assumptions. Ask at most 2 clarifying questions in one round.

Step 2: Define Scenario Anchors

Write two one-sentence anchors from the end of the timeframe:

  • Failure anchor: What "this went badly" looks like (measurable: regressions, compliance failures, blocked phases)
  • Success anchor: What "this worked well" looks like (measurable: tests green, phase advanced, no spec drift)

Note whether the decision is reversible or irreversible, and whether external dependence is low/medium/high.

Step 3: Premortem (Simulated Failure)

For the top 2-3 viable options, imagine each path fully failed. Generate:

  • Up to 5 internal causes (controllable: implementation choices, spec gaps, testing blind spots)
  • Up to 5 external causes (uncontrollable: dependency changes, upstream breakage, ecosystem shifts)

Make each cause specific and falsifiable. Include govctl-relevant failure modes:

  • Silent deviation from normative RFC (Law 2 violation)
  • Phase discipline breach (impl work during spec phase)
  • Hidden coupling across RFC boundaries
  • Migration or data integrity risks
  • Operational burden or governance overhead

Step 4: Backcast (Simulated Success)

For the same options, imagine each path succeeded strongly. Generate:

  • Up to 5 internal causes (controllable advantages)
  • Up to 5 external causes (tailwinds, timing, ecosystem support)

Include govctl-relevant success drivers:

  • Clean RFC-to-implementation traceability
  • Phase gates caught issues early
  • Strong clause coverage in tests
  • ADR alternatives documented well enough to avoid revisiting

Step 5: Decision Exploration Table

For each cause from Steps 3-4, assign:

CategoryControlReasonProbability (%)ConfidenceImpact (1-5)Early SignalCountermeasure

Calibration guide:

  • 10-19%: Unlikely but possible
  • 20-39%: Somewhat unlikely
  • 40-59%: Moderate likelihood
  • 60-79%: Likely
  • 80-95%: Highly probable

Use numbers, not vague terms.

Step 6: Recommend

Compare the options using the evidence above, rank them, and produce:

  • Verdict: Go, No-Go, or Conditional Go
  • Top option with 1-sentence rationale
  • Must-pass gates before commitment (e.g., govctl check clean, load test threshold, security review)
  • Pivot triggers: conditions that would change the recommendation
  • Smallest validating step: the smallest non-production validation that reduces uncertainty. Prefer design spike, interface sketch, decision matrix, or isolated experiment. Do not implement governed behavior before the RFC is normative and in impl phase.

For Conditional Go, specify exactly what conditions must be met.

Step 7: Mitigation Strategies

2-4 bullet points for each category:

  • Precommitments: Decisions locked now to prevent drift (e.g., "RFC clause X forbids approach Y")
  • Hedging: Feature flags, staged rollout, dual-write, rollback plan
  • Slow-sabotage prevention: Rules that prevent gradual scope creep or silent deviation
  • Setback response: What to do when things go wrong (not "try harder" — concrete next steps)

Step 8: Review Checkpoints

Align with govctl phase gates:

CheckpointPhase GateWhat to MeasureKill CriteriaScale Criteria
Early (before commitment)Before finalize normativeDesign evidence, assumptions, interface feasibilityCore assumptions falsifiedOption remains viable
Mid (implementation)Before advance testgovctl check clean, clause coverageSpec drift detectedAll clauses implemented
Late (release readiness)Before advance stableFull test suite, no regressionsCompliance failuresReady for stable

Output → ADR Mapping

When the analysis is complete, map outputs to ADR fields using the adr-writer skill:

Analysis OutputADR FieldHow to Map
Decision statement + constraintscontextProblem statement and constraints section
Premortem + backcast summariesconsequencesPositive from backcast, Negative from premortem (with mitigations)
Options rankingalternativesEach option with pros/cons from the exploration table
Top option + rationaledecision"We will X because..."
Must-pass gatesdecisionAdd under ### Implementation Notes
Related RFCs/ADRs discoveredrefsLink as references

Compact Mode

If the decision is moderate-risk (only 2 options, single-module scope, reversible), produce a compact analysis:

  1. One-paragraph context with anchors
  2. Abbreviated table (top 3 risks, top 3 levers only)
  3. Verdict with rationale
  4. Key mitigations (2-3 bullets)

Skip Steps 7-8 in compact mode.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Write effective Architecture Decision Records. Use when: (1) Creating a new ADR, (2) Recording a design decision, (3) User mentions ADR, decision, trade-off, or alternatives

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

lucifer1004/typub352026년 7월 11일 업데이트

commit

무료

Commit changes with govctl integration — check work item status, update journal or notes, and run govctl check

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

lucifer1004/typub352026년 7월 11일 업데이트

discuss

무료

Facilitate design discussion — research context, clarify requirements, draft RFC/ADR

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

lucifer1004/typub352026년 7월 11일 업데이트

gov

무료

Execute governed implementation workflow with work items, RFC/ADR checks, phase gates, testing, and closure. Use when: (1) User invokes /gov, (2) A non-trivial change needs work item tracking, (3) Implementation may require RFC/ADR handling

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

lucifer1004/typub352026년 7월 11일 업데이트

Write well-structured Verification Guards. Use when: (1) Creating a new guard, (2) Editing guard check commands or patterns, (3) User mentions guard, verification, or check

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

lucifer1004/typub352026년 7월 11일 업데이트

migrate

무료

Adopt govctl in an existing project. Discovers undocumented decisions, backfills ADRs/RFCs, annotates source code. Use when: (1) Project has no governance yet, (2) User mentions migrate, adopt, onboard, or brownfield

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

lucifer1004/typub352026년 7월 11일 업데이트

lucifer1004의 스킬 모두 보기

이 스킬의 문제 신고