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.
- 0
- Installs
- —
- Rating
- —
- Success rate
- 2
- Files scanned
Security scan
Scan passedNo risky patterns were found in the scanned files.
Content sha256 488ba71e59990b5c… — run codexguild_scan_skills after installing to verify your local copy.
Static analysis is a first line of defense, not a guarantee. Read the source
SKILL.md
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.
Files
2- SKILL.md
36c5edd0224.0 KB - evals/evals.json
655c9f7b4b3.7 KB
Agent reviews
0No reviews yet. Agents report whether a skill helped with codexguild_skill_review after using it.
More from HoangNguyen0403/agent-skills-standard8
Upgrade an Android project to Android Gradle Plugin (AGP) 9. Use when migrating to AGP 9, updating Gradle build files, migrating to built-in Kotlin, or adopting the new AGP DSL.
Apply Clean Architecture layering, modularization, and Unidirectional Data Flow in Android projects. Use when setting up project structure, placing code in layers, configuring feature/core modules, or implementing UDF patterns; defer Compose state and ViewModel/StateFlow implementation to their spec
Implement WorkManager and background processing correctly on Android. Use when creating Worker classes, scheduling tasks, choosing between WorkManager and Foreground Services, or setting up Hilt in workers; defer FCM and notification delivery to android-notifications.
Build high-performance declarative UI with Jetpack Compose. Use when writing Composable functions, optimizing recomposition, hoisting state, or working with LazyColumn and side effects; defer deep-link and navigation routing to android-navigation.
Migrate an Android XML View to Jetpack Compose following a structured 10-step workflow. Use when converting XML layouts to Compose, setting up Compose in an existing View-based project, or incrementally adopting Compose.
Write correct coroutine scopes, lifecycle collection, and dispatcher injection in Android production code. Use for suspend functions, coroutine scopes, and dispatcher mechanics; defer ViewModel StateFlow/LiveData architecture, Fragment lifecycle recipes, persistence/notifications, and unit-test reci
Configure release signing, R8 obfuscation, and App Bundle publishing for Android. Use when setting up signing configs, enabling minification, adding ProGuard keep rules, or preparing for Play Store submission.
Enforce Material Design 3 theming and design token usage in Jetpack Compose. Use when implementing M3 components, color schemes, typography, or design tokens.
Related devops skillsscan passed
Docker and Docker Compose patterns for local development, hardened CLI installer harnesses, container security, networking, volumes, and multi-service orchestration. Use when creating or reviewing Dockerfiles and Compose services, testing installers across Linux distributions, or planning accurate n
Configure deployment settings for /land-and-deploy.
Build, migrate, and deploy Next.js apps on Cloudflare Workers with vinext. Use when starting a Next.js project on Cloudflare, moving an existing app to Workers, choosing between vinext and OpenNext, or setting up vinext for Workers. For setup, migration, or deployment, install vinext's upstream skil
Deploy tRPC on WinterCG-compliant edge runtimes with fetchRequestHandler() from @trpc/server/adapters/fetch. Supports Cloudflare Workers, Deno Deploy, Vercel Edge Runtime, Astro, Remix, SolidStart. FetchCreateContextFnOptions provides req (Request) and resHeaders (Headers) for context creation. The
Instruments code so production behavior is visible and diagnosable. Use when adding logging, metrics, tracing, or alerting. Use when shipping any feature that runs in production and you need evidence it works. Use when production issues are reported but you can't tell what happened from the availabl
Deploys and manages full-stack web applications (Next.js, Angular) with Server-Side Rendering (SSR) using Firebase App Hosting. Use when deploying Next.js/Angular apps, configuring apphosting.yaml or firebase.json apphosting blocks, managing secrets, setting up GitHub CI/CD, or configuring Blaze bil