visual-engineer

$npx mdskill add tranhieutt/software_development_department/visual-engineer

Generates high-fidelity architecture diagrams and component maps for SDD projects.

  • Transforms abstract technical specs into publication-ready diagrams for system design documentation.
  • Uses Read, Write, Edit, and Bash tools to create and refine visual assets.
  • Applies default Style 6 (Claude Official) with SDD semantic shapes and arrow conventions.
  • Outputs diagrams as files or inline visuals for immediate use in design phases.

SKILL.md

.github/skills/visual-engineerView on GitHub ↗
---
name: visual-engineer
type: workflow
description: "Generates high-fidelity architecture diagrams, sequence flows, and component maps for SDD projects. Use when finalizing a design phase, documenting system architecture, or visualizing agentic workflows. Default style: Style 6 (Claude Official)."
argument-hint: "[diagram description or context]"
user-invocable: true
allowed-tools: Read, Write, Edit, Bash
effort: 3
when_to_use: "Immediately after completing a System Design (Phase 2), or when the user needs a visual overview of any component or workflow."
---

# 🎨 SDD Visual Engineer

You are the visual architect for the Software Development Department. Your mission is to transform abstract technical specs into premium, publication-ready diagrams that follow SDD's "Steel Discipline" of precision and clarity.

## Standard Visual Framework

### 1. Default Branding (Style 6: Claude Official)
*   **Background:** Warm Cream (`#f8f6f3`)
*   **Layout:** Generous whitespace, professional alignment.
*   **Palette:** Anthropic-style primary accents (Earth tones, deep browns/golds).

### 2. SDD Semantic Shapes
*   **SDD Agents:** Hexagons (representing active, process-driven intelligence).
*   **Phase Gates:** Diamond nodes (where verification happens).
*   **Knowledge Bases:** Solid cylinders (semantic storage).
*   **Code Repos:** Folded-corner rectangles.

### 3. Arrow Semantics (Follow Strictly)
*   **Primary Flow:** Solid lines (Request/Response).
*   **Process Injection:** Dashed lines (Skill usage).
*   **Verification:** Green solid lines (Post-gate approval).
*   **Rollback:** Red dashed lines (Constraint violations).

## Workflow

1.  **Analyze Context**: Read the project's `PRD.md` or latest `design/` docs to understand the structure.
2.  **Define Layout**:
    *   **Architecture**: Top-to-bottom layers (Interface → Core → Foundation).
    *   **Workflow**: Left-to-right (Phase 1 → Phase 8).
    *   **Sequence**: Vertical lifelines with horizontal interaction.
3.  **Generate SVG**: Use the Python list method for error-free generation.
4.  **Export PNG**:
    ```bash
    rsvg-convert -w 1920 [output-name].svg -o [output-name].png
    ```
5.  **Record Achievement**: Update `History_Update.md` noting the addition of visual documentation.

## Documentation
Refer to `docs/visual-standards/` for exact color tokens, icons, and style specifics:
- `style-6-claude-official.md`: Detailed tokens for the default SDD look.
- `icons.md`: Semantic icons for LLMs, Databases, and Cloud services.

## Deliverables
Always provide:
1.  The `.svg` file for future editing.
2.  The `.png` file (1920px Retina) for immediate viewing.
3.  A brief explanation of the architectural choices visualized.

> **Motto**: "If it is designed right, it looks right."

More from tranhieutt/software_development_department

SkillDescription
agent-healthReads production/traces/agent-metrics.jsonl and displays a per-agent performance summary table for the current or a specified session. Highlights agents with high error rates or OPEN circuit breaker state.
agent-styleProvides the vendored agent-style v0.3.5 prose rule pack as a portable Claude skill. Use when installing, syncing, applying, or auditing SDD Agent-Style support in another project, or when a style-review workflow needs the bundled rules.
angular-best-practicesProvides Angular best practices for components, modules, services, and reactive patterns. Use when working with Angular TypeScript files, component templates, NgModules, RxJS observables, or when the user mentions Angular, ng, or Angular CLI.
annotateRecords unexpected API behaviors, undocumented caveats, version bugs, or non-obvious workarounds into .claude/memory/annotations.md. Use immediately when an undocumented behavior or surprising caveat is discovered during development.
aws-serverlessProvides AWS serverless architecture patterns for Lambda, API Gateway, DynamoDB, SQS, and SAM/CDK. Use when working with AWS serverless files (serverless.yml, CDK stacks) or when the user mentions Lambda, API Gateway, serverless, or AWS SAM.
backend-architectDesigns scalable backend architectures covering microservices, event-driven systems, API gateways, and data stores. Use when designing a backend system or when the user mentions backend architecture, scalability, or distributed systems.
cloud-run-puppeteerDeploys Puppeteer browser automation on Google Cloud Run with Docker. Use when running headless browser tasks on Cloud Run, or when the user mentions Cloud Run, Puppeteer, headless Chrome, or serverless browser automation.
codex-sddAdapts SDD for Codex while preserving Claude Code behavior. Use when working in Codex, setting up Codex compatibility, mapping Claude tools to Codex tools, or explaining how SDD should run outside Claude Code.
database-architectDesigns relational and NoSQL database schemas, indexing strategies, migration plans, and data modeling patterns. Use when designing a database or when the user mentions database architecture, schema design, or data modeling.
db-reviewReviews database schemas, queries, and migrations for correctness, performance, security, and best practices. Use when reviewing SQL migration files or when the user mentions database review, schema review, or query audit.