jeremylongshore/tons-of-skills-marketplace / plugins/devops/engineer-design-diagram/skills/engineer-design-diagram
engineer-design-diagram
VerifiedGenerate production-grade engineering design diagrams (architecture, sequence, delta, drift) as self-contained dark-themed HTML files with accessible inline SVG. Grounds every diagram in real repo topology via DCI — package manifests, docker-compose, k8s, terraform, import graph. Four modes: generate from a live repo, diff a PR, trace a stack into a sequence diagram, or watch for drift against a fingerprint. Semantic OKLCH palette; Mermaid fallback for large graphs. Use when visualizing system architecture, reviewing a PR for structural change, diagnosing an incident from a trace, onboarding to a codebase, or detecting architectural drift. Trigger with "/design:generate", "/design:diff", "/design:trace", "/design:watch", "draw the architecture", "diagram this PR", "engineer design diagram", or "architecture diagram".
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 17.7 KB |
| evals/evals.json | config | 3.3 KB |
| examples/aws-serverless.html | other | 9.4 KB |
| examples/microservices.html | other | 13.5 KB |
| examples/tiny-monorepo/expected-architecture.html | other | 7.8 KB |
| references/THIRD_PARTY_LICENSES.md | markdown | 2.3 KB |
| references/accessibility.md | markdown | 2.8 KB |
| references/dci-block.md | markdown | 3.3 KB |
| references/docs-layout.md | markdown | 16.6 KB |
| references/drawing-rules.md | markdown | 7.6 KB |
| references/fingerprint-spec.md | markdown | 5.1 KB |
| references/mode-playbooks.md | markdown | 5.4 KB |
| references/troubleshooting.md | markdown | 3.7 KB |
| scripts/collect_dci.shexecutable | script | 2.6 KB |
| scripts/fingerprint.pyexecutable | script | 6.8 KB |
| scripts/open_in_browser.shexecutable | script | 975 B |
| scripts/validate_html.pyexecutable | script | 3.2 KB |
| templates/base.html | other | 12.2 KB |
| templates/docs-layout.html | other | 21.4 KB |
| templates/mermaid-fallback.html | other | 2.2 KB |
| templates/sequence.html | other | 3.2 KB |
scripts/open_in_browser.sh
View on GitHub#!/usr/bin/env bash
# open_in_browser.sh — OS-aware HTML file opener for engineer-design-diagram output.
# Usage: open_in_browser.sh path/to/file.html
# Exits 0 on launch attempt, non-zero if no opener found.
set -eu
if [ "$#" -ne 1 ]; then
echo "Usage: $0 path/to/file.html" >&2
exit 2
fi
FILE="$1"
if [ ! -f "$FILE" ]; then
echo "File not found: $FILE" >&2
exit 2
fi
# Probe openers in priority order: xdg-open (Linux), open (macOS), wslview (WSL), start (Git Bash on Windows)
if command -v xdg-open >/dev/null 2>&1; then
xdg-open "$FILE" >/dev/null 2>&1 &
echo "Opened via xdg-open: $FILE"
elif command -v open >/dev/null 2>&1; then
open "$FILE"
echo "Opened via macOS open: $FILE"
elif command -v wslview >/dev/null 2>&1; then
wslview "$FILE"
echo "Opened via wslview: $FILE"
elif command -v start >/dev/null 2>&1; then
start "$FILE"
echo "Opened via start: $FILE"
else
echo "No browser opener found. Open manually: $FILE" >&2
exit 1
fi
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| writing-skillsobra/superpowersUse when creating new skills, editing existing skills, or verifying skills work before deployment | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |
| xlsxanthropics/skillsUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| shipping-and-launchaddyosmani/agent-skillsPrepares production launches. Use when preparing to deploy to production, or when asking what needs to be in place before shipping. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| childhoodthedotmack/claude-memBabysit a shipped release after merge, publication, or deployment. Verify published packages, production behavior, installed plugins, and late CI or user reports until the observation window is clean; use babysit for PR readiness before release. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |