/nonoise:arch-brainstormfrom nonoise
Dialogic 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.
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.
Read when SKILL.md points to them.
Before running this skill's procedure: ask the user to describe the full scope in one message (who, what, why, constraints, success criteria). Treat the rest of this document as a schema to fill against their answer, not a turn-by-turn questionnaire. Only ask follow-up questions for genuine blockers.
This skill is step 1 of the NONoise architectural workflow. It turns an idea or an area name into a narrative PRD that is complete, self-contained, and ready for formal validation via arch-decision (which delegates to quint-fpf).
┌─────────────┐ ┌──────────────┐ ┌──────────────────┐
│ arch- │──▶│ arch- │──▶│ sprint-manifest │
│ brainstorm │ │ decision │ │ │
│ │ │ │ │ │
│ explore + │ │ validate via │ │ promote to │
│ dialog + │ │ quint-fpf │ │ sprint manifest │
│ write PRD │ │ │ │ │
└─────────────┘ └──────────────┘ └──────────────────┘
STEP 1 STEP 2 STEP 3
After arch-decision validates a PRD (PASS), the architect updates docs/architecture/ (the project's source of truth) manually — NONoise does not ship an auto-sync skill.
docs/architecture/ — absolute constraints (01-constraints.md), patterns, stack, component registry. Also reads docs/requirements/ for relevant functional requirements, docs/calls/ for recent meeting context if relevant, and docs/support/ for prior research.docs/prd/<area>/ already exists).superpowers:brainstorming but tuned to project-specific context.references/prd-template.md), saved as docs/prd/<area>/NN-<study>.md.NN-<study>-diagrams.md (same Mermaid diagrams that are also embedded inline in the PRD).00-area-brief.md (area index).arch-decision to validate the PRD.arch-decision's job (via quint-fpf).docs/architecture/ or the component registry — the architect does that manually after a PRD is validated.sprint-manifest's job.The skill can be triggered in several ways:
| User input | Skill action |
|---|---|
arch-brainstorm area user-signup | Use user-signup as the area slug |
| "I want to study the PDF export flow" | Propose slug pdf-export (or similar), ask for confirmation |
"New study in area payments" | Open a new study NN+1-<slug> in an existing area |
| "How should we handle event replay?" | Propose area event-replay, ask for confirmation, start exploration |
Before starting real work, the skill must always:
docs/prd/<area>/Goal: understand the state of the world before asking the architect anything.
Confirm area slug — parse user input. If ambiguous, ask: "What area are you studying? Slug in kebab-case (e.g. user-signup)".
Check folder existence — docs/prd/<area>/:
00-area-brief.md and the existing studies to understand what has already been decided. Determine whether the user is opening a new study (NN+1) or iterating on an existing one.01-.00-area-brief.md as the first file.README-status.md declaring status: external → external argumentative folder; do not touch it. Propose a different slug (e.g. -v2 suffix).Read the project source of truth — always. In particular:
docs/architecture/01-constraints.md — absolute constraints (first stop)docs/architecture/ — patterns, stack, conventions, component registrydocs/requirements/ filtered to the area — functional requirements to honordocs/calls/ recent meetings relevant to the area — stakeholder context, pre-decisionsdocs/support/ — any legacy analysis, external research, or vendor docs for the areaCLAUDE.md, AGENTS.md, nonoise.config.json at repo root — additional project contextExplore the codebase — identify:
Tools: use the Explore agent for this reconnaissance, especially when the area spans multiple components. The prompt should be explicit: "Given that I'm studying area X, I want to know what exists today in Y, Z, W; what gaps exist relative to the goal; which patterns are reusable". Run reuse-first before this step; where the graph-explorer agent is installed, it can do the exploration.
Summarize to the architect in ~150 words what you found, before starting questions. Example:
I read the
user-signupfolder (2 files: brief + study 01 validated on OTP). I read the project constraints indocs/architecture/. Exploring the code:auth-servicealready has email/password signup,notificationsis a stub with only the interface, the pipeline uses a queue-based pattern viaevents/signup.ts. I notice there is no passwordless login yet. Can you confirm the new study is about: [summary of the goal]?
Ask for confirmation before moving to phase 2.
Goal: gather scope, constraints, preferences, and decisions through structured dialog. Do not write anything to files until you have enough information to produce a coherent PRD.
| Dimension | Example questions |
|---|---|
| Scope | "Does the study cover only X or also Y?" |
| Volume / scale | "How many items per operation? Tens, hundreds, thousands?" |
| Sync vs async | "Does the user wait for a response or get notified later?" |
| Tracking | "State per item, per job, or both? Progress counter or just end-of-job?" |
| Messaging | "Pub/sub, sync invoke, outbox?" |
| Event granularity | "One event per batch or one per item?" |
| Ownership | "Where does the entity live? Which component owns the data?" |
| State machine | "Final states? Where do they come from (spec, already decided, TBD)?" |
| Error handling | "Retry policy? Dead-letter? Idempotency?" |
| Security | "Short-lived tokens, long-lived in DB, other? Who can access?" |
| Trigger | "Event-driven from upstream, sync API, scheduler?" |
| Notification | "Push, email, polling? When?" |
Adapt to the stack and domain — these are templates, not a script.
If the dialog covers visual questions (UI layout, mockups, diagrams to compare), offer the visual companion of superpowers:brainstorming once as an isolated message. After acceptance, decide per-question whether to use a browser or the terminal (see superpowers:brainstorming for rules).
For textual questions (choices between conceptual alternatives, trade-offs, requirements), stay in the terminal.
Number of questions depends on area complexity — typically 5–15 exchanges. Never fire a list of 20 questions at once. Prefer quick iterations.
Ask for explicit confirmation before starting to write the PRD.
Goal: turn the dialog into a written PRD — self-contained, readable, with mandatory structure.
Use the structure documented in references/prd-template.md. Non-negotiable elements:
status: draft, area, study, created_at, authors, plus all lifecycle fields (see references/folder-conventions.md).Golden rule: a new team member must be able to open the PRD and understand everything with no other file open. No "see other doc". Exception: references to code (file:line) and links to supplementary sub-documents.
In addition to the main PRD, the skill must produce:
NN-<study>-diagrams.md in the same folder, with the same Mermaid diagrams in minimal form (useful for reuse in presentations or external reviews).00-area-brief.md — if it doesn't exist, create it with index and area context. If it does, add the new study to the index.Diagrams are mandatory. Minimum two:
graph TB or graph LR): shows components involved with color classification (new / modified / unchanged / store / topic).sequenceDiagram with autonumber): happy path end-to-end with rect notes for logical sections.Use these inline CSS classes (neutral palette, override per project if desired):
classDef new fill:#fff0f4,stroke:#e50046,stroke-width:2px,stroke-dasharray:4 3;
classDef modified fill:#fff,stroke:#4d59fd,stroke-width:2px;
classDef external fill:#f4f6fa,stroke:#555f6e,stroke-width:1.5px;
classDef store fill:#eaf7ef,stroke:#00714a,stroke-width:1.5px;
classDef topic fill:#fff8e1,stroke:#ec7200,stroke-width:2.5px;
classDef outofscope fill:#fafafa,stroke:#999,stroke-width:1.5px,stroke-dasharray:2 2;
Before writing the file, mentally re-read it and verify:
Fix inline before saving.
00-area-brief.md created or updatedstatus: draft, all fields)Goal: cleanly close your work and pass the baton to the next skill.
Summarize to the architect what you produced (file paths, key sections, 1–2-sentence recap).
Request review explicitly: "Review the PRD before proceeding. If you want changes, tell me; otherwise the next step is arch-decision, which first checks whether this decision needs formal Haft FPF validation at all".
User gate: do not declare the skill "complete" until the architect gives the green light or requests changes.
If the architect requests changes: return to phase 2 or 3 depending on the kind of change (new decisions → phase 2; only formatting → straight to phase 3 with edits).
If the architect approves: explicitly suggest the next skill:
The PRD is ready. To proceed to the next step of the architectural workflow, invoke:
arch-decision <path-to-prd>arch-decision first evaluates the FPF gate. If the decision is costly to reverse and the PRD holds at least two materially different viable options (or you ask for it), it applies the Haft FPF methodology (via
quint-fpf) and, after you explicitly bind a choice through the Phase 5.5 gate, the frontmatter becomesstatus: validated. Otherwise it records a lightweight decision in the PRD frontmatter (decision.mode: lightweight), with no Haft run. Either way it produces a concrete list of changes to apply todocs/architecture/manually.
State your own reading of the gate in one line when you hand off (for example: "reversible, one viable option → I expect a lightweight decision"), so the architect knows what to expect.
See references/folder-conventions.md for full details. Summary:
docs/prd/<area-slug>/NN-<study-slug>.md + NN-<study-slug>-diagrams.md00-area-brief.md (always present)arch-decision adds IDs and repository-root-relative paths under haft.problems, haft.solutions, and haft.decisions; canonical records stay in .haft/.Mandatory PRD frontmatter:
---
title: "Readable title of the study"
area: <area-slug>
study: <study-slug>
status: draft
sprint: null
validated_at: null
validated_by: null
superseded_by: null
superseded_reason: null
created_at: YYYY-MM-DD
authors: [name1]
---
Lifecycle: draft → in-validation → validated → {promoted | superseded | rejected}. See folder-conventions.md.
If the user has already started a previous session with this skill (existing area, draft study):
00-area-brief.md to understand area statesuperpowers:systematic-debuggingsuperpowers:writing-plans or implement directlysuperpowers:requesting-code-reviewreferences/prd-template.md — Mandatory narrative templatereferences/folder-conventions.md — Naming, frontmatter, lifecycle statesquint-fpf — the formal validation methodology invoked by arch-decisionarch-decision — step 2 of the workflow (invoked after this skill's handoff)sprint-manifest — step 3 (promotion to sprint)docs/architecture/ (maintained manually by the architect)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-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./arch-syncGeneric projector of a validated PRD's "Impact on docs/architecture/" checklist into the actual files. Reads the validated PRD plus its referenced Haft DecisionRecords, parses the strict `[file: NN.md]` format from the appended `## Impact on docs/architecture/` section, proposes a unified diff per target file, applies only the diffs the architect approves, and writes a sync report under `docs/architecture/sync-reports/`. Stack-neutral — knows no target constraints, never validates anything, never reads source code. Triggers — invoked by Polly after `arch-decision` PASS (the architect chooses "Sì — invoco arch-sync" at the post-finalize menu); also invokable manually with phrases like "arch-sync <prd-path>", "project the validated PRD into docs/architecture/", "sync architecture from <prd-path>", "recepisci il PRD validato <path>"./atrAcceptance Test Runner — reads acceptance criteria from a sprint manifest and/or requirements files, generates a machine-readable testbook, executes it via Playwright against the running app, produces markdown reports with screenshots, and maintains a backlog of failures. Optionally pushes failures to an external tracker (Paseo integration planned as future work). Use this skill when the user mentions acceptance testing, testbook, running tests against the app, producing a stakeholder-friendly test plan, verifying the app against the sprint manifest, or pushing test failures to a tracker. Triggers — `/atr generate`, `/atr run`, `/atr doc`, `/atr push`, "run acceptance tests", "generate testbook for sprint N", "check the app against the manifest", "create a readable test plan for stakeholders". Language — reports and testbook descriptions follow the project's working language (inferred from the sprint manifest / requirements content, or from `nonoise.config.json` `language` if set; defaults to English).