Enforces structured decision-making by creating Agent Decision Records (AgDR). Use when comparing libraries, choosing patterns, making architecture choices, or any "should I use X or Y" moment.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Decide?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/me2resh-decide-agent-decision-record)
---
name: decide
description: Enforces structured decision-making by creating Agent Decision Records (AgDR). Use when comparing libraries, choosing patterns, making architecture choices, or any "should I use X or Y" moment.
---
<!-- Mirrors commands/decide.md's Trigger/Process/Rules sections. Skill files
must be self-contained (no cross-file references at invocation time), so
this can't just point at the other file — if you change one, change both. -->
# /decide - Technical Decision Gate
Forces structured decision-making and creates an auditable Agent Decision Record (AgDR).
## Trigger
```
/decide "what you're deciding"
/decide which state management library to use
/decide how to implement caching
```
## Decision Gate Constraints
Before creating an AgDR, resolve these constraints:
- **Do not** document a decision before understanding the real problem
- **Do not** accept the first option — at least 2 viable alternatives must be compared. This applies to the full and the short template. When only one option is viable, still list at least one rejected option in the table, and say in one line why it is not viable
- **Do not** list pros/cons you haven't verified — base claims on evidence
- **Do not** write "better" or "faster" without specifics — use measurable criteria
- **Do not** proceed without naming the tradeoff you're accepting
## Process
### 1. Parse Decision Topic
Extract the decision topic from input. If unclear, ask:
```
What technical decision do you need to make?
```
### 2. Gather Context
Identify decision-relevant context only:
- What problem are we solving?
- What constraints exist?
- What's already in the codebase?
### 3. List Options
Present 2-4 options in a table:
```markdown
| Option | Pros | Cons |
|--------|------|------|
| Option A | ... | ... |
| Option B | ... | ... |
```
### 4. Make Decision
State the chosen option with justification.
### 5. Generate AgDR
Create file at `{project-root}/docs/agdr/AgDR-{NNNN}-{slug}.md`:
```markdown
---
id: AgDR-{NNNN}
timestamp: {ISO-8601: YYYY-MM-DDTHH:MM:SSZ}
agent: claude-code
model: {model-id from environment}
session: {session-id if available}
trigger: user-prompt
status: executed
---
# {short title}
> In the context of {context}, facing {concern}, I decided {decision} to achieve {goal}, accepting {tradeoff}.
## Context
{Decision-relevant context only - 2-4 bullets}
## Options Considered
| Option | Pros | Cons |
|--------|------|------|
| ... | ... | ... |
## Decision
Chosen: **{option}**, because {justification}.
## Consequences
- {consequence 1}
- {consequence 2}
## Artifacts
- {commit/PR links when available}
```
### 6. Validate the AgDR
Run the portable validator against the file you created. In a repository that
installs the package, use:
```bash
npx --no-install agdr-validate docs/agdr/AgDR-{NNNN}-{slug}.md
```
When working inside the AgDR repository itself, use the local CLI:
```bash
node packages/validator/cli.js docs/agdr/AgDR-{NNNN}-{slug}.md
```
If validation reports any issue, correct the record and run the command again.
Do not report the decision as complete until it returns exit code 0. The
repository-wide validator remains the CI check for duplicate IDs and all files:
```bash
node scripts/validate-agdr.js docs/agdr/AgDR-{NNNN}-{slug}.md
```
### 7. Get Next ID
```bash
# Find highest existing AgDR number
ls docs/agdr/AgDR-*.md 2>/dev/null | sort -V | tail -1 | grep -oP 'AgDR-\K\d+'
# Increment by 1, or start at 0001
```
### 8. Return Decision
Output the decision so work can continue:
```
Decision: {chosen option}
AgDR-{NNNN} created at docs/agdr/AgDR-{NNNN}-{slug}.md
Conformance: passed (`agdr-validate`)
Proceeding with: {brief action}
```
## Rules
1. **Always create AgDR** - No decision without a record
2. **Context is minimal** - Only what influenced the decision
3. **Y-statement required** - One-line summary at top
4. **Options table required** - At least 2 options compared
5. **Justification required** - "because" clause mandatory
6. **Timestamp precise** - Full ISO-8601 with time
7. **Slug from title** - Lowercase, hyphens, max 50 chars