Engineering diagrams
Skill batteryshark/skill-tap/skills/development/engineering-diagrams
Create or revise evidence-backed engineering diagrams that explain system context, component ownership, data movement, runtime interactions, state transitions, or trust boundaries. Use when a visual model would make architecture, behavior, lifecycle, dependencies, or security boundaries easier to understand or review.From its SKILL.md
npx -y skills add batteryshark/skill-tap --skill engineering-diagramsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.5 KB, 430 tokens by cl100k_base, as published. Nobody here has run it
Engineering diagrams
Use a diagram to answer a concrete engineering question, not to reproduce a repository tree. Keep the visual small enough that a reader can challenge its model.
Workflow
-
State the audience, scope, scenario, and question the diagram must answer.
-
Inspect relevant entry points, modules, interfaces, schemas, stores, external calls, tests, logs, and existing documentation.
-
Choose the smallest useful diagram type with
references/diagram-types.md. Use multiple diagrams only when one view would mix incompatible levels of detail. -
Scaffold a Markdown and Mermaid starting point when useful:
bin/engineering-diagrams system --title "Service context" bin/engineering-diagrams sequence --title "Request lifecycle" --output docs/request-lifecycle.md -
Replace placeholders with evidence-backed nodes, relationships, transitions, guards, and boundaries. Label important inferences instead of presenting them as facts.
-
Add a short legend and evidence notes outside the diagram. Explain omissions that could otherwise mislead the reader.
-
Review the result with
references/review-checklist.md, then verify it against the implementation or an informed maintainer.
Rules
- Prefer one named scenario or question per diagram.
- Model responsibilities and behavior, not folder names alone.
- Show only detail that changes the reader's understanding.
- Distinguish observed, documented, inferred, and unknown relationships.
- Include failures, alternate paths, guards, or trust crossings when they are central to the question.
- Follow the project's existing diagram format when it has one; otherwise prefer portable Mermaid in Markdown.
- Treat a diagram as a reviewable hypothesis. Update or remove it when the system changes.
Output
Return the diagram, its question and scope, a compact legend, evidence references, material uncertainties, and the next validation needed.
Use agents/cartographer.md for an evidence pass and agents/reviewer.md for an independent model critique.
What ships with it: 6 files
7.9 KB alongside SKILL.md, 2 of them executable
agents/
- cartographer.md758 B
- reviewer.md712 B
bin/
- engineering-diagramsruns234 B
references/
- diagram-types.md2.0 KB
- review-checklist.md1.2 KB
scripts/
- scaffold_diagram.pyruns3.1 KB