/arch:grill-architecturefrom Agentic Architecture
Interview the user about an agentic system, one round of questions at a time, and write the kata brief plus ADR 0001 (agent, workflow or multi-agent). Works from a short idea or from an existing project.
Ships in Agentic Architecture. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Turn an idea or an existing project into two files: the brief of the system, in kata format, and the first ADR, which decides between agent, workflow and multi-agent. You grill: you ask, the user decides, and every question comes with your recommendation.
The input is what the user wrote with the command: a short idea ("an agent that answers the customers of a telecom and can open a ticket in the support system"), a path to a project, or nothing. With nothing, ask for a two-line description of the system and start from it.
Read references/vocabulary.md before you start: use its terms with its meanings. Do not mention the source book in generated files.
Write every file, task and question in the user's language, template headings included, following references/language.md.
Templates for the files you write:
Fixed sentences in this skill (the Next: lines) are written here in the plugin's language:
translate each into the user's language, and keep commands and file names as they are.
docs/agents/architecture.md. It gives the tracker (github or local), the layout and
the artifact locations.docs/architecture/brief.md, ADRs
at docs/adr/, tasks as local files in .scratch/architecture/issues/. Tell the user in one
line, and suggest /arch:setup-architecture (Claude Code) or $arch:setup-architecture (Codex) for
later. Then go on.Done when you know where each file goes and what is already answered.
Build, for yourself, the tree of decisions this system needs. A node is a question; a node depends on the nodes whose answers it needs. Start from these nodes and add the ones the input suggests:
The frontier is the set of open nodes whose prerequisites are all answered.
Each round:
Settle node 5 with these criteria, and say which ones applied:
Recommend the simplest option that meets the requirements: a workflow, unless the path cannot be known ahead of time.
Done when every node is answered or recorded as an Open Decision, and node 5 has an answer. If the
user leaves node 5 open, the ADR is written with status proposed.
Show the user the brief and the ADR as drafts. Write only after the user confirms or corrects them.
Brief: fill every section of the brief template. Write only what the user said or what the repository shows. Effectful actions go in the Trust Boundary section; every Open Decision goes in its table.
ADR: get the number by running the script that ships in this skill's folder (the folder
that holds this SKILL.md), from the project root, with the ADR folder as the argument:
java <this skill's folder>/scripts/NextAdrNumber.java docs/adr
(In Claude Code, this skill's folder is ${CLAUDE_SKILL_DIR}. Requires Java 11 or later.)
It prints the next free number (0001 in a repository without ADRs). Write
docs/adr/<number>-agent-workflow-or-multi-agent.md from the ADR template: the options in
Context, the decision and the criteria that applied in Decision, the trade-offs in
Consequences. In Compliance, name the check that would show the decision still holds (for an
agent: the hard limits and the kill switch exist and are tested); when it does not exist yet,
write that a gap task tracks it. Status is accepted when the user confirmed node 5, otherwise
proposed.
Tasks: one decision task per Open Decision, plus one gap task when Compliance points to
a check that does not exist. Before creating, look for an open task with the same label that
names the same decision or check, and reuse it. Match by the label and the subject, not by the
exact title: an earlier run may have translated the title differently.
gh issue list --label <label> --state open --search "<subject>";
create with gh issue create --title "<title>" --label <label> --body "<what is missing to decide, and a link to the brief>"..scratch/architecture/issues/ with the Labels: <label>
line, a Status: open line and the subject in its # title. Create a file
.scratch/architecture/issues/NN-slug.md (next free NN, from 01; slug is the title
already translated, in kebab-case) with a # <title> line, a Labels: <label> line, a
Status: open line, and the same body as on GitHub.
Put the link or file name of each task in the Open Decisions table of the brief.Dossier index: in docs/architecture/README.md, set the rows that link to brief.md and to
../adr/ to generated with today's date. Find each row by its link, never by its label,
which is translated into the user's language. If a row is missing, add it. If the file does not
exist, create it from references/dossier-readme.md, translated,
with those two rows as generated and the other rows as pending.
Done when the brief has every section filled, the ADR has all seven sections, every Open Decision
has a task, and the dossier index shows both as generated.
List the files written and the tasks opened. Name the Open Decisions in one line each. Then end with one of these lines, translated into the user's language, with commands and file names as they are:
to-characteristics skill, end with
Next: /arch:to-characteristics (Claude Code) · $arch:to-characteristics (Codex).Next: review the brief and ADR 0001, and mark them reviewed in docs/architecture/README.md.agents/openai.yaml (opens in a new tab)references/adr.md (opens in a new tab)references/brief.md (opens in a new tab)references/dossier-readme.md (opens in a new tab)references/language.md (opens in a new tab)references/vocabulary.md (opens in a new tab)scripts/NextAdrNumber.java (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub eldermoraes/java-ai-specialist --plugin arch5 skills in this plugin
/setup-architecturePrepare a repository for the architecture skills. Chooses the task tracker, the labels and the dossier layout, then creates docs/architecture/, docs/adr/ and docs/agents/architecture.md./to-adrRecord one architecture decision as an ADR. Read the system, check that the decision is architecturally significant and that each part of it has the condition it needs, ask what is open in rounds with recommendations, and write docs/adr/NNNN-slug.md with Compliance pointing to a fitness function or a gap task. Closes the decision task it answers./to-characteristicsRead an agentic system (brief, ADRs, code, or a two-line description), find its architecture quanta, propose the architecture characteristics that meet the three defining criteria, set a Target for each, find the fitness function that checks it, and write characteristics.md. A characteristic without a fitness function becomes a gap task./to-riskAssess the architecture risk of a system in one dimension, as a risk storming. Read the system, list the areas at risk with evidence, recommend an impact and a likelihood for each, score them with the risk matrix script, check every effectful retry and every unproven technology, and write docs/architecture/risk.md. Opens a high-risk task for each risk of 6 or 9 without mitigation in place. Does not decide permissions.