adr-decision-extractionlisted
Install: claude install-skill existential-birds/beagle
# ADR Decision Extraction
Extract architectural decisions from conversation context for ADR generation.
## Detection Signals
| Signal Type | Examples |
|-------------|----------|
| Explicit markers | `[ADR]`, "decided:", "the decision is" |
| Choice patterns | "let's go with X", "we'll use Y", "choosing Z" |
| Trade-off discussions | "X vs Y", "pros/cons", "considering alternatives" |
| Problem-solution pairs | "the problem is... so we'll..." |
## Extraction Rules
### Explicit Tags (Guaranteed Inclusion)
Text marked with `[ADR]` is always extracted:
```
[ADR] Using PostgreSQL for user data storage due to ACID requirements
```
These receive `confidence: "high"` automatically.
### AI-Detected Decisions
Patterns detected without explicit tags require confidence assessment:
| Confidence | Criteria |
|------------|----------|
| **high** | Clear statement of choice with rationale |
| **medium** | Implied decision from action taken |
| **low** | Contextual inference, may need verification |
## Output Format
```json
{
"decisions": [
{
"title": "Use PostgreSQL for user data",
"problem": "Need ACID transactions for financial records",
"chosen_option": "PostgreSQL",
"alternatives_discussed": ["MongoDB", "SQLite"],
"drivers": ["ACID compliance", "team familiarity"],
"confidence": "high",
"source_context": "Discussion about database selection in planning phase"
}
]
}
```
### Field Definitions
| Field | Required | Descrip