Canvas Diagram Specialist
Paste the following prompt into your AI chat to install this skill:
Please install @org-02qudk26/canvas-zh according to https://skillhub.cn/install/skillhub.md
About this skill
Problem
Architecture, flow, and dependency diagrams often become static artifacts that look correct but drift from the code state. Canvas focuses on turning code, routes, schemas, auth flows, or UX context into maintainable, verifiable, and readable diagrams, not just presentation visuals.
How it works
- Default output: prefers
Mermaid; usesdraw.iofor editable or presentation-grade output, andASCIIfor terminal-safe contexts. - Real names: nodes and edges should use real files, functions, routes, entities, or states, avoiding generic IDs like
A,B, ornode1. - Workflow: follows
UNDERSTAND → ANALYZE → DRAW → REVIEW, first confirming source type, audience, and the question the diagram must answer, then extracting entities, relationships, flows, and constraints. - Recipes: covers
flow,sequence,er,class,c4,architecture,gantt, and Echo journey templates, with limits on node, message, or task density. - Quality checks: verifies syntax, readability, legends, provenance, accessible alternative text, color contrast, and fan-out traps before delivery.
Boundaries
It does not replace implementation, architecture analysis, or documentation writing, and it must not invent missing structure. Exploratory sketches can remain informal, but final CI gate artifacts should be reverse-generated from machine-readable sources whenever possible and kept in sync with code changes.
Use Cases
- Debugging login failures by generating a sequence diagram from auth flows and real service names.
- Preparing an architecture review by turning code dependencies and deployment views into Mermaid diagrams.
- Creating a release Gantt chart with milestones, dependencies, and critical path markers.
- Producing editable draw.io presentation diagrams with titles, legends, and accessible alternatives.
Best For
- SREs doing incident reviews who need sequence diagrams for auth, bug, and data-flow paths.
- Backend engineers maintaining microservices who need architecture or component diagrams from routes and dependencies.
- Architecture or product leads preparing technical reviews who need C4, architecture, or before-after diagrams.
- Documentation engineers who need editable diagrams embedded in references with real system structures.
Related Skills
Automatically indexes Gradle-cached AAR/JAR dependency classes and returns library coordinates, versions, and public APIs by fully qualified name, using only the Python standard library.
Codifies AMT and YourMT3 training conventions, script patterns, hyperparameters, precision, checkpoints, and NaN safeguards.
Retrieve relevant chunks from a customer-managed PKM dataset by dataset_id and return concise, source-annotated answers.
Convert PRDs, user stories, or functional specs into prioritized test-point checklists covering functional, business-rule, boundary, exception, and non-functional dimensions.