DE

decision-capture

Captures the 'why' behind project decisions when human stakeholders reject or challenge proposals.

Install

mkdir -p .claude/skills/decision-capture && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/5103" && unzip -o skill.zip -d .claude/skills/decision-capture && rm skill.zip

Installs to .claude/skills/decision-capture

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Capture patine (decision wisdom) at Gates when KO or challenge occurs
69 chars✓ has a “when” trigger
Beginner

Key capabilities

  • Categorize decisions into technical, UX, or process buckets
  • Capture context for rejected proposals or design challenges
  • Identify recurring patterns for Kaizen improvements
  • Log rationale for human-overridden AI recommendations
  • Maintain historical logs of discarded alternatives

How it works

Triggers a structured prompt-response loop during detected gate-check events to log human-provided context.

Inputs & outputs

You give it
Decision rationale and categorization
You get back
Timestamped decision record in project metadata

When to use decision-capture

  • Record why a specific architecture was chosen
  • Document UX flow revisions
  • Log rationale for rejected scope changes

About this skill

Decision Capture Skill

Lightweight skill for capturing the "patine" - the accumulated wisdom of why decisions were made and alternatives rejected. Triggered at Gates when human provides KO or challenges a proposal.

When to Use

  • At any Gate when human provides KO
  • When human challenges or rejects a proposal
  • When debug skill finds a pattern worth remembering
  • When significant technical decision is made

Trigger Conditions

TriggerContextType
Gate 1 KOWireframe rejectedDecision
Gate 2 KOScope option rejectedDecision
Gate 3 KO/BLOCKPhasing challengedDecision
Gate 4 KOTechnical approach rejectedDecision
Gate 5 ChangesPR review feedbackDecision
Debug PatternRecurring issue foundKaizen
DIG 3+ timesSame wireframe refined repeatedlyKaizen
Same error fixed 2+ timesFix pattern emergedKaizen
User corrects assumptionAI was wrong about somethingHansei
Takt warning exceededPhase took longer than targetHansei
Jidoka Tier 2/3Escalation to human requiredHansei

Phase 1: Detect Decision Type

Categorize the decision:

TypeSignalExample
TechnicalCode, architecture, library"Don't use GraphQL subscriptions"
UXInteraction, visual, flow"Sidebar navigation, not top nav"
ProcessWorkflow, phasing, priority"Ship auth before tables"

Phase 2: Prompt for Rationale

Ask for brief rationale (keep it light):

I'll note this decision for future reference.

**In one sentence, why this decision?**

Examples:
- "We tried X in 2024, broke production"
- "Users missed this in testing"
- "Conflicts with our caching strategy"

(Press Enter to skip if you prefer not to explain)

If human declines: Record decision without rationale (still valuable).

Phase 3: Attribute

Capture metadata:

FieldSource
WhoCurrent user (from context)
WhenCurrent date
DomainFrom branch name or changed files
GateWhich Gate triggered capture
Related TaskNotion task ID if available

Phase 4: Store

Layer 1: Notion (Default - Always)

Use Notion MCP to create record:

API-create-page:
  parent: { database_id: "[DECISION_PATINE_DB_ID]" }
  properties:
    Title: { title: [{ text: { content: "[Decision summary]" }}]}
    Domain: { select: { name: "[domain]" }}
    Type: { select: { name: "[Technical/UX/Process]" }}
    Decision: { rich_text: [{ text: { content: "[What we decided]" }}]}
    Rationale: { rich_text: [{ text: { content: "[Why]" }}]}
    Rejected: { rich_text: [{ text: { content: "[What we didn't do and why]" }}]}
    Impact: { select: { name: "[Low/Medium/High]" }}
    Gate: { select: { name: "[Gate 1/2/3/4/5/Debug]" }}

Layer 2: ADR File (If High Impact)

If Impact = High or Type = Technical with cross-domain effect:

  1. Get next ADR number: ls docs/decisions/ | wc -l
  2. Create file: /docs/decisions/NNN-[slug].md
  3. Use ADR template

ADR Template:

# ADR-[NNN]: [Title]

**Date**: [YYYY-MM-DD]
**Status**: Accepted
**Domain**: [domain]
**Captured at**: Gate [N]

## Context

[1-2 sentences: What problem were we solving?]

## Decision

[What we chose to do]

## Rationale

[Why this approach - the positive case]

## Rejected Alternatives

### [Alternative Name]
**Why not**: [Reason]

## Consequences

- [Trade-off 1]
- [Trade-off 2]

## References

- Notion: [link to Decision Patine record]
- Task: [link to related task if applicable]

Layer 3: Inline Comment (If Micro/Code-Specific)

For small code-level decisions during implementation:

// ADR: [Brief decision]. [Why not alternative]. —@[initials] [YYYY-MM]

Example:

// ADR: No useMemo here - profiling showed <1ms gain, adds complexity. —@mc 2026-01

Phase 5: Confirm

Output confirmation:

**Noted:** [Decision summary]

Stored in Decision Patine database.
[If ADR created: Created ADR-[NNN] in /docs/decisions/]

Continuing with workflow...

Kaizen/Hansei Capture (NEW)

Automatic learning capture without user prompts. These triggers capture patterns and reflections silently.

Automatic Triggers

These captures happen automatically without prompting user:

Kaizen (pattern emerged):

  • Wireframe DIG'd 3+ times → Capture the pattern that emerged
  • Same error fixed 2+ times → Capture the fix pattern
  • Repeated code pattern → Capture abstraction opportunity

