This skill should be used when the user asks to "evaluate alternatives", "make technology choice", "document decision", or mentions "technology choice", "alternatives", "trade-offs", "decision...
Provide a complete framework for technology decisions: evaluate alternatives against consistent criteria, make informed choices, and document decisions so future maintainers understand WHY choices were made.
1. EVALUATE ā 2. DECIDE ā 3. DOCUMENT
Options Best fit For posterity
For each decision point, consider 2-3 alternatives minimum.
Quick Criteria Reference:
| Criterion | Key Question |
|---|---|
| Fit | Does it solve the problem fully? |
| Complexity | How hard to implement and maintain? |
| Team Familiarity | Does the team know this tech? |
| Ecosystem | Good docs, active community? |
| Scalability | Will it grow with the project? |
| Security | Good security posture? |
| Cost | Total cost of ownership? |
| Brownfield Alignment | Fits existing stack? |
See EVALUATION-MATRIX.md for detailed criteria, scoring, and technology category comparisons.
Score options against weighted criteria. Document:
Quick Comparison Format:
| Option | Pros | Cons | Alignment | Verdict |
|---|---|---|---|---|
| Option A | + Fast, + Simple | - New dep | High | Best |
| Option B | + Familiar | - Slow | Medium | Good |
| Option C | + Feature-rich | - Complex | Low | Poor |
Record decisions in ADR format for future maintainers.
Quick Decision Record:
## Decision: [Title]
**Status**: Proposed | Accepted | Deprecated
**Context**: [Why this decision is needed]
**Decision**: [What we chose]
**Rationale**: [Why - connect to criteria]
**Trade-offs Accepted**: [What we gave up]
See DECISION-RECORD.md for full ADR format, consequences, and dependency tracking.
Decisions go in constraints-and-decisions.md with this structure:
# Constraints and Decisions: {feature_id}
## Summary
| ID | Decision | Choice | Rationale |
|----|----------|--------|-----------|
| D-001 | Auth mechanism | JWT | Stateless, scalable |
| D-002 | Session storage | PostgreSQL | Existing stack |
---
## Decision 1: [Title]
[Full decision record]
---
## Dependencies
| Decision | Depends On | Impacts |
|----------|------------|---------|
| D2 | D1 | Session table schema |
Always check existing stack first:
| Scenario | Alignment | Action |
|---|---|---|
| Existing dep solves problem | High | Prefer reuse |
| New dep, same ecosystem | Medium | Document justification |
| New dep, different ecosystem | Low | Strong justification needed |
| Conflicting with existing | None | Avoid or escalate |
Before finalizing:
Evaluation:
Documentation:
ā "We evaluated Option A and chose it" ā "We compared Option A, Option B, and Option C against weighted criteria"
ā Choosing newest technology because it's trending ā Require strong justification for unfamiliar dependencies over existing stack
ā "We chose JWT because it's better" ā "We chose JWT because: stateless (fits our scale), team familiarity (3/4 devs), ecosystem support"
ā Choosing Rust for a Python team without accounting for learning curve ā Weight team familiarity criterion appropriately in evaluation matrix
ā Only listing positives of chosen option ā Explicitly document what was given up: "Trade-off: JWT requires token refresh handling"
ā Decisions documented in isolation ā Map decision dependencies: "D2 (session storage) depends on D1 (auth mechanism)"
ā Making decisions that violate project principles ā Check alignment with constitution before finalizing