create-diagram
Installation
SKILL.md
Create Diagram
Grill to a shared model, plan the diagram, then build through the bundled template and validators. Default to narrative-architecture for mixed stakeholder, developer, and manager audiences unless the user explicitly asks for exact-code-graph or executive-concept-map.
Skill Directory Resolution
Execute bundled runtime commands with the active skill directory (the directory containing this SKILL.md) set as the process working directory:
- On Claude Code: set
cwdto"${CLAUDE_SKILL_DIR}"(or the active skill directory) if running from an external working directory. - On other platforms: execute commands with process
cwdset to the active skill directory. - Resolve
skill-rootas the directory containingSKILL.mdandrepo-rootas the absolute target repository path. - All non-script paths (target repository, plan, output, draft, payload,
.env, issue JSON, run-dir) passed as arguments MUST be absolute paths. - Fail closed if
skill-rootorrepo-rootcannot be resolved. - Never write output or state files relative to the installed skill package directory.
Workflow
- Explore
- Inspect the repo before asking questions the environment can answer: docs, entrypoints, manifests, schemas, tests, routes, pipelines, generated artifacts, and existing diagrams.
- Separate discovered facts from inferences when summarizing what you found.