[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71EPE85WZ9GM44NYZD2YA1A":3,"skill-same:01M71EPE85WZ9GM44NYZD2YA1A":64},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":31,"linkOnly":32,"markdownContent":33,"markdownBody":34,"frontMatter":35,"refName":36,"commitSha":37,"skillDirectory":38,"forksCount":39,"repositoryHtmlUrl":40,"repositoryHomepageUrl":6,"ownerHtmlUrl":41,"ownerBlogUrl":6,"ownerDescription":42,"updatedAt":43,"install":44,"resources":57},"01M71EPE85WZ9GM44NYZD2YA1A","Diagram",null,"Generate diagrams from descriptions with Mermaid, PlantUML, or ASCII for architecture, flows, sequences, and data models.","ViewWay\u002Fhermes-by-everythings","ViewWay","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F57283862?v=4","01M71ENR60K309MXA64A23SEW5","01M71ENR6QYM7NQHP29W53HSXT",3,"MIT","https:\u002F\u002Fgithub.com\u002FViewWay\u002Fhermes-by-everythings\u002Fblob\u002Fmain\u002Fskills\u002Fdiagram\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30],"diagram","diagrams","for","ascii","flows","architecture","with","generate","mermaid","plantuml","models","sequences","data","2026-11-10 10:12:30",false,"---\nname: Diagram\ndescription: Generate diagrams from descriptions with Mermaid, PlantUML, or ASCII for architecture, flows, sequences, and data models.\n---\n\n## Principle\n\nDiagrams should **clarify, not complicate**. Start simple, add detail only when needed. A 5-box flowchart beats a 50-node sprawl.\n\n## When User Describes a System or Flow\n\n1. **Identify diagram type** — Is this a flow, architecture, sequence, or data model?\n2. **Choose format** — Mermaid (default), PlantUML (complex), ASCII (inline), SVG (custom)\n3. **Draft minimal version** — Core elements only, no decoration\n4. **Iterate** — Add detail based on feedback\n\n## Diagram Types\n\n| Type | Use For | Format |\n|------|---------|--------|\n| Flowchart | Processes, decisions, workflows | Mermaid `flowchart` |\n| Sequence | API calls, interactions, protocols | Mermaid `sequenceDiagram` |\n| Architecture | System components, infrastructure | Mermaid `flowchart` or `C4` |\n| ER\u002FData model | Database schemas, relationships | Mermaid `erDiagram` |\n| Class | Object structure, inheritance | Mermaid `classDiagram` |\n| State | Lifecycles, status transitions | Mermaid `stateDiagram-v2` |\n| Timeline | Project phases, history | Mermaid `timeline` |\n| Mindmap | Brainstorming, concept mapping | Mermaid `mindmap` |\n\n## Output Methods\n\n| Method | When |\n|--------|------|\n| Mermaid code block | User can render (docs, GitHub, Notion) |\n| Render to PNG\u002FSVG | User needs image file |\n| ASCII inline | Quick sketch in chat |\n| HTML + Mermaid.js | Interactive viewing |\n\n### Rendering Mermaid to Image\n\n```bash\n# Using mmdc (mermaid-cli)\nnpx -y @mermaid-js\u002Fmermaid-cli mmdc -i diagram.mmd -o diagram.png -b transparent\n\n# Or via browser tool\n# Write HTML with Mermaid, screenshot the rendered diagram\n```\n\n## Mermaid Quick Reference\n\n**Flowchart:**\n```mermaid\nflowchart LR\n    A[Start] --> B{Decision}\n    B -->|Yes| C[Action]\n    B -->|No| D[End]\n```\n\n**Sequence:**\n```mermaid\nsequenceDiagram\n    User->>API: Request\n    API->>DB: Query\n    DB-->>API: Result\n    API-->>User: Response\n```\n\n**ER Diagram:**\n```mermaid\nerDiagram\n    USER ||--o{ ORDER : places\n    ORDER ||--|{ ITEM : contains\n```\n\n## Style Guidelines\n\n- **Left-to-right (LR)** for processes, **top-to-bottom (TB)** for hierarchies\n- **Max 10-15 nodes** per diagram, split if larger\n- **Consistent naming** — all caps for systems, lowercase for actions\n- **Subgraphs** to group related components\n- **Color sparingly** — highlight critical paths only\n\n## Common Requests\n\n| Request | Interpret As |\n|---------|--------------|\n| \"Draw my API flow\" | Sequence diagram: client → API → services |\n| \"Show the architecture\" | Flowchart with subgraphs for components |\n| \"Database schema\" | ER diagram with relationships |\n| \"How the auth works\" | Sequence or flowchart depending on complexity |\n| \"User journey\" | Flowchart with decision points |\n\n## Anti-Patterns\n\n- ❌ Too many nodes (split into multiple diagrams)\n- ❌ Decorative icons without meaning\n- ❌ Mixing abstraction levels (database tables next to business concepts)\n- ❌ Arrows in all directions (confuses flow)\n- ❌ Labels too long (use short names, add legend if needed)\n","## Principle\n\nDiagrams should **clarify, not complicate**. Start simple, add detail only when needed. A 5-box flowchart beats a 50-node sprawl.\n\n## When User Describes a System or Flow\n\n1. **Identify diagram type** — Is this a flow, architecture, sequence, or data model?\n2. **Choose format** — Mermaid (default), PlantUML (complex), ASCII (inline), SVG (custom)\n3. **Draft minimal version** — Core elements only, no decoration\n4. **Iterate** — Add detail based on feedback\n\n## Diagram Types\n\n| Type | Use For | Format |\n|------|---------|--------|\n| Flowchart | Processes, decisions, workflows | Mermaid `flowchart` |\n| Sequence | API calls, interactions, protocols | Mermaid `sequenceDiagram` |\n| Architecture | System components, infrastructure | Mermaid `flowchart` or `C4` |\n| ER\u002FData model | Database schemas, relationships | Mermaid `erDiagram` |\n| Class | Object structure, inheritance | Mermaid `classDiagram` |\n| State | Lifecycles, status transitions | Mermaid `stateDiagram-v2` |\n| Timeline | Project phases, history | Mermaid `timeline` |\n| Mindmap | Brainstorming, concept mapping | Mermaid `mindmap` |\n\n## Output Methods\n\n| Method | When |\n|--------|------|\n| Mermaid code block | User can render (docs, GitHub, Notion) |\n| Render to PNG\u002FSVG | User needs image file |\n| ASCII inline | Quick sketch in chat |\n| HTML + Mermaid.js | Interactive viewing |\n\n### Rendering Mermaid to Image\n\n```bash\n# Using mmdc (mermaid-cli)\nnpx -y @mermaid-js\u002Fmermaid-cli mmdc -i diagram.mmd -o diagram.png -b transparent\n\n# Or via browser tool\n# Write HTML with Mermaid, screenshot the rendered diagram\n```\n\n## Mermaid Quick Reference\n\n**Flowchart:**\n```mermaid\nflowchart LR\n    A[Start] --> B{Decision}\n    B -->|Yes| C[Action]\n    B -->|No| D[End]\n```\n\n**Sequence:**\n```mermaid\nsequenceDiagram\n    User->>API: Request\n    API->>DB: Query\n    DB-->>API: Result\n    API-->>User: Response\n```\n\n**ER Diagram:**\n```mermaid\nerDiagram\n    USER ||--o{ ORDER : places\n    ORDER ||--|{ ITEM : contains\n```\n\n## Style Guidelines\n\n- **Left-to-right (LR)** for processes, **top-to-bottom (TB)** for hierarchies\n- **Max 10-15 nodes** per diagram, split if larger\n- **Consistent naming** — all caps for systems, lowercase for actions\n- **Subgraphs** to group related components\n- **Color sparingly** — highlight critical paths only\n\n## Common Requests\n\n| Request | Interpret As |\n|---------|--------------|\n| \"Draw my API flow\" | Sequence diagram: client → API → services |\n| \"Show the architecture\" | Flowchart with subgraphs for components |\n| \"Database schema\" | ER diagram with relationships |\n| \"How the auth works\" | Sequence or flowchart depending on complexity |\n| \"User journey\" | Flowchart with decision points |\n\n## Anti-Patterns\n\n- ❌ Too many nodes (split into multiple diagrams)\n- ❌ Decorative icons without meaning\n- ❌ Mixing abstraction levels (database tables next to business concepts)\n- ❌ Arrows in all directions (confuses flow)\n- ❌ Labels too long (use short names, add legend if needed)\n",{"name":5,"description":7},"main","0446e11613ad1942de249b12f7deea3889c25af4","skills\u002Fdiagram",0,"https:\u002F\u002Fgithub.com\u002FViewWay\u002Fhermes-by-everythings","https:\u002F\u002Fgithub.com\u002FViewWay","rust can do everything","2026-06-19 23:27:05",{"source":8,"skillName":5,"commands":45,"prompt":55,"zipAvailable":56},[46,49,52],{"tool":47,"command":48},"npx","npx skills add ViewWay\u002Fhermes-by-everythings --skill Diagram",{"tool":50,"command":51},"bunx","bunx skills add ViewWay\u002Fhermes-by-everythings --skill Diagram",{"tool":53,"command":54},"pnpm","pnpm dlx skills add ViewWay\u002Fhermes-by-everythings --skill Diagram","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FViewWay\u002Fhermes-by-everythings\u002Fblob\u002Fmain\u002Fskills\u002Fdiagram\u002FSKILL.md",true,[58],{"path":59,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":62,"sourceHtmlUrl":63},"_meta.json","REFERENCE","参考文档",126,"https:\u002F\u002Fgithub.com\u002FViewWay\u002Fhermes-by-everythings\u002Fblob\u002Fmain\u002Fskills\u002Fdiagram\u002F_meta.json",[65,104,129,153,184,205],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":84,"publishedAt":31},"01M71EREGWXCCGBGDZ969RZQA7","ui-ux-pro-max","UI\u002FUX design intelligence and implementation guidance for building polished interfaces. Use when the user asks for UI design, UX flows, information architecture, visual style direction, design systems\u002Ftokens, component specs, copy\u002Fmicrocopy, accessibility, or to generate\u002Fcritique\u002Frefine frontend UI (HTML\u002FCSS\u002FJS, React, Next.js, Vue, Svelte, Tailwind). Includes workflows for (1) generating new UI layouts and styling, (2) improving existing UI\u002FUX, (3) producing design-system tokens and component guidelines, and (4) turning UX recommendations into concrete code changes.","https:\u002F\u002Fgithub.com\u002FViewWay\u002Fhermes-by-everythings\u002Fblob\u002Fmain\u002Fskills\u002Fui-ux-pro-max\u002FSKILL.md",[71,76,79],{"categoryNo":72,"categoryName":73,"taxonomyType":74,"taxonomyTypeDesc":75},"01JBSEEDCAT000000000000009","前端开发","SCENARIO","使用场景",{"categoryNo":77,"categoryName":78,"taxonomyType":74,"taxonomyTypeDesc":75},"01JBSEEDCAT000000000000015","视觉设计",{"categoryNo":80,"categoryName":81,"taxonomyType":82,"taxonomyTypeDesc":83},"01JBSEEDCAT000000000000032","设计师","PROFESSION","适用职业",[85,86,87,88,89,90,91,92,93,94,95,22,96,97,98,99,100,101,102,103],"ux","max","ui ux","ui","ui ux pro max","pro","information architecture","css","microcopy","direction","Tailwind","frontend","design","new","svelte","design systems","information","workflows","when",{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":31},"01M71ERBY797MAY4HTFMSHPXMY","springboot-verification","Verification loop for Spring Boot projects: build, static analysis, tests with coverage, security scans, and diff review before release or PR.","https:\u002F\u002Fgithub.com\u002FViewWay\u002Fhermes-by-everythings\u002Fblob\u002Fmain\u002Fskills\u002Fspringboot-verification\u002FSKILL.md",[],[111,112,113,114,115,116,117,20,118,119,120,121,122,123,124,125,126,24,127,128],"springboot verification","verification","coverage","projects","verification loop","pr","diff","static","tests","spring boot","diff review","spring","loop","boot","analysis","review","build","release",{"skillNo":130,"name":131,"nameZh":6,"description":132,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":133,"categories":134,"keywords":138,"publishedAt":31},"01M71ER9TQGK9Y00JEEM6RW9RY","springboot-patterns","Spring Boot architecture patterns, REST API design, layered services, data access, caching, async processing, and logging. Use for Java Spring Boot backend work.","https:\u002F\u002Fgithub.com\u002FViewWay\u002Fhermes-by-everythings\u002Fblob\u002Fmain\u002Fskills\u002Fspringboot-patterns\u002FSKILL.md",[135],{"categoryNo":136,"categoryName":137,"taxonomyType":74,"taxonomyTypeDesc":75},"01JBSEEDCAT000000000000010","后端与接口",[139,140,141,142,120,97,143,144,23,145,146,147,30,148,149,20,150,151,152,122],"patterns","springboot patterns","processing","rest api design","access","caching","api","spring boot architecture","work","architecture patterns","logging","async","java spring","use",{"skillNo":154,"name":155,"nameZh":6,"description":156,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":157,"categories":158,"keywords":166,"publishedAt":31},"01M71ER6XTWDJ0NVE5RFY28RE7","security-auditor","Use when reviewing code for security vulnerabilities, implementing authentication flows, auditing OWASP Top 10, configuring CORS\u002FCSP headers, handling secrets, input validation, SQL injection prevention, XSS protection, or any security-related code review.","https:\u002F\u002Fgithub.com\u002FViewWay\u002Fhermes-by-everythings\u002Fblob\u002Fmain\u002Fskills\u002Fsecurity-auditor\u002FSKILL.md",[159,162,163],{"categoryNo":160,"categoryName":161,"taxonomyType":74,"taxonomyTypeDesc":75},"01JBSEEDCAT000000000000007","代码审查",{"categoryNo":136,"categoryName":137,"taxonomyType":74,"taxonomyTypeDesc":75},{"categoryNo":164,"categoryName":165,"taxonomyType":82,"taxonomyTypeDesc":83},"01JBSEEDCAT000000000000033","数据分析师",[167,168,169,170,171,22,172,173,174,103,175,176,177,178,126,179,180,181,182,183],"security","security auditor","auditor","authentication","code review","implementing","csrf","Input Validation","encryption","code","vulnerability","xss","top","owasp top 10","audit","sql","secrets",{"skillNo":185,"name":186,"nameZh":6,"description":187,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":188,"categories":189,"keywords":193,"publishedAt":31},"01M71ER4PHRJ1EKXQTQPEPYQ6J","rust-testing","Rust testing patterns including unit tests, integration tests, async testing, property-based testing, mocking, and coverage. Follows TDD methodology.","https:\u002F\u002Fgithub.com\u002FViewWay\u002Fhermes-by-everythings\u002Fblob\u002Fmain\u002Fskills\u002Frust-testing\u002FSKILL.md",[190],{"categoryNo":191,"categoryName":192,"taxonomyType":74,"taxonomyTypeDesc":75},"01JBSEEDCAT000000000000008","测试与质量",[194,195,196,113,197,198,139,199,150,200,119,201,202,203,204],"rust","testing","rust testing","unit","testing patterns","integration tests","mocking","unit tests","tdd","integration","methodology",{"skillNo":206,"name":207,"nameZh":6,"description":208,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":209,"categories":210,"keywords":211,"publishedAt":31},"01M71ER0XW3N4K7YTQSXXWW3M3","rust-patterns","Idiomatic Rust patterns, ownership, error handling, traits, concurrency, and best practices for building safe, performant applications.","https:\u002F\u002Fgithub.com\u002FViewWay\u002Fhermes-by-everythings\u002Fblob\u002Fmain\u002Fskills\u002Frust-patterns\u002FSKILL.md",[],[194,139,212,213,214,215,216,217,20,218,219,220,221],"rust patterns","error","traits","concurrency","safe","idiomatic","applications","best practices","error handling","ownership"]