/infrahub:infrahub-designing-models [idea, problem or existing brief]from infrahub
Interviews users to design an Infrahub data model before schema YAML exists. Asks business-driven questions, splits large scopes into ordered features, and produces a design brief.
Ships in infrahub. 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.
An interview that ends in a design brief. It asks why
the data matters, what is delivered, and only then what
the model is, so the schema written later models the
service rather than guessing node kinds from a short
prompt. It recommends an answer to every question,
splits a scope that is too big into ordered features,
and writes no YAML or code: the infrahub-managing-*
skill for each artifact builds it from the brief.
| Step | Read first | What the user sees | Done when |
|---|---|---|---|
| 1 Read | .infrahub.yml, schemas/, reference designs | nothing | you know what already exists |
| 2 Inputs | interview-inputs-digested | one question asking for files | every file is listed |
| 3 Start | - | one line with a confidence | - |
| 4 Business, service | question-bank, one-question-recommended, value-drivers | one question block per message | about five questions asked |
| 5 Scope, reuse | scope-split, brief-reference-design, reference-designs, interview-design-directions | the design directions | the user picked or combined one |
| 6 Draft | grounding | F1's sketch, then one question per message | every node kind has an identity, a source of truth and an owner, or an open item |
| 7 Confirm | - | one scenario, then the restated brief | the user said an explicit yes |
| 8 Write | brief-format and the brief- rules | the brief | every section is written |
| 9 Stop | - | the Next steps | - |
.infrahub.yml,
schemas/, any existing design-brief.md, and the
worked examples in
references/reference-designs.md.
These are local reads; the network searches wait for
step 5. Never ask what these already answer. Extending a
design means editing its brief, not starting another;
see "Extending a brief" in
references/interview-paths.md.../infrahub-common/netbox-vs-infrahub.md
and name the differences it states that matter for
this design, instead of copying the NetBox shape. Keep the
business and service layers short, about five
questions together: the draft in step 6 shows which
of their gaps matter, and you can return to them.(guess)
that comes from the user's files, their answers, a
Marketplace schema that covers the node kind, the
reference design or an Infrahub default in the
question bank. Prefer a published schema's kind to a
new one, judged per generic, not per file. A cell none of these supports is
marked (open) and becomes a question. Never write
? in a cell: the message may hold only one
question. Do not invent
attributes or peers nobody mentioned.llms.txt, and where the brief names each one.(guess) and (open) cells into open
items (open: O<n>).A. Yes, write the brief and
B. Change something; "sounds good" is not a yes.Read references/interview-paths.md as soon as one of these applies, before you write anything:
Stop and go back to the workflow when you notice one of these. Runs without this skill did each of them.
| What you are about to do | What to do instead |
|---|---|
| Write schema YAML because the user is in a hurry | Send one question block; the brief is the fast path to a schema that loads once |
| Fill a gap with an assumption "so the user is not blocked" | Mark the cell (guess) and ask about it, or make it an open item when the user cannot reply |
| List "design decisions I made for you" | Ask each one as a question with a recommended answer, or log it as recommended with its basis |
| Invent example data, such as a customer name | Show sample objects only from rows the user gave |
| Take "sounds good" or "whatever you suggest" as a yes | Restate the brief and ask for an explicit yes |
| Skip a file because the user said to | List it in Inputs and use it as evidence |
| Priority | Category | Prefix | Description |
|---|---|---|---|
| CRITICAL | Interview | interview- | One question per message with a recommended answer; two or three design directions to pick or combine; every input used as evidence |
| HIGH | Scope | scope- | Split a too-big scope into ordered features before the data questions; sketch F1 only |
| HIGH | Brief | brief- | The value drivers the design serves, ranked, with each feature naming its own; complete sketch rows or open items; every decision tagged with its provenance; plan and model maps that match their tables; the closest reference design named; mechanisms that match the artifacts; open items that name the features they affect; next steps in order |
Full scope per prefix is in rules/_sections.md.
references/brief-format.md: the brief's location,
sections and tables. The single home for that format.references/question-bank.md: questions by layer, the
schema and YAGNI rules each one serves, and the
Infrahub defaults a recommendation can rest on.references/reference-designs.md: OpsMill worked
examples to build from, how to find newer ones, and
how to search the Marketplace.references/grounding.md: which best-practice rules
to read for the draft, and how to look up what they do
not settle in the Infrahub documentation.references/interview-paths.md: what changes when the
user cannot reply, asks for every question at once,
extends a brief, or comes back with an answer.../infrahub-managing-*/: build each feature's
artifacts from the finished brief, schema first.../infrahub-common/marketplace-reference.md: the
Marketplace commands and their minimum SDK version.../infrahub-common/rules/workflow-information-priority.md:
the order to consult the skills and the Infrahub
documentation in, and how to find a page through
llms.txt.references/brief-format.md (opens in a new tab)references/grounding.md (opens in a new tab)references/interview-paths.md (opens in a new tab)references/question-bank.md (opens in a new tab)references/reference-designs.md (opens in a new tab)rules/_sections.md (opens in a new tab)rules/brief-decision-provenance.md (opens in a new tab)rules/brief-maps-match-tables.md (opens in a new tab)rules/brief-mechanisms-match-artifacts.md (opens in a new tab)rules/brief-next-steps.md (opens in a new tab)rules/brief-open-items-name-features.md (opens in a new tab)rules/brief-reference-design.md (opens in a new tab)rules/brief-sketch-rows-complete.md (opens in a new tab)rules/brief-value-drivers.md (opens in a new tab)rules/interview-design-directions.md (opens in a new tab)rules/interview-inputs-digested.md (opens in a new tab)rules/interview-one-question-recommended.md (opens in a new tab)rules/scope-split-before-data-layer.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
18 skills in this plugin
/infrahub-analyzing-dataAnalyzes and correlates live Infrahub data via the MCP server — answers operational questions, detects drift, and investigates impact. TRIGGER when: querying infrastructure data, checking compliance, investigating change impact, producing ad-hoc reports. DO NOT TRIGGER when: writing automated checks, building transforms, designing schemas, populating data files, planning an Infrahub version upgrade (use infrahub-planning-upgrades). ALWAYS pass the user's question verbatim as args — this skill runs in a forked context and cannot see the parent conversation. Invoking without args will fail./infrahub-analyzing-diagnosticsAnalyze an already-collected infrahub-collect diagnostic bundle — traceback and failure triage across service logs, incident correlation, and known-issue matching against opsmill/infrahub GitHub issues. TRIGGER when: the user says they collected a diagnostic bundle, gives you a bundle path, or pastes bundle contents — and asks what's wrong, wants the logs or tracebacks analyzed, asks "what does this bundle say", wants errors triaged/correlated, or asks whether a crash is a known issue. DO NOT TRIGGER when: no bundle exists yet — collect one first (use infrahub-collecting-diagnostics), filing the issue itself (use infrahub-reporting-issues), or querying live data (use infrahub-analyzing-data).infrahub@opsmill is listed by opsmill/claude-marketplace — review the source before installing
npx claudepluginhub opsmill/claude-marketplace --plugin infrahubOther plugins' skills for the same job