Skip to content
decision-skill logo

Decision Documentation Skill

decision-skill

Use when making architectural or business logic decisions during conversations - adds entry to DECISIONS.md

SKILL.md

Full skill instructions

Decision Documentation Skill

Records architectural (ADR) and business logic (BIZ) decisions to DECISIONS.md.

When to Use

  • Making an architectural choice (framework, pattern, structure)
  • Defining business logic rules (calculations, limits, behavior)
  • Choosing between multiple valid approaches
  • After debugging reveals a non-obvious behavior requirement

Decision Types

PrefixUse ForExamples
ADRArchitectureTech stack, patterns, code organization
BIZBusiness logicCalculations, rules, validation logic

Workflow

1. Determine Next Number

Read DECISIONS.md and find highest ADR-NNN or BIZ-NNN number:

grep -E "^### (ADR|BIZ)-[0-9]+" DECISIONS.md | tail -1

Use next number in sequence (project uses single sequence for both types).

2. Determine Date Section

Decisions are grouped by date. Check if today's date section exists:

  • If yes: Add under existing date header
  • If no: Create new date section at TOP (after template, before previous entries)

3. Add Decision Entry

Format (add at TOP of decisions, newest first):

## YYYY-MM-DD: {Category}

### {ADR|BIZ}-NNN: {Title}

**Context:** What situation prompted this decision?

**Options considered:** (if applicable)
1. Option A - description
2. Option B - description

**Decision:** What was decided?

**Reasoning:** Why this choice?

4. Commit

git add DECISIONS.md
git commit -m "docs: add {ADR|BIZ}-NNN {short-title}"

Examples

Architecture decision:

### ADR-010: Use Svelte Stores for State

**Context:** Need to share vehicle data between components.

**Decision:** Use Svelte stores (not context or props drilling).

**Reasoning:** Stores are simpler, reactive, and match existing patterns in codebase.

Business logic decision:

### BIZ-012: Round Consumption to 2 Decimal Places

**Context:** Display precision for l/​100km values.

**Decision:** Always round to 2 decimal places for display.

**Reasoning:** Matches Excel output and is sufficient precision for legal documents.

Notes

  • Keep entries concise - future you needs quick scanning
  • Always include reasoning - the "why" matters most
  • Link to tech debt if decision creates known limitations
  • Use "Options considered" only when multiple approaches were evaluated

More skills from majiayu000

xiaohongshu logo
majiayu000/claude-arsenal

xiaohongshu

xiaohongshu

286 148
View
agent-task-conductor logo
majiayu000/claude-skill-registry

agent-task-conductor

Conduct multi-agent task orchestration and workflow coordination.

663 1
View
conductor-setup logo
majiayu000/claude-skill-registry

conductor-setup

Initialize project with Conductor artifacts (product definition,

663 1
View
animation-designer logo
majiayu000/claude-skill-registry

animation-designer

Expert in web animations, transitions, and motion design using Framer Motion and CSS

663 1
View
diagramming logo
majiayu000/claude-skill-registry

diagramming

Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...

663 1
View
h3-pg logo
majiayu000/claude-skill-registry-data

h3-pg

PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.

23 1
View
conductor-development logo
majiayu000/claude-skill-registry

conductor-development

Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...

663 1
View
conductor-status logo
majiayu000/claude-skill-registry

conductor-status

Display project status, active tracks, and next actions

663 1
View
dockerization logo
majiayu000/claude-skill-registry

dockerization

Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.

663 1
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View