diagram-codebaselisted
Install: claude install-skill akshay-diwadkar/skills
# Diagram Codebase
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 `cwd` to `"${CLAUDE_SKILL_DIR}"` (or the active skill directory) if running from an external working directory.
- On other platforms: execute commands with process `cwd` set to the active skill directory.
- Resolve `skill-root` as the directory containing `SKILL.md` and `repo-root` as 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-root` or `repo-root` cannot be resolved.
- Never write output or state files relative to the installed skill package directory.
## Workflow
1. **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.
2. **Question**
- Read [question-framework.md](references/question-framework.md).
- Ma