/nonoise:reuse-firstfrom nonoise
Before writing new code or adding a dependency, check what already solves the problem - in this codebase, in the project's dependencies, in the standard library, in a well-maintained package - and record an adopt / extend / build decision. Use at the start of feature design and architecture brainstorming, and whenever the task is "add X" where X sounds like something that already exists (a client, a parser, a validator, a retry helper, a date utility). Not needed in quick mode for a one-line fix.
Ships in nonoise. 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.
New code is the most expensive way to get a capability: it has to be written, tested, documented and maintained. This skill makes the search for an existing answer an explicit, recorded step instead of an afterthought.
It was written for NONoise and follows its "canonical over exotic" principle.
The idea of a mandatory research step with an adopt / extend / build outcome is
inspired by the search-first skill of ECC (https://github.com/affaan-m/ECC, MIT).
feature-design (medium and long mode) and of
arch-brainstorm (long mode).Write one sentence: what must the code be able to do, with which inputs and constraints (runtime, licence, offline, performance, security). "A wrapper around fetch" is a solution; "call the billing API with retries and a timeout, from the browser and from Node" is a capability.
Stop at the first level that gives a good answer.
codebase-memory tools: search_graph with a
semantic_query for the capability and a name_pattern for likely names;
search_code for distinctive strings. Without the graph, use Grep. Look in
shared and utility modules first. In a multi-repo workspace, search the sibling
repositories too.package.json,
*.csproj, pyproject.toml, go.mod, ...). A library already in the project
often has the feature; check its documentation before adding another one.| Decision | When | What follows |
|---|---|---|
| Adopt | Something existing meets the need as it is | Use it; name the symbol or package and version |
| Extend | Something existing covers most of it | Extend or wrap it in place; do not fork a copy |
| Build | Nothing fits, or the fit costs more than building | Build the smallest thing; say why the candidates were rejected |
Adding a dependency is a decision the user owns when it is costly to remove (a framework, a database client, anything with a licence or a runtime of its own). Present it with the alternatives; do not install it on your own.
Add a short section to the document the phase is producing — the spec under
docs/superpowers/specs/ or the PRD under docs/prd/<area>/:
## Reuse check
Capability: <one sentence>
| Candidate | Where | Fit | Verdict |
|-----------|-------|-----|---------|
| <existing symbol / package> | <path:line or registry> | <what it covers, what it lacks> | adopt / extend / rejected: <reason> |
Decision: adopt | extend | build — <one line why>
Not searched: <levels skipped and why>
There is no separate file and no separate register: the decision lives with the design it belongs to.
arch-decision.reverse-engineering or graph-explorer: those explain how
existing code works; this one asks whether existing code already does the job.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub russosalv/nonoise --plugin nonoise27 skills in this plugin
/arch-brainstormDialogic architectural brainstorming skill. Helps an architect study how to implement something starting from just an area name, exploring the existing codebase, reading the project's source of truth at `docs/architecture/` plus `docs/requirements/` and `docs/calls/`, and producing a narrative PRD (story of the decision, inline Mermaid diagrams, explicit anti-scope) under `docs/prd/<area>/`. USE AS STEP 1 of the end-to-end architectural workflow — brainstorm → arch-decision (Haft FPF validation via `quint-fpf`) → sprint-manifest (promotion to sprint). Triggers — "I want to study how to implement X", "how should we handle Y", "brainstorm on area Z", "open a PRD for W", "arch-brainstorm area <slug>". Also triggers without explicit mention when the user is defining a new architectural work area from scratch and wants to think it through together./arch-decisionValidate an existing draft PRD through Haft ProblemCard, solution variants and parity comparison, then route the operator's explicit Phase 5.5 choice through h-decide and project the result into PRD frontmatter. Use for architectural PRD validation when the FPF gate fires; otherwise records a lightweight decision in the PRD with no Haft run. Creates no duplicate FPF audit register.