/aide:decidefrom aide
Guides through a structured decision-making workflow for architectural and technical choices, from identifying options to recording the final decision.
Ships in aide. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Recommended model tier: smart (opus) - this skill requires complex reasoning
Formal decision-making workflow for architectural and technical choices.
When facing a significant technical decision, this workflow guides you through structured analysis to make an informed choice that will be recorded and respected by all future sessions and agents.
Ask the user to clarify:
Example questions:
Research and propose options:
Output format:
## Options
1. **[Option A]** - Brief description
- Best for: [use case]
2. **[Option B]** - Brief description
- Best for: [use case]
3. **[Option C]** - Brief description
- Best for: [use case]
For each option, evaluate:
Output format:
## Analysis
| Option | Pros | Cons | Fit |
| -------- | ------------ | -------------- | --------------------- |
| Option A | Fast, simple | Limited scale | Good for MVP |
| Option B | Scalable | Complex setup | Good for growth |
| Option C | Flexible | Learning curve | Good if team knows it |
Consider:
Provide a clear recommendation with rationale:
## Recommendation
I recommend **[Option]** because:
1. [Primary reason tied to requirements]
2. [Secondary benefit]
3. [Risk mitigation]
This choice [addresses constraint X] while [enabling future Y].
Ask for confirmation:
Wait for explicit user approval before recording:
Store the decision using the ./.aide/bin/aide decision set CLI command via Bash:
./.aide/bin/aide decision set "<topic-slug>" "<decision summary>" \
--rationale="<why this was chosen>" --by="<git-username>"
Applicability is optional. Leave it blank by default for user-created decisions. Blank adds no restriction and needs no label or classification question. Respect any boundaries in the decision's wording. When the agreed decision explicitly applies to only part of the work, record that boundary as freeform text or structured selectors:
./.aide/bin/aide decision set customer-web-rendering "Use server-side rendering." \
--context='{"applicability":"Only the customer-facing web app; exclude the admin app."}'
./.aide/bin/aide decision set billing-errors "Wrap errors with operation context." \
--context='{"applicability":{"kind":"context","any_of":[{"language":"go","paths":["services/billing/**"]}]}}'
All decisions remain visible. Text, labels and repository-relative path patterns are
guidance for the agent, not automatic file filters. Each any_of entry is an alternative;
fields within an entry apply together, every listed tool is required, and paths within
an entry are alternatives. Use forward slashes for paths on every platform.
On edits, omit --context to preserve existing applicability and supersession. If
changing it, inspect the current decision first: --context replaces both fields,
and --context='{}' clears both. Specificity alone does not override another topic;
record an agreed exception with explicit, nonblank applicability and a supersedes
list naming the overridden topics. Updating the same topic still appends a new revision.
Attribution (--by): use the git username — the GitHub handle, as in the remote
URL — not a display name. Never guess a person's identifier: if you do not know it, omit
--by rather than inventing one. The store is append-only, so a wrong byline cannot be
edited, only superseded by a new version whose sole change is the name.
Binary location: The aide binary is at .aide/bin/aide. If it's on your $PATH, you can use aide directly.
Topic naming:
auth-strategy, database-choice, api-designuser-auth-method not just authpayments-queue-strategyVerify the decision was stored:
./.aide/bin/aide decision get "<topic-slug>"
User: help me decide how to handle background jobs
Claude: [IDENTIFY]
What kind of background jobs do you need to handle?
- Scheduled tasks (cron-like)?
- Async processing (triggered by events)?
- Long-running workers?
What's your current stack and scale expectations?
User: Async processing for email sending and webhook deliveries.
Stack is Node.js/TypeScript, expecting 10K jobs/day initially.
Claude: [EXPLORE]
## Options
1. **BullMQ (Redis)** - Production-ready Node.js queue
- Best for: Node.js apps needing reliability + Redis features
2. **AWS SQS + Lambda** - Serverless queue
- Best for: AWS-native apps, variable load
3. **Database-backed queue** - Simple polling
- Best for: Low volume, no new infrastructure
4. **RabbitMQ** - Enterprise message broker
- Best for: Complex routing, multi-language
[ANALYZE]
| Option | Pros | Cons | Fit |
|--------|------|------|-----|
| BullMQ | Native TS, retries, dashboard | Needs Redis | Excellent |
| SQS+Lambda | Serverless, scales | Cold starts, AWS lock-in | Good |
| DB queue | Simple, no new infra | Polling overhead, scale limits | MVP only |
| RabbitMQ | Powerful routing | Overkill, operational burden | Over-engineered |
[RECOMMEND]
I recommend **BullMQ with Redis** because:
1. Native TypeScript support matches your stack
2. Built-in retries, delays, and rate limiting for email/webhooks
3. Bull Board provides visibility without custom tooling
4. 10K/day is well within comfortable range, scales to millions
Redis adds infrastructure but enables other features (caching, sessions).
Do you want to proceed with this decision?
User: yes, let's go with BullMQ
Claude: [RECORD]
[Calls ./.aide/bin/aide decision set via Bash]
```bash
./.aide/bin/aide decision set "background-jobs-queue" "Use BullMQ with Redis for background job processing (emails, webhooks)" --rationale="Native TypeScript support, built-in retries/delays/rate-limiting, Bull Board for visibility, 10K/day well within capacity. Rejected: SQS+Lambda (AWS lock-in, cold starts), DB queue (limited scale), RabbitMQ (over-engineered)"
Decision recorded. Future sessions will follow this architectural choice.
## Integration
Decisions stored via `./.aide/bin/aide decision set` are:
1. Persisted in the aide memory database
2. Injected into future session contexts at startup
3. Visible to swarm agents (they won't contradict decisions)
4. Queryable via `./.aide/bin/aide decision get`, `./.aide/bin/aide decision list`, or the MCP tools `decision_get`/`decision_list`
## When to Use This Skill
**Good candidates for formal decisions:**
- Authentication/authorization strategy
- Database technology choice
- API design patterns
- State management approach
- Testing strategy
- Deployment architecture
- Third-party service selection
**NOT needed for:**
- Minor implementation details
- Obvious choices with no trade-offs
- Temporary/experimental code
- Personal preferences (use memories instead)
## Changing Decisions
Decisions can be superseded:
1. Run `/aide:decide` again for the same topic
2. New decision replaces old (history preserved)
3. Use `mcp__plugin_aide_aide__decision_history` to see evolution
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub jmylchreest/aide --plugin aide26 skills in this plugin
/code-searchLocate definitions, investigate callers and change impact, explore file structure, and read selected sourceOther plugins' skills for the same job