/waris-skill-library:warisskill-system-design-decision-makingfrom waris-skill-library
Use when a genuinely significant, hard-to-reverse technical choice is being made — database engine, auth strategy, framework/major library swap, a boundary that's expensive to undo later. Trigger by noticing the decision moment yourself (a real alternative was weighed and rejected, or the user says "we decided to..." / "the reason we chose X over Y..."), not just by explicit request. Do NOT reach for this on routine or easily reversible decisions — most day-to-day architectural-flavored choices on solo/small-team work don't warrant a written record. Companion to warisskill-system-design-domain-modeling and warisskill-system-design-distributed-patterns — this skill governs whether a decision gets documented, not whether a pattern gets applied.
Ships in waris-skill-library. 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.
Most decisions, even ones that feel architectural in the moment, don't need a written record on solo/small-team work. Write one only when the decision is hard to reverse and high blast-radius — the kind of thing that, gotten wrong, costs a real rewrite or migration to fix:
Routine choices — which state management library, how a component is structured, most "we could do A or B" moments that are cheap to change later — get decided and moved on, not documented. Documenting everything is overhead nobody reads on a solo project; it becomes noise that hides the ADRs that actually matter.
Proactively — without being asked — when a hard-to-reverse choice is being made or was just made:
docs/adr/ or write a file without that go-ahead.If the user says "ADR this" directly, skip the flagging step and go straight to drafting.
Lightweight Nygard-style format:
# ADR-NNNN: [Decision Title]
**Date**: YYYY-MM-DD
**Status**: proposed | accepted | deprecated | superseded by ADR-NNNN
## Context
[2-5 sentences: the situation and constraints that forced this decision]
## Decision
[1-3 sentences: what was decided]
## Alternatives Considered
### Alternative: [Name]
- **Why not**: [specific rejection reason]
## Consequences
### Positive
- ...
### Negative / Risks
- ...
Keep it short — the value is why, not exhaustive documentation. A 5-sentence ADR that captures the real reasoning beats a template fully filled out with filler.
docs/adr/ doesn't exist yet, ask before creating it (with a
README.md index).docs/adr/NNNN-title.md only
after approval.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub sodiqabdulwaris/waris-skill-library --plugin waris-skill-library129 skills in this plugin
/api-and-interface-designGuides stable API and interface design. Use when designing APIs, module boundaries, or any public interface. Use when creating REST or GraphQL endpoints, defining type contracts between modules, or establishing boundaries between frontend and backend./browser-testing-with-devtoolsTests in real browsers via Chrome DevTools MCP. Use when building or debugging anything that runs in a browser. Use when you need to inspect the DOM, capture console errors, analyze network requests, profile performance, or verify visual output with real runtime data. Requires the chrome-devtools MCP server to be configured./