Hansei (reflection):

  • User corrects AI assumption → Capture what was wrong
  • Phase exceeded takt warning → Capture why it took longer
  • Jidoka escalation → Capture what blocked progress

Kaizen Format

Type: KAIZEN
Source: [Phase] [Loop/Commit]
Learning: "[What pattern emerged]"
Category: [UX_PATTERN | TECHNICAL | PROCESS]
Impact: LOW | MEDIUM | HIGH

Example:

Type: KAIZEN
Source: DIVERGE Loop 3
Learning: "Invite modals benefit from email preview side panel"
Category: UX_PATTERN
Impact: MEDIUM

Hansei Format

Type: HANSEI
Source: [Phase] [Loop/Commit]
Learning: "[What we learned from the mistake/delay]"
Category: [ASSUMPTION | COMPLEXITY | PROCESS]
Impact: LOW | MEDIUM | HIGH

Example:

Type: HANSEI
Source: CONVERGE
Learning: "Original scope too ambitious - exceeded 40min takt warning"
Category: COMPLEXITY
Impact: LOW

Silent Capture Rules

  • Do NOT prompt user for rationale on Kaizen/Hansei triggers
  • Capture automatically based on observed patterns
  • Include in session-journal sync at end of session
  • Only HIGH impact Kaizen/Hansei create immediate ADR files

Session Aggregation

Instead of immediately creating Notion entries for each:

  1. Collect Kaizen/Hansei entries in memory during session
  2. Aggregate in session-journal sync at end (Phase 5 of notion-sync)
  3. Only HIGH impact items create immediate ADR files

Querying Patine

Before proposing new patterns, query existing decisions:

API-query-database:
  database_id: "[DECISION_PATINE_DB_ID]"
  filter:
    property: "Domain"
    select:
      equals: "[current domain]"

Use results to:

  1. Avoid re-proposing rejected alternatives
  2. Understand existing constraints
  3. Reference past decisions in new proposals

Anti-Patterns

DON'T:

  • Require rationale for every micro-decision
  • Create ADR files for non-architectural choices
  • Capture decisions that are already in code comments
  • Ask "why" more than once if human declines

DO:

  • Capture at the moment of friction (KO, challenge)
  • Accept "we tried this before, it failed" as valid rationale
  • Keep entries scannable (1-2 sentences)
  • Link to evidence when available (PRs, issues, metrics)

Integration

This skill is invoked by:

  • ask.mdc - Gates 1, 2, 3 on KO
  • plan.mdc - Gate 4 on option rejection
  • push-pr.mdc - Gate 5 on changes requested
  • debug - When pattern worth remembering is found

Notion Database Schema

Database: Decision Patine

PropertyTypeRequired
TitleTitleYes
DomainSelectYes
TypeSelectYes
DecisionRich TextYes
RationaleRich TextNo
RejectedRich TextNo
Challenged ByPersonNo
DateDateYes
ImpactSelectYes
GateSelectNo
Related TaskRelationNo
ADR FileURLNo

Invocation

Invoked automatically at Gates on KO, or manually with "use decision-capture skill".

When not to use it

  • When working on trivial tasks that don't involve long-term architectural impact
  • When speed is the only metric and documentation is explicitly de-prioritized

Limitations

  • Relies entirely on the human participant to provide accurate rationale
  • Requires active intervention at specific workflow gates

How it compares

It focuses on capturing the 'why' behind decisions rather than just documenting the 'what' or final code state.

Compared to similar skills

decision-capture side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
decision-capture (this skill)17moNo flagsBeginner
pmbok-project-management389moNo flagsIntermediate
project-planner329moReviewIntermediate
spec-kit-workflow118moNo flagsIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

pmbok-project-management

jgtolentino

Comprehensive PMP/PMBOK project management methodologies and best practices. Use this skill when users need guidance on project management processes, templates, knowledge areas, process groups, tools, techniques, or certification preparation. Covers all 10 PMBOK Knowledge Areas and 5 Process Groups with practical templates, frameworks, and industry-standard approaches. Includes risk management, stakeholder engagement, schedule management, cost control, quality assurance, and resource planning.

38183

project-planner

adrianpuiu

Comprehensive project planning and documentation generator for software projects. Creates structured requirements documents, system design documents, and task breakdown plans with implementation tracking. Use when starting a new project, defining specifications, creating technical designs, or breaking down complex systems into implementable tasks. Supports user story format, acceptance criteria, component design, API specifications, and hierarchical task decomposition with requirement traceability.

32115

spec-kit-workflow

jmanhype

Guides specification-driven development workflow. Automatically invoked when discussing new features, specifications, technical planning, or implementation tasks. Ensures proper workflow phases (specify → clarify → plan → checklist → tasks → analyze → implement).

11111

product-manager-toolkit

davila7

Comprehensive toolkit for product managers including RICE prioritization, customer interview analysis, PRD templates, discovery frameworks, and go-to-market strategies. Use for feature prioritization, user research synthesis, requirement documentation, and product strategy development.

3280

planning-agent

parcadei

Planning agent that creates implementation plans and handoffs from conversation context

531

pdd

mikeyobrien

Transforms a rough idea into a detailed design document with implementation plan. Follows Prompt-Driven Development — iterative requirements clarification, research, design, and planning.

66

Search skills

Search the agent skills registry