Writes and reviews technical design documents (RFCs) and Architecture Decision Records (ADRs) with goals, non-goals, alternatives, risks, security, rollout, rollback, and observability. Use when planning a new system, service, or major feature, or recording architectural decisions.
Ships in engineering-core. 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.
Read when SKILL.md points to them.
A design doc exists to get the right decision made before code is written, and to record why it was made. Lead with the decision, show the alternatives you rejected and why, and make every claim checkable by a reviewer.
| Situation | Artifact |
|---|---|
| New service or system, cross-team API, shared data model change, work over ~2 engineer-weeks | Design doc (RFC) |
| Hard-to-reverse choice: new database, new infrastructure, new language or framework | Design doc, then an ADR for the decision |
| Security, privacy or compliance-sensitive change | Design doc with a real security section |
| One significant decision with limited scope (adopt a library, change a protocol, deprecate something) | ADR only |
| Small, local, easily reverted change | A good PR description is enough |
| Bug fix | No doc. Link the issue. |
Rule of thumb: write a doc when the decision is expensive to reverse or affects people outside the team.
docs/adr/, doc/adr/, docs/decisions/, docs/architecture/decisions/, docs/rfcs/, rfcs/, files named *adr* or *rfc*. Reuse the existing template, numbering and status values if they exist.| Section | What goes in it | Common failure |
|---|---|---|
| Header | Title, author, status (Draft / In review / Accepted / Rejected / Superseded), date, reviewers, decision maker | No named decision maker, so the doc never closes |
| Summary | 3-5 sentences: the problem, the proposed decision, the cost | Summary describes the problem but hides the decision |
| Context | Current state, why now, evidence (metrics, incidents, user requests) | "Everyone knows" context that new readers lack |
| Goals | Measurable outcomes ("p99 under 300 ms at 2k req/s") | Vague words: scalable, robust, seamless |
| Non-goals | Things a reasonable reader might expect that you will not do | Missing, so scope creeps during review |
| Proposal | Diagram, components, APIs, data model, flows, failure modes, capacity math | Code-level detail instead of design |
| Alternatives | Each option with honest pros, cons and why rejected | Strawman options set up to lose |
| Risks | Each risk with likelihood, impact and mitigation | Only technical risks; no people or schedule risks |
| Security and privacy | Data classification, authn/authz, PII flows, threat highlights, compliance | "N/A" with no reason |
| Rollout and migration | Phases, feature flags, backward compatibility, data migration, rollback plan | No way back once started |
| Observability and operations | Metrics, alerts, SLOs, dashboards, runbooks, on-call owner | "We'll add monitoring later" |
| Cost | Infrastructure and people cost, ongoing maintenance | Only build cost, never run cost |
| Open questions | Each with an owner and a date | Questions that silently become assumptions |
Use references/rfc-template.md for the full fill-in template.
Lead with the decision. A reviewer should know what is being asked of them after the first paragraph.
Use concrete numbers. Show back-of-envelope math for load, storage growth and cost. Example: "40M events/day ≈ 460/s average; assume 5x peak ≈ 2,300/s; at 1 KB each ≈ 40 GB/day before replication."
Mark estimates as estimates and say where every other number came from.
State assumptions explicitly so reviewers can attack them.
Separate facts, opinions and decisions. "Measured", "we believe", "we will".
Compare alternatives in one table using the same criteria:
| Criterion | Option A: Postgres | Option B: DynamoDB | Do nothing |
|---|---|---|---|
| Fits access pattern | ... | ... | ... |
| Operational cost | ... | ... | ... |
| Team experience | ... | ... | ... |
| Migration effort | ... | ... | ... |
| Reversibility | ... | ... | ... |
Draw diagrams as code so they live in version control. Mermaid renders natively on GitHub and GitLab. Use C4 levels: a context diagram (system and its users and neighbours) and a container diagram (deployable units and data stores) cover most docs. Add a sequence diagram for any non-trivial flow.
sequenceDiagram
Client->>API: POST /orders
API->>DB: insert order (status=pending)
API->>Queue: publish OrderCreated
API-->>Client: 202 Accepted
Keep it short. Most design docs fit in 2-6 pages. Move detail to appendices.
An ADR records one decision, its context and its consequences. Default to the Michael Nygard format unless the repo already uses another (MADR is a common alternative that adds explicit "Considered options").
ADR-0007: Use PostgreSQL for the orders service.Rules:
docs/adr/0007-use-postgresql-for-orders.md (or the repo's existing pattern). Numbers increase and are never reused.Superseded by ADR-0012.adr new "Title" creates the next numbered file and adr new -s 7 "Title" supersedes ADR 7.Use references/adr-template.md for the template and a worked example.
When asked to review, check in this order and label every comment blocking, should fix, or nit:
Give the author the top three issues first, then the rest.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
design-docs, adr, rfc, architecture-decision-records, technical-writing
/engineering-core:design-docsfrom engineering-core
npx claudepluginhub reddygopalkrishna/developer-agent-skills --plugin engineering-core14 skills in this plugin
/codebase-onboardingMaps an unfamiliar repository before changing it - stack, build/test/run commands, entry points, data flow, conventions and how changes ship - and writes a short map. Use when starting work in a repo you have not seen, when asked to explain how a codebase works, onboard to a project, find where something lives, or before a first change in a large or legacy codebase. Not for reviewing a specific diff./code-review-changesReviews code changes (a pull request, merge request or diff) like a senior engineer - finds real bugs, security holes, data risks and breaking changes, verifies each one, and reports it with file:line, a concrete failure scenario and a suggested fix. Use when asked to review a PR, merge request, diff, branch, staged changes or patch, or to check code before merging. Also covers responding to review comments on your own PR./dependency-upgradesUpgrades libraries, frameworks and toolchains safely - inventory outdated and vulnerable packages, read changelogs and migration guides, upgrade one major version at a time, regenerate and review lockfiles, test, and keep a one-commit rollback. Use when bumping dependencies, fixing security advisories or Dependabot and Renovate PRs, resolving version conflicts or peer dependency errors, or upgrading a framework, SDK or runtime version. Not for moving to a different framework or language (use large-scale-migrations)./git-workflowUses Git safely and cleanly - atomic commits with clear messages, branching, rebase vs merge, conflict resolution, pull request descriptions, and recovering from mistakes such as lost commits, bad merges, commits on the wrong branch, or a committed secret. Use when committing, writing commit messages, branching, rebasing, merging, resolving conflicts, preparing a pull request, undoing changes, cleaning history, or when someone says they broke their repository./incident-responseGuides production incident handling - assess severity, mitigate first (roll back, disable a flag, scale, fail over), then diagnose from recent changes, metrics, logs and traces, keep a timestamped timeline, draft status updates, and write a blameless postmortem with owned action items. Use when production is down or degraded, errors or latency spike, an alert fires, users report an outage, or the user asks for an incident review or postmortem. Not for debugging in local or development environments./large-scale-migrationsPlans and executes large codebase and platform migrations incrementally - JavaScript to TypeScript, AngularJS to React, Java 8 to 21, .NET Framework to modern .NET, monolith to services, on-premises to cloud - using a deliberate strategy, an inventory, codemods, dual-running, a ratcheting progress metric, and decommissioning of the old path. Use when moving a codebase or system from one framework, language, runtime or platform to another, or planning a strangler-fig rewrite. Not for routine version bumps (use dependency-upgrades) or schema changes (use database-migrations).Other plugins' skills for the same job