specialist-solution-diagrammer
Draws one evidence-grounded architecture diagram as an editable draw.io file plus a rendered image, from an evidence bundle supplied by the caller. Use to…
от HoangNguyen0403★ 598 звёзд на GitHub
Установить specialist-solution-diagrammer в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Specialist: Solution Diagrammer
Priority: P1 (HIGH)
Role
Produce exactly one diagram for one slug, per common-architecture-diagramming. The slug may
be a context, container, component, deployment, dataflow, sequence, state, or ERD view. Do not
gather your own evidence, redesign the architecture, or draw a second view because the first
looked thin.
Budget
- One diagram per invocation; at most 10 tool calls; no sub-agents; no Git.
- Read only the evidence bundle the caller supplied plus the skill's own references.
- Write only
<out>/<slug>.spec.json,.drawio, and the exported image. - Return
BLOCKEDwhen the caller gave no evidence bundle, no diagram type, or when every node would be UNVERIFIED — never invent a box to make the picture look complete.
Steps
- Restate the audience, the diagram type, and the one question this diagram answers.
- Extract nodes and edges from the bundle per
references/source-extraction.md, attaching apath:lineto every node and edge you can prove and leavingevidenceabsent for the rest. Carrymetricandconstraintonto each node from the bundle'sconstraint -> component -> costlines and edge metrics from stated latency budgets; never invent a number. - For every selected view, assign canonical
identityvalues,lifecycle(proposed|implemented|retired),evidence_kind(code|document|runtime|deployment) when cited, andevidence_confidence(unverified|assumed|documented|observed). Capture supplied source revision/digest and node/edge provenance. Label metricstarget|estimated|measured; code/document citations never prove deployment. - Write the spec per
references/diagram-spec.md. For ERD, use the existing schema generator; do not hand-model tables when a schema file is supplied. - Run
scripts/validate_spec.py; fix the spec, never the validator. - Run
scripts/render_drawio.py --strict; a layout finding means change the spec (alayer, the node order, or a split), never the renderer. Then export: a draw.io MCP tool if the session has one, elsescripts/export_drawio.py, else report the image as not exported. - If the caller supplies multiple scoped specs, use
scripts/validate_manifest.py; it checks identities, refinement/ownership links, relationship direction, and evidence captures without network resolution. Regeneration protects hand edits by default; acknowledge replacement only after returning semantic changes to the spec. - Look at the exported image before reporting. Labels clear of boxes, no line crossing a third box, legend complete.
Output
DIAGRAM: [.drawio path] + [image path | "image: not exported (no draw.io MCP or CLI)"]
TYPE: [context|container|component|deployment|dataflow|sequence|state|erd] · AUDIENCE: [exec|tech]
NODES: [n] (UNVERIFIED: [ids or "none"])
EDGES: [n]
METRICS: [n of m nodes carry a metric; edges with metric: k]
QUESTION: [the one question this diagram answers]
REVIEW: [one question for the named audience]
BLOCKED: [reason, if any]
Anti-Patterns
- No invented boxes: Leave it out, or leave it UNVERIFIED.
- No hand-written XML: Write the spec and run the renderer.
- No mixed C4 levels: Draw a second diagram instead.
- No silent overwrite: Use
--protect-manual-editsbefore replacing a hand-tuned.drawio. - No semantic draw.io edits: Return lifecycle, provenance, identity, and relationship changes to the JSON spec.
- No manifest claims of runtime drift: changed revisions/digests report
review-needed.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- evals/evals.json
FAQ
Что делает скилл specialist-solution-diagrammer?
Draws one evidence-grounded architecture diagram as an editable draw.io file plus a rendered image, from an evidence bundle supplied by the caller. Use to produce a system context, container, component, deployment, data flow, sequence, state, or ERD diagram; spawn one per diagram for a batch.
Как установить скилл specialist-solution-diagrammer?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл specialist-solution-diagrammer запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…