From Rust Code Studio
ADR / architecture decision record — write, number, and file a decision record using the studio template: context, options, decision, consequences, alternatives.
How this skill is triggered — by the user, by Claude, or both
Slash command
/rust-studio:adr [decision title][decision title]The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Produce a focused, honest ADR through **question → options → decision → draft →
Produce a focused, honest ADR through question → options → decision → draft →
approval, honoring the collaboration protocol
(${CLAUDE_PLUGIN_ROOT}/docs/coordination-protocol.md). You are the orchestrator:
you do not write files directly — delegate the final write to rust-builder.
Maintainer bar applies. Options are weighed against the maintainer-grade standard
(${CLAUDE_PLUGIN_ROOT}/docs/maintainer-grade-development.md): reuse over reinvent, structural
invariants over caller discipline, and a forward view. The Pre-code Maintainer Gate (Phase 2.5)
runs before the decision is taken.
Default is autonomy: decide and proceed. Escalate to the user only at genuine forks (option selection) and before the irreversible write.
$ARGUMENTS is the decision title or topic. If empty, ask: "What decision do we
need to record?" If the decision is entangled with a larger design, suggest running
/architecture or /brainstorm first.
rust-scout (read-only) to:
docs/adr/ using Glob / fd and identify the highest-numbered
NNNN-*.md file to determine the next sequence number.Cargo.toml sections that bear directly on the
decision area (use serena get_symbols_overview / search_for_pattern for
symbol-level context; rg for cfg-gated / macro-generated sites).$ARGUMENTS. Do not ask for more context before scouting.chief-architect to surface key forces — constraints, non-negotiables,
quality attributes — and flag any related ADRs or ARCH-GATE concerns.chief-architect's input, assemble 2–4 candidate options. For each:
unsafe, API surface, async
topology, MSRV, edition 2024 compatibility, etc.),SAFETY-GATE, API-GATE, …).web_search_exa / get_code_context_exa) and cratesio /
context7 / rust-docs, OR state the last-verified version. Silence is a gap, not a pass.harsh-critic by
DEFAULT to attack the recommended option (premise, failure modes, radically different
decomposition) and fold real findings into the options before the gate.chief-architect emits a Maintainer-grade pre-code verdict
per ${CLAUDE_PLUGIN_ROOT}/docs/maintainer-grade-development.md — ACCEPTABLE /
RESHAPE NEEDED / BLOCKED: what crate owns the concept; which sibling primitives already
exist (reuse vs. reinvent); what a strict maintainer would reject; which breaking changes
active dev permits. RESHAPE NEEDED reworks the options before the user is asked; BLOCKED
surfaces the missing prerequisite. Record the verdict in the ADR's Context.AskUserQuestion: present the options table and ask which to proceed with.
If the user is undecided, ask chief-architect for a recommendation with
rationale — but the user makes the final call.${CLAUDE_PLUGIN_ROOT}/docs/templates/adr.md) with:
Proposed.AskUserQuestion for the earlier option fork (the
Phase 2 option selection), not for this final approval. Loop back to Phase 4 for any
requested changes.docs/adr/NNNN-*.md + 1, zero-padded to
four digits.docs/adr/<NNNN>-<slug>.md (relative to project root).rust-builder with the approved content and resolved
path. Do not call Write/Edit yourself.Accepted if the decision is final (if ambiguous from the
approval, ask once; otherwise default to Accepted when the user approved).Summarize: the decision recorded, the path written, gates or leads to notify (e.g.
api-design-lead if the decision affects the public API), and any follow-on work.
End with COMPLETE / NEEDS WORK / BLOCKED.
Suggest next steps if relevant: /dev-task to implement the decision, /review to
audit code that motivated the ADR, or /architecture for broader structural questions.
If rust-scout finds no docs/adr/ directory, start the sequence at 0001 and
note that the directory will be created. If chief-architect returns BLOCKED on
a missing prerequisite (e.g. an upstream decision not yet made), surface it with
AskUserQuestion and offer: (a) proceed with explicit assumptions documented in the
ADR, (b) defer until the blocker is resolved, or (c) split into two ADRs. Never
discard a draft in progress.
npx claudepluginhub vanyastaff/rust-studio --plugin rust-studioOffers UI/UX design guidance for web and mobile with 50+ styles, 161 color palettes, 57 font pairings, and 99 UX guidelines across 10 stacks. Use for designing pages, components, color systems, or reviewing UI code.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.