Our review
Creates Architecture Decision Records (ADRs) to document important architectural and design decisions in a structured format.
Strengths
- Clear, repeatable structure for documenting decisions
- Numbering and slug system for easy retrieval
- Supports quick inline input mode
- Encourages consideration of alternatives and consequences
Limitations
- Requires discipline to keep records up to date
- Does not automatically handle retroactive changes or superseded decisions
- Depends on user providing complete information
Use this skill when making a significant technical decision that needs to be tracked and referenced later.
Avoid using it for trivial choices or quick notes that do not require formal documentation.
Security analysis
SafeThe skill only reads and writes files within a designated documentation directory (.claude/memory/decisions/). It does not execute any external commands, network calls, or destructive actions. File path sanitization (lowercase, underscore replacement, removal of special characters) reduces risk of path traversal. No sensitive data is exfiltrated. The operations are purely for creating decision records based on user input.
No concerns found
Examples
I need to document our decision to use PostgreSQL as the primary database. We considered MySQL and MongoDB but chose PostgreSQL for its advanced indexing and ACID compliance./memory-decide Use JWT for API auth because it's stateless and works well with microservices. Considered session cookies but they don't scale across services.description: Create decision records (ADRs) to document architectural and design decisions. Use when making significant technical choices.
Memory Decide
Create a new decision record (ADR) in the memory system.
Instructions
When this skill is triggered, perform the following steps:
Step 1: Find Next Decision Number
Scan the .claude/memory/decisions/ directory for existing decision files.
Decision files follow the format: NNNN_decision_slug.md
Examples:
0001_database_choice.md0002_authentication_strategy.md
Find the highest existing number and increment by 1. If no files exist, start at 0001.
Step 2: Prompt for Decision Details
Ask the user for the following information:
Required:
- Decision Title: Brief title describing the decision
- Context: What problem or situation led to this decision?
- Options Considered: What alternatives were evaluated?
- Chosen Option: Which option was selected and why?
Optional: 5. Consequences: What changes as a result of this decision? 6. Status: Accepted (default), Superseded, or Deprecated
Example prompt:
To create a decision record, please provide:
1. **Title** (required): What is this decision about?
Example: "Use PostgreSQL for primary database"
2. **Context** (required): What problem are we solving?
3. **Options** (required): What alternatives did you consider?
Format each option with pros/cons if possible
4. **Decision** (required): What did you choose and why?
5. **Consequences** (optional): What changes as a result?
Step 3: Generate Slug
Create a URL-friendly slug from the title:
- Convert to lowercase
- Replace spaces with underscores
- Remove special characters
- Limit to 50 characters
Step 4: Create Decision File
Create the file at .claude/memory/decisions/NNNN_slug.md using this template:
# Decision NNNN: [Title]
**Date**: YYYY-MM-DD
**Status**: Accepted
## Context
[What issue are we facing? What motivated this decision?]
## Options Considered
### Option 1: [Name]
[Description]
- **Pros**: [advantages]
- **Cons**: [disadvantages]
### Option 2: [Name]
[Description]
- **Pros**: [advantages]
- **Cons**: [disadvantages]
## Decision
[What we chose and the rationale behind the choice]
## Consequences
[What changes as a result of this decision]
- [Positive consequence]
- [Negative consequence or trade-off]
- [Required follow-up actions]
Step 5: Confirm Creation
Display confirmation to user:
## Decision Record Created
**File**: `.claude/memory/decisions/NNNN_slug.md`
**Title**: Decision NNNN: [Title]
**Date**: YYYY-MM-DD
**Status**: Accepted
### Summary
[Brief summary of the decision]
### Options Evaluated
1. [Option 1 name]
2. [Option 2 name]
### Chosen: [Selected option]
---
Decision recorded. Reference this as "Decision NNNN" in future discussions.
File Paths
- Decisions directory:
.claude/memory/decisions/ - File format:
NNNN_slug.md(zero-padded 4-digit number)
Error Handling
- If
.claude/memory/decisions/doesn't exist, create it - If user provides incomplete info, ask follow-up questions
- If slug collision occurs, append number:
0005_api_design_2.md
Quick Decision Mode
If user provides all info inline, skip the prompts and create directly:
User: /memory-decide Use JWT for API auth because it's stateless and works well with microservices. Considered session cookies but they don't scale across services.
Claude parses the input and creates the record immediately.
Next.js App Router Expert
Development
A skill that turns Claude into a Next.js App Router expert.
README Generator
Development
Creates professional and comprehensive README.md files for your projects.
API Documentation Writer
Development
Generates comprehensive API documentation in OpenAPI/Swagger format.