/arch:to-characteristicsfrom Agentic Architecture
Read 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.
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.
Turn what is known about a system into its architecture characteristics: the few things it must guarantee beyond its domain behavior, each with a measurable Target, a Measure and the fitness function that checks it. You propose: you read, recommend and ask; the user decides, and every question comes with your recommendation.
The input is what the user wrote with the command: a path to a project, a short description of the system ("an agent that answers the customers of an online store, with guardrails on input and output"), or nothing. With nothing, work from the current repository; if it holds no system and no brief, ask for a two-line description 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 and table headers
included, following references/language.md. Keep the term architecture
characteristic as it is, in every language, like Target and fitness function: the title of the
file stays Architecture Characteristics: <system name>, and the table headers, the row of the
dossier index and the text keep the term too.
Templates for the files you write:
Fixed sentences in this skill (the Next: lines, "none" in the Fitness Function column) 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/<quantum>/
holds that quantum's brief, characteristics.md and README.md; ADRs stay in docs/adr/ and tasks
in the tracker. Every docs/architecture/ path below then means the folder of the quantum at
hand.docs/agents/architecture.md, the setup has not run. Use the defaults: characteristics at
docs/architecture/characteristics.md, dossier index at docs/architecture/README.md, tasks as
local files in .scratch/architecture/issues/. Do not ask about the tracker. Tell the user in one
line, and suggest /arch:setup-architecture (Claude Code) or $arch:setup-architecture (Codex)
for later. Then go on.docs/architecture/brief.md, or the location the setup gives) and the ADRs in
docs/adr/, if they exist. Their answers are settled: do not ask them again.pom.xml, build.gradle, package.json, ...), configuration (application.properties,
application.yaml, environment files) and tests. Treat what they show as answered, and say where
you saw it.characteristics.md already exists, read it: its rows are the starting point, and you
propose only changes.Show the user, in a few lines, what you read and what you did not find. Done when you know where each file goes and what is already answered.
pom.xml or build.gradle with its own packaging per
service, one app per folder in a monorepo. Several Dockerfiles of the same build (for example
Dockerfile.jvm and Dockerfile.native) are image variants of one deployable, not more
deployables. Several endpoints in the same deployable are still one quantum.<name> when it exists,
otherwise <artifactId>; in Gradle, rootProject.name in settings.gradle; in other builds,
the project name field (name in package.json). Say where the name came from. The README title
is not a source for the name.per-quantum layout in the setup, write one characteristics.md per quantum folder
(docs/architecture/<quantum>/characteristics.md)./arch:setup-architecture (Claude Code) or $arch:setup-architecture (Codex)
for one dossier per quantum.Done when every quantum has a name and you know which file holds its section.
Done when the user has confirmed, for each quantum, the list kept and the list dropped.
For each characteristic:
Ask for the Targets in the rounds after the one that confirmed the list: at most three Targets per round, numbered, each with your recommendation and its reason in one line. The user may answer "ok" to accept one recommendation, or "ok to all" to accept the whole round. After the answers, say in one line what they settled.
Done when every characteristic has a Target and a Measure.
For each characteristic, look in the repository for a mechanism that already checks it objectively and fails when the Target is missed: a test, a metric with an alert, an architecture rule in the build, a rule in the CI pipeline. Point to the path (and the test or rule name).
A log line is not a fitness function by itself: it counts only when a test or an alert reads it
and fails when the Target is missed. Point to that test or alert. A log line that nothing reads
leaves the characteristic without a fitness function, and it gets a gap task.
A limit in the configuration is not a fitness function by itself either: it implements the
characteristic, and nothing fails when someone raises it or removes it. It counts only when a test
exercises it: the test drives the system to the limit and fails when the limit stops holding.
Point to that test. A limit that no test exercises leaves the characteristic without a fitness
function, and it gets a gap task; the limit can still be the evidence for the Target (step 4).
gap task for it (step 7), with the title "Fitness function for
" in the user's language. The task body is the same in both trackers: what the
check must confirm, the Target, and a link to characteristics.md. If the plugin you are
running from has the to-adr skill, end the body with this line, translated into the user's
language, with commands and file names as they are:
Next: /arch:to-adr "<decision the check needs>" (Claude Code) · $arch:to-adr "<decision the check needs>" (Codex).Done when every characteristic has a path or a gap task to open.
Record in the Out of Scope section every candidate the user dropped, with the criterion it failed or where it belongs instead. When they come up, always record these two, with the reason:
A domain requirement that came up as a candidate goes here too: it lives in the specification of the system.
Done when every dropped candidate is in the section.
Show the user characteristics.md as a draft, with the list of gap tasks you will open. Write
only after the user confirms or corrects it.
gap task per characteristic without a fitness function. Before creating, look
for an open gap task that names the characteristic and reuse it. Match by the gap label
and the name of the characteristic, not by the exact title: an earlier run may have translated
the title differently.
gh issue list --label gap --state open --search "<characteristic>";
create with gh issue create --title "<title>" --label gap --body "<what the check must confirm, the Target, and a link to characteristics.md>"..scratch/architecture/issues/ with a Labels: gap line, a
Status: open line and the characteristic 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: gap line, a
Status: open line, and the same body as on GitHub: what the check must confirm, the
Target, and a link to characteristics.md.
Put the link or file name of each task in the Fitness Function column.docs/architecture/README.md (one per quantum folder with the
per-quantum layout), set the row that links to characteristics.md to generated with
today's date. Find the row by that link, never by its label, which is translated into the
user's language. If the row is missing, add it. If the file does not exist, create it from
references/dossier-readme.md, translated, with that row as
generated and the other rows as pending.Done when every characteristic has a Target, a Measure and a fitness function or a gap task,
every dropped candidate is in Out of Scope, and the dossier index shows Architecture
Characteristics as generated.
List the files written and the tasks opened. Name each characteristic in one line with its Target. Then end with one of these lines, translated into the user's language, with commands and file names as they are:
to-adr skill, end with
Next: /arch:to-adr (Claude Code) · $arch:to-adr (Codex).Next: review characteristics.md, and mark it reviewed in docs/architecture/README.md.What SKILL.md sets; muted values are Claude Code's defaults
5 skills in this plugin
/grill-architectureInterview 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./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.Other plugins' skills for the same job
npx claudepluginhub eldermoraes/java-ai-specialist --plugin arch