/nonoise:docs-md-generatorfrom nonoise
Generate and keep in sync the three meta-docs of a NONoise project — `AGENTS.md` (root, cross-tool, source of truth), `CLAUDE.md` (root, Claude Code adapter), and `.github/copilot-instructions.md` (Copilot adapter). Treats `AGENTS.md` as the single source of truth and preserves skill-owned managed blocks verbatim. Use whenever the user says "generate CLAUDE.md", "generate AGENTS.md", "generate copilot-instructions.md", "sync the meta-docs", "the docs are out of date", "AGENTS.md changed — regenerate the others", "bootstrap docs from scratch", "import this project into NONoise conventions", "reconcile CLAUDE.md and AGENTS.md", or when they start from an existing codebase and want NONoise-style meta-docs produced consistently. Trigger proactively when the user edits `AGENTS.md` and asks for "the others to match", or when the three files visibly disagree.
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.
Keep the three AI-context meta-docs of a NONoise project coherent:
AGENTS.md (root) — source of truth, cross-tool, tool-agnostic.CLAUDE.md (root) — Claude Code adapter, derived from AGENTS.md..github/copilot-instructions.md — GitHub Copilot adapter, derived from AGENTS.md.This skill writes and reconciles those three files. It never writes
source code, never touches templates under packages/templates/, and
never touches tests.
AGENTS.mdThe contract is simple: if the three files disagree about a project-level
rule, AGENTS.md wins. The tool-specific files may add tool-specific
prose (slash commands, tool-specific triggers) but they must not
contradict AGENTS.md on anything cross-tool — project structure,
build/test commands, conventions, installed skills list.
Consequence: when AGENTS.md changes, the other two must be regenerated.
When the other two drift from AGENTS.md, they must be reconciled.
This skill has three operating modes. Pick one by looking at what exists:
| State on disk | Mode | What to do |
|---|---|---|
Only AGENTS.md exists | Bootstrap | Generate CLAUDE.md and .github/copilot-instructions.md from AGENTS.md. |
| All three exist but differ | Import | Reconcile all three into a coherent triad with AGENTS.md as source of truth. |
All three exist, consistent, but AGENTS.md was just edited | Sync | Regenerate the tool-specific files from AGENTS.md, preserving managed blocks. |
If nothing exists, ask the user whether the project was meant to be
NONoise-scaffolded. If yes, point them at create-nonoise. This skill
does not scaffold from zero — it maintains an existing AGENTS.md.
See references/mode-prompts.md for the exact Q&A phrasing per mode
(EN + IT).
CLAUDE.md and .github/copilot-instructions.md contain managed
blocks owned by OTHER skills. A managed block looks like:
<!-- >>> polly (managed by polly skill) -->
## polly
...body written by polly...
<!-- <<< polly -->
The rule is one line long: content inside <!-- >>> name --> ... <!-- <<< name -->
is owned by another skill. Preserve it verbatim. Do not reformat, do
not re-wrap, do not "improve" prose inside a managed block. Copy the
bytes as-is from the old file into the new one.
Known markers in the NONoise framework today:
polly — owned by the polly skill (entry-point reminder for Polly).codebase-memory — owned by the create-nonoise CLI (code-graph rules for the codebase-memory-mcp MCP server, written during scaffolding).development-modes — owned by the create-nonoise CLI (the quick / medium / long development modes and the FPF gate, written during scaffolding).design-md — optional, owned by design-md-generator (pointer to
docs/design.md for UI code generation).If you encounter a marker not on this list, treat it as orphan: leave
the block alone, flag it in the summary ("Found unknown managed block
foo — left intact."). Other skills may introduce their own markers
over time; the pattern is designed to extend.
See references/managed-blocks-protocol.md for the parsing regex, the
extension rule, and the orphan-marker policy in detail.
State: only AGENTS.md exists. Generate the other two.
Step by step:
AGENTS.md in full. Note the project name (top
H1), the stack mentions, the installed skills section (if any), the
existing managed blocks (there will usually be at least
codebase-memory and development-modes).AGENTS.md, ask them one at a time (Polly-style — one question at a
time, wait for an answer, move on):
AGENTS.md. Default: English.)CLAUDE.md at project root if Claude Code is selected. Use
the canonical structure from references/output-templates.md:
title, intro line, Polly entry-point section (if Polly present),
installed skills section (copied or rephrased from AGENTS.md),
"Working in this project" conventions section, managed blocks area
(copy polly block and the codebase-memory and development-modes
blocks from AGENTS.md equivalents, plus any other known markers
present), footer..github/copilot-instructions.md if Copilot is selected.
Same content spine as CLAUDE.md but rephrased for Copilot (no
slash-command references; instead, tell Copilot to read
.claude/skills/<name>/SKILL.md when triggers match).State: all three files exist but drifted. Reconcile.
This is the longest mode. The project was probably built without NONoise and the user now wants NONoise conventions applied.
Step by step:
CLAUDE.md and
.github/copilot-instructions.md. Store them keyed by marker name.
These are sacred — they will be re-emitted verbatim.AGENTS.md → propagate to the other two.## Build & test, ## Project structure) → propose moving
the content into AGENTS.md as the new source of truth.AGENTS.md.AGENTS.md says X, CLAUDE.md says Y — which wins?"
Default answer is AGENTS.md wins. Record the decision.AGENTS.md gets the agreed content, plus any tool-neutral
sections lifted from the tool files.CLAUDE.md and .github/copilot-instructions.md get the shared
content (from AGENTS.md) + their managed blocks (verbatim) + any
legitimately tool-specific sections they had before.See references/mode-prompts.md for conflict-resolution Q&A templates.
State: AGENTS.md was edited, the other two are stale.
This mode is mostly silent — no questions unless something unrecognized appears.
Step by step:
AGENTS.md against CLAUDE.md and
.github/copilot-instructions.md section-by-section.AGENTS.md that changed, regenerate the
corresponding section in each tool file, rewriting only the prose
outside managed blocks.AGENTS.md
(Claude slash-command hints, Copilot .github/instructions/*.md
pointers, etc.).AGENTS.md: ask the user one question —
"AGENTS.md has a new section ## X — should I mirror it verbatim
into CLAUDE.md and copilot-instructions.md, or adapt it per tool?"When the skill is invoked, look at the filesystem and the user's message:
AGENTS.md exists → Mode 1.AGENTS.md has a newer mtime than the others → Mode 3.If the mode is ambiguous, ask the user once: "I see all three files exist. Do you want me to (a) reconcile them (Import mode — assumes they may disagree), or (b) propagate recent AGENTS.md changes (Sync mode — assumes they agreed until recently)?"
##. The file starts with a single # title and a one-line
intro.AGENTS.md. If AGENTS.md
is in Italian, produce Italian prose; if English, English. Never mix.polly first (if present),
then codebase-memory, then development-modes, then any other
known markers, then orphans.Generated by create-nonoise v{{frameworkVersion}}.
keep it as-is. Do not invent a version string.See references/output-templates.md for the canonical skeletons of
all three files.
README.md,
docs/**/*, GEMINI.md, .cursor/rules.md, or any other file.
Those belong to other skills or to the user. If the user asks for
them, politely say this skill's scope is the AGENTS/CLAUDE/Copilot
triad and route the rest elsewhere.{{projectName}} and {{frameworkVersion}}
placeholders are a scaffolding-time concern — if the user's files
still contain them, flag it but do not try to re-render.references/managed-blocks-protocol.md — full list of known
markers, regex for parsing, extension rule, orphan policy.references/mode-prompts.md — verbatim Q&A prompts for each mode
in English and Italian.references/output-templates.md — canonical skeletons of
AGENTS.md, CLAUDE.md, and .github/copilot-instructions.md.AGENTS.md. That's
create-nonoise's job.GEMINI.md, .cursor/rules.md, .codex/*. Those are
owned by other tool-specific adapters (possibly future skills).--sync flag invoked from a pre-commit hook
would enable automation.What SKILL.md sets; muted values are Claude Code's defaults
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.Other plugins' skills for the same job