[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75MR1W11P9A7AYJT4D475VJ":3,"skill-same:01M75MR1W11P9A7AYJT4D475VJ":108},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":34,"ownerDescription":6,"updatedAt":35,"install":36,"resources":49},"01M75MR1W11P9A7AYJT4D475VJ","mermaid-studio",null,"Validate and render Mermaid diagrams to SVG, PNG, or ASCII with bundled scripts (mermaid-cli, beautiful-mermaid, Puppeteer icon packs), plus styling rules for C4 and AWS architecture-beta diagrams. Use when a .mmd file needs a syntax check, a rendered image, batch rendering, ASCII output, an AWS icon diagram, a C4 diagram, or one of the 20 bundled themes. Do not use for choosing a diagram type or writing Mermaid inside markdown docs (use markdown-mermaid-writing or diagram-generator), or for previewing in the terminal (use mermaid-terminal).","stanfish06\u002Fskillquarium","stanfish06","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F93099613?v=4","01M75F1CK4ZW109ZK3T26VN52F","Zhiyuan","01M75F1CM53VH6F79DZ8GXKKES",12,"CC-BY-4.0","https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fmermaid-studio\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: mermaid-studio\ndescription: Validate and render Mermaid diagrams to SVG, PNG, or ASCII with bundled scripts (mermaid-cli, beautiful-mermaid, Puppeteer icon packs), plus styling rules for C4 and AWS architecture-beta diagrams. Use when a .mmd file needs a syntax check, a rendered image, batch rendering, ASCII output, an AWS icon diagram, a C4 diagram, or one of the 20 bundled themes. Do not use for choosing a diagram type or writing Mermaid inside markdown docs (use markdown-mermaid-writing or diagram-generator), or for previewing in the terminal (use mermaid-terminal).\nlicense: CC-BY-4.0\nmetadata:\n  author: Felipe Rodrigues - github.com\u002Ffelipfr\n  source: https:\u002F\u002Fgithub.com\u002Ftech-leads-club\u002Fagent-skills\n  version: 1.0.1\n---\n\n# Mermaid Studio\n\nExpert-level Mermaid diagram creation, validation, and multi-format rendering. Creates diagrams from descriptions or code analysis, validates syntax, and renders to SVG, PNG, or ASCII with professional theming.\n\n## Golden Rules — Elegant Diagrams by Default\n\nEvery diagram MUST follow these principles. They are not optional — they define the difference between a mediocre diagram and a gold-standard one.\n\n### Rule 1: Always Use an Init Directive for Professional Styling\n\n**NEVER** create a diagram without an `%%{init}` directive or frontmatter config. The default Mermaid theme produces harsh black lines and generic colors. Always apply a curated palette.\n\n**For general diagrams (flowchart, sequence, state, class, ERD):**\n\n```\n%%{init: {'theme': 'base', 'themeVariables': {\n  'primaryColor': '#4f46e5', 'primaryTextColor': '#ffffff',\n  'primaryBorderColor': '#3730a3', 'lineColor': '#94a3b8',\n  'secondaryColor': '#10b981', 'tertiaryColor': '#f59e0b',\n  'background': '#ffffff', 'mainBkg': '#f8fafc',\n  'nodeBorder': '#cbd5e1', 'clusterBkg': '#f1f5f9',\n  'clusterBorder': '#e2e8f0', 'titleColor': '#1e293b',\n  'edgeLabelBackground': '#ffffff', 'textColor': '#334155'\n}}}%%\n```\n\n**⚠️ Font Warning:** Do NOT set `fontFamily` in theme variables. The Mermaid default font (`trebuchet ms, verdana, arial, sans-serif`) works everywhere. Setting `system-ui`, `Segoe UI`, or `-apple-system` will render as Times New Roman in headless Chromium (used by `mmdc`).\n\n**For C4 diagrams — see the dedicated C4 styling section below.**\n\n**For architecture-beta diagrams — see the dedicated AWS\u002FArchitecture section below.**\n\n### Rule 2: Soft Lines, Never Harsh Black\n\nThe single biggest visual improvement is using `lineColor: '#94a3b8'` (slate-400) instead of the default black. This creates a modern, breathable diagram. For dark themes, use `lineColor: '#64748b'` (slate-500).\n\n### Rule 3: Limit Density — Breathe\n\n- Maximum 15 nodes per diagram (not 20 — fewer is more elegant)\n- Use `subgraph` or boundaries to create whitespace and visual grouping\n- Prefer LR (left-right) for process flows — it reads more naturally\n- Use invisible links (`A ~~~ B`) to add spacing when the layout is cramped\n\n### Rule 4: Meaningful Labels and Consistent Style\n\n- Node IDs: camelCase (`orderService`, not `s1` or `os`)\n- Labels: short, clear natural language (`[Order Service]`)\n- Arrows: action verbs with protocol info (`\"Sends order via gRPC\"`)\n- Descriptions: one-line, role-focused (`\"Handles order lifecycle\"`)\n\n### Rule 5: Color Harmony Over Color Variety\n\nUse max 3-4 colors per diagram. Map colors to meaning:\n\n- **Blue tones** (#4f46e5, #3b82f6) → primary systems, internal services\n- **Green tones** (#10b981, #059669) → success states, data stores\n- **Amber tones** (#f59e0b, #d97706) → external systems, warnings\n- **Slate tones** (#64748b, #94a3b8) → lines, borders, secondary elements\n- **Red tones** (#ef4444) → errors ONLY, never as decoration\n\n## Modes of Operation\n\nThis skill operates in three modes based on user intent:\n\n| Mode       | Trigger                                           | What happens               |\n| ---------- | ------------------------------------------------- | -------------------------- |\n| **Create** | \"draw a diagram of...\", \"visualize my...\"         | Generates .mmd code only   |\n| **Render** | \"render this mermaid\", \"convert to SVG\u002FPNG\u002FASCII\" | Renders existing .mmd      |\n| **Full**   | \"create and render...\", ambiguous requests        | Create → Validate → Render |\n\nDefault to **Full** mode when intent is unclear.\n\n## Step 1: Understand the Request\n\nBefore writing any Mermaid code, determine:\n\n1. **What to diagram** — system, flow, schema, architecture, code structure?\n2. **Which diagram type** — use the Decision Matrix below\n3. **Output format** — code only, SVG, PNG, or ASCII?\n4. **Theme preference** — ask only if rendering; default to `base` theme with curated palette\n\n### Diagram Type Decision Matrix\n\n| User describes...                              | Diagram Type  | Syntax keyword       |\n| ---------------------------------------------- | ------------- | -------------------- |\n| Process, algorithm, decision tree, workflow    | Flowchart     | `flowchart TD\u002FLR`    |\n| API calls, message passing, request\u002Fresponse   | Sequence      | `sequenceDiagram`    |\n| Database schema, table relationships           | ERD           | `erDiagram`          |\n| OOP classes, domain model, interfaces          | Class         | `classDiagram`       |\n| State machine, lifecycle, transitions          | State         | `stateDiagram-v2`    |\n| High-level system overview (C4 Level 1)        | C4 Context    | `C4Context`          |\n| Applications, databases, services (C4 Level 2) | C4 Container  | `C4Container`        |\n| Internal components (C4 Level 3)               | C4 Component  | `C4Component`        |\n| Request flows with numbered steps              | C4 Dynamic    | `C4Dynamic`          |\n| Infrastructure, cloud deployment               | C4 Deployment | `C4Deployment`       |\n| Cloud services with icons (AWS\u002FGCP\u002FAzure)      | Architecture  | `architecture-beta`  |\n| Project timeline, scheduling                   | Gantt         | `gantt`              |\n| Proportional data, percentages                 | Pie           | `pie`                |\n| Brainstorming, hierarchical ideas              | Mindmap       | `mindmap`            |\n| Historical events, chronology                  | Timeline      | `timeline`           |\n| Branching strategy, git history                | Git Graph     | `gitGraph`           |\n| Flow quantities, resource distribution         | Sankey        | `sankey-beta`        |\n| X\u002FY data visualization                         | XY Chart      | `xychart-beta`       |\n| Priority matrix, strategic positioning         | Quadrant      | `quadrantChart`      |\n| Layout control, grid positioning               | Block         | `block-beta`         |\n| Network packets, protocol headers              | Packet        | `packet-beta`        |\n| Task boards, kanban workflow                   | Kanban        | `kanban`             |\n| User experience, satisfaction scoring          | User Journey  | `journey`            |\n| System requirements traceability               | Requirement   | `requirementDiagram` |\n\nIf the user's description doesn't clearly map to one type, suggest 2-3 options with a brief rationale for each, then let them choose.\n\n### When to Load References\n\nLoad reference files ONLY when needed for the specific diagram type:\n\n- **C4 diagrams** → Read `references\u002Fc4-architecture.md` BEFORE writing code\n- **AWS\u002FCloud architecture** → Read `references\u002Faws-architecture.md` BEFORE writing code\n- **Code-to-diagram** → Read `references\u002Fcode-to-diagram.md` BEFORE analyzing\n- **Theming\u002Fstyling** → Read `references\u002Fthemes.md` when user requests custom themes\n- **Syntax errors** → Read `references\u002Ftroubleshooting.md` when validation fails\n- **Any diagram type details** → Read `references\u002Fdiagram-types.md` for comprehensive syntax\n\n## Step 2: Create the Diagram\n\n### 2.1 — Write Mermaid Code\n\nFollow these principles in order of priority:\n\n1. **Elegance first** — every diagram must look professional with init directives and curated colors\n2. **Correctness** — valid syntax that renders without errors\n3. **Clarity** — meaningful labels, logical flow direction, clear relationships\n4. **Simplicity** — under 15 nodes per diagram; split complex systems into multiple\n5. **Consistency** — uniform naming (camelCase for IDs, descriptive labels in brackets)\n\n### 2.2 — Structure Rules\n\n```\n%% Diagram: [Purpose] | Author: [auto] | Date: [auto]\n%%{init: {'theme': 'base', 'themeVariables': { ... }}}%%\n[diagramType]\n    [content]\n```\n\n**CRITICAL:** The `%%{init}` directive MUST go on the very first non-comment line, BEFORE the diagram type declaration. Alternatively, use YAML frontmatter at the absolute start of the file.\n\n**Naming conventions:**\n\n- Node IDs: camelCase, descriptive (`orderService`, not `s1`)\n- Labels: natural language in brackets (`[Order Service]`)\n- Relationships: action verbs (`\"Sends order to\"`, `\"Reads from\"`)\n\n**Layout best practices:**\n\n- `TD` (top-down) for hierarchical flows and processes\n- `LR` (left-right) for timelines, pipelines, and sequential processes\n- `RL` for right-to-left reading contexts\n- Use `subgraph` to group related nodes; name subgraphs meaningfully\n- Add `direction` inside subgraphs when needed for different flow\n\n### 2.3 — Quick Reference Examples\n\n**Flowchart (with professional styling):**\n\n```mermaid\n%%{init: {'theme': 'base', 'themeVariables': {\n  'primaryColor': '#4f46e5', 'primaryTextColor': '#fff',\n  'primaryBorderColor': '#3730a3', 'lineColor': '#94a3b8',\n  'secondaryColor': '#10b981', 'tertiaryColor': '#f59e0b',\n  'background': '#ffffff', 'mainBkg': '#f8fafc',\n  'nodeBorder': '#cbd5e1', 'clusterBkg': '#f1f5f9',\n  'clusterBorder': '#e2e8f0', 'titleColor': '#1e293b',\n  'edgeLabelBackground': '#ffffff'\n}}}%%\nflowchart TD\n    Start([Start]) --> Input[\u002FUser Input\u002F]\n    Input --> Validate{Valid?}\n    Validate -->|Yes| Process[Process Data]\n    Validate -->|No| Error[Show Error]\n    Error --> Input\n    Process --> Save[(Save to DB)]\n    Save --> End([End])\n```\n\nFor sequence diagram and ERD styling examples, read `references\u002Fthemes.md`.\n\n**C4 Context (with MANDATORY elegant styling):**\n\n```mermaid\nC4Context\n    title System Context — E-Commerce Platform\n\n    Person(customer, \"Customer\", \"Places orders online\")\n    System(platform, \"E-Commerce Platform\", \"Handles orders and payments\")\n    System_Ext(payment, \"Payment Gateway\", \"Processes transactions\")\n    System_Ext(email, \"Email Service\", \"Sends notifications\")\n\n    Rel(customer, platform, \"Uses\", \"HTTPS\")\n    Rel(platform, payment, \"Processes payments\", \"API\")\n    Rel(platform, email, \"Sends emails\", \"SMTP\")\n\n    UpdateRelStyle(customer, platform, $textColor=\"#475569\", $lineColor=\"#94a3b8\")\n    UpdateRelStyle(platform, payment, $textColor=\"#475569\", $lineColor=\"#94a3b8\")\n    UpdateRelStyle(platform, email, $textColor=\"#475569\", $lineColor=\"#94a3b8\")\n\n    UpdateLayoutConfig($c4ShapeInRow=\"3\", $c4BoundaryInRow=\"1\")\n```\n\n**Architecture (AWS with Iconify icons):**\n\n```mermaid\narchitecture-beta\n    group vpc(logos:aws-vpc)[VPC]\n\n    service api(logos:aws-api-gateway)[API Gateway] in vpc\n    service lambda(logos:aws-lambda)[Lambda] in vpc\n    service db(logos:aws-dynamodb)[DynamoDB] in vpc\n    service s3(logos:aws-s3)[S3 Bucket]\n\n    api:R --> L:lambda\n    lambda:R --> L:db\n    lambda:B --> T:s3\n```\n\n**IMPORTANT:** Architecture-beta diagrams with `logos:*` icons require icon pack registration. When rendering with the render script, use the `--icons logos` flag. If rendering in a markdown viewer that doesn't support icon packs, use the built-in icons (`cloud`, `database`, `disk`, `server`, `internet`) as fallback. Read `references\u002Faws-architecture.md` for the complete icon catalog and rendering instructions.\n\nFor comprehensive syntax of ALL diagram types, read `references\u002Fdiagram-types.md`.\n\n## C4 Diagrams — Mandatory Styling Guide\n\nC4 diagrams have **fixed element styling** (blue boxes for systems, gray for persons, etc.), but their **relationship lines default to harsh black** which creates visual noise. You MUST apply these styling rules:\n\n### The C4 Styling Pattern\n\nEvery C4 diagram MUST include these directives at the end:\n\n```\n    %% === MANDATORY STYLING ===\n    %% Apply soft line colors to ALL relationships\n    UpdateRelStyle(fromAlias, toAlias, $textColor=\"#475569\", $lineColor=\"#94a3b8\")\n    %% Repeat for each Rel() in the diagram\n\n    %% Optimize layout spacing\n    UpdateLayoutConfig($c4ShapeInRow=\"3\", $c4BoundaryInRow=\"1\")\n```\n\n### C4 Color Values Reference\n\n| Purpose           | Color     | Hex       | Notes                                    |\n| ----------------- | --------- | --------- | ---------------------------------------- |\n| Soft line color   | Slate-400 | `#94a3b8` | Replaces harsh default black             |\n| Line text color   | Slate-600 | `#475569` | Readable but not dominant                |\n| Accent line       | Blue-400  | `#60a5fa` | For highlighted or primary relationships |\n| Warning line      | Amber-500 | `#f59e0b` | For external\u002Frisky connections           |\n| Custom element bg | Emerald   | `#10b981` | For data stores or success highlights    |\n| Custom element bg | Indigo    | `#4f46e5` | For primary system emphasis              |\n\n### C4 Layout Tips\n\n**CRITICAL — Maximum 6 `Rel()` per diagram.** More than 6 relationships causes Dagre to route arrows through nodes, creating unreadable spaghetti. If your system needs more connections, split it into multiple focused diagrams.\n\n- Use `$c4ShapeInRow=\"3\"` for most diagrams (prevents horizontal crowding)\n- Use `$c4ShapeInRow=\"2\"` for diagrams with long labels\n- Use `$c4BoundaryInRow=\"1\"` always (stacks boundaries vertically for clarity)\n- Apply `$offsetY=\"-10\"` to `UpdateRelStyle` when labels overlap with elements\n- Prefer tree-shaped topologies (1 in, 1-2 out per node) over mesh topologies\n- Declare elements in flow order — the order of `Container()` declarations affects layout\n- Use directional `Rel_D`, `Rel_R`, etc. only as a last resort when auto-layout creates overlapping\n\nFor comprehensive C4 syntax, examples, and patterns, read `references\u002Fc4-architecture.md`.\n\n## Step 3: Validate\n\nBefore rendering, ALWAYS validate the Mermaid syntax:\n\n```bash\nnode ~\u002F.agents\u002Fskills\u002Fmermaid-studio\u002Fscripts\u002Fvalidate.mjs \u003Cfile.mmd>\n```\n\nIf validation fails:\n\n1. Read the error message carefully\n2. Consult `references\u002Ftroubleshooting.md` for common fixes\n3. Fix the syntax and re-validate\n4. Maximum 3 fix attempts before asking the user for clarification\n\n## Step 4: Render\n\n### 4.1 — Setup (First Run Only)\n\n```bash\nbash ~\u002F.agents\u002Fskills\u002Fmermaid-studio\u002Fscripts\u002Fsetup.sh\n```\n\nInstalls mermaid-cli, beautiful-mermaid, mermaid, puppeteer, and Chromium into `${XDG_CACHE_HOME:-~\u002F.cache}\u002Fmermaid-studio` (override with `MERMAID_STUDIO_DIR`). Run once per environment.\n\n### 4.2 — Single Diagram Rendering\n\n```bash\n# SVG (default — best quality)\nnode ~\u002F.agents\u002Fskills\u002Fmermaid-studio\u002Fscripts\u002Frender.mjs -i diagram.mmd -o diagram.svg\n\n# PNG (for documents\u002Fpresentations)\nnode ~\u002F.agents\u002Fskills\u002Fmermaid-studio\u002Fscripts\u002Frender.mjs -i diagram.mmd -o diagram.png --width 1200\n\n# ASCII (for terminals\u002FREADMEs)\nnode ~\u002F.agents\u002Fskills\u002Fmermaid-studio\u002Fscripts\u002Frender-ascii.mjs -i diagram.mmd\n\n# With icon packs (architecture-beta with AWS\u002Ftech icons)\nnode ~\u002F.agents\u002Fskills\u002Fmermaid-studio\u002Fscripts\u002Frender.mjs -i diagram.mmd -o diagram.svg --icons logos,fa\n```\n\nThe `--icons` flag registers Iconify packs before rendering. Packs: `logos` (AWS\u002Ftech), `fa` (Font Awesome). Use `logos` for AWS.\n\n### 4.3 — Batch Rendering\n\nFor multiple diagrams at once:\n\n```bash\nnode ~\u002F.agents\u002Fskills\u002Fmermaid-studio\u002Fscripts\u002Fbatch.mjs \\\n  --input-dir .\u002Fdiagrams \\\n  --output-dir .\u002Frendered \\\n  --format svg \\\n  --theme default \\\n  --workers 4\n```\n\n### 4.4 — Available Themes\n\n**beautiful-mermaid (15):** `tokyo-night` | `tokyo-night-storm` | `tokyo-night-light` | `dracula` | `nord` | `nord-light` | `catppuccin-mocha` | `catppuccin-latte` | `github-dark` | `github-light` | `solarized-dark` | `solarized-light` | `one-dark` | `zinc-dark` | `zinc-light`\n\n**mermaid-cli native (5):** `default` | `forest` | `dark` | `neutral` | `base`\n\nCustom theme: `--theme base --config '{\"theme\":\"base\",\"themeVariables\":{\"primaryColor\":\"#4f46e5\",\"lineColor\":\"#94a3b8\"}}'`\n\nFor the full theme catalog, read `references\u002Fthemes.md`. The render script auto-selects the best engine (mmdc primary, beautiful-mermaid fallback, Puppeteer for icon packs).\n\n## Step 5: Code-to-Diagram (When Requested)\n\nWhen the user asks to visualize existing code or architecture:\n\n1. Read `references\u002Fcode-to-diagram.md` for the analysis methodology\n2. Analyze the codebase to identify the right diagram type:\n   - Module dependencies → Flowchart or Class diagram\n   - API routes and handlers → Sequence diagram\n   - Database models\u002Fschemas → ERD\n   - Service architecture → C4 Container or Architecture diagram\n   - State machines in code → State diagram\n3. Generate the .mmd file **with proper init directives** (Golden Rule 1)\n4. Validate and render as usual\n\n## Troubleshooting Quick Reference\n\n| Symptom               | Likely Cause       | Fix                                                    |\n| --------------------- | ------------------ | ------------------------------------------------------ |\n| Diagram won't render  | Syntax error       | Run validate.mjs, check brackets\u002Fquotes                |\n| Labels cut off        | Text too long      | Shorten labels or use line breaks `\u003Cbr\u002F>`              |\n| Layout looks wrong    | Wrong direction    | Try different TD\u002FLR\u002FBT\u002FRL                              |\n| Nodes overlap         | Too many nodes     | Split into subgraphs or multiple diagrams              |\n| Lines too dark\u002Fthick  | No init directive  | Add `%%{init}` with `lineColor: '#94a3b8'`             |\n| C4 lines overlapping  | No styling applied | Add `UpdateRelStyle` with offsets to each Rel          |\n| AWS icons not showing | No icon pack       | Use `--icons logos` flag or fallback to built-in icons |\n| `mmdc` not found      | Not installed      | Run `setup.sh`                                         |\n| Theme not applied     | Wrong engine       | beautiful-mermaid themes only work with that engine    |\n\nFor comprehensive troubleshooting, read `references\u002Ftroubleshooting.md`.\n\n## Output Conventions\n\n- Save .mmd source files alongside rendered outputs\n- Naming: `{purpose}-{type}.mmd` (e.g., `auth-flow-sequence.mmd`)\n- For batch: maintain input filename, change extension\n- Always provide both the .mmd source and rendered file to the user\n","# Mermaid Studio\n\nExpert-level Mermaid diagram creation, validation, and multi-format rendering. Creates diagrams from descriptions or code analysis, validates syntax, and renders to SVG, PNG, or ASCII with professional theming.\n\n## Golden Rules — Elegant Diagrams by Default\n\nEvery diagram MUST follow these principles. They are not optional — they define the difference between a mediocre diagram and a gold-standard one.\n\n### Rule 1: Always Use an Init Directive for Professional Styling\n\n**NEVER** create a diagram without an `%%{init}` directive or frontmatter config. The default Mermaid theme produces harsh black lines and generic colors. Always apply a curated palette.\n\n**For general diagrams (flowchart, sequence, state, class, ERD):**\n\n```\n%%{init: {'theme': 'base', 'themeVariables': {\n  'primaryColor': '#4f46e5', 'primaryTextColor': '#ffffff',\n  'primaryBorderColor': '#3730a3', 'lineColor': '#94a3b8',\n  'secondaryColor': '#10b981', 'tertiaryColor': '#f59e0b',\n  'background': '#ffffff', 'mainBkg': '#f8fafc',\n  'nodeBorder': '#cbd5e1', 'clusterBkg': '#f1f5f9',\n  'clusterBorder': '#e2e8f0', 'titleColor': '#1e293b',\n  'edgeLabelBackground': '#ffffff', 'textColor': '#334155'\n}}}%%\n```\n\n**⚠️ Font Warning:** Do NOT set `fontFamily` in theme variables. The Mermaid default font (`trebuchet ms, verdana, arial, sans-serif`) works everywhere. Setting `system-ui`, `Segoe UI`, or `-apple-system` will render as Times New Roman in headless Chromium (used by `mmdc`).\n\n**For C4 diagrams — see the dedicated C4 styling section below.**\n\n**For architecture-beta diagrams — see the dedicated AWS\u002FArchitecture section below.**\n\n### Rule 2: Soft Lines, Never Harsh Black\n\nThe single biggest visual improvement is using `lineColor: '#94a3b8'` (slate-400) instead of the default black. This creates a modern, breathable diagram. For dark themes, use `lineColor: '#64748b'` (slate-500).\n\n### Rule 3: Limit Density — Breathe\n\n- Maximum 15 nodes per diagram (not 20 — fewer is more elegant)\n- Use `subgraph` or boundaries to create whitespace and visual grouping\n- Prefer LR (left-right) for process flows — it reads more naturally\n- Use invisible links (`A ~~~ B`) to add spacing when the layout is cramped\n\n### Rule 4: Meaningful Labels and Consistent Style\n\n- Node IDs: camelCase (`orderService`, not `s1` or `os`)\n- Labels: short, clear natural language (`[Order Service]`)\n- Arrows: action verbs with protocol info (`\"Sends order via gRPC\"`)\n- Descriptions: one-line, role-focused (`\"Handles order lifecycle\"`)\n\n### Rule 5: Color Harmony Over Color Variety\n\nUse max 3-4 colors per diagram. Map colors to meaning:\n\n- **Blue tones** (#4f46e5, #3b82f6) → primary systems, internal services\n- **Green tones** (#10b981, #059669) → success states, data stores\n- **Amber tones** (#f59e0b, #d97706) → external systems, warnings\n- **Slate tones** (#64748b, #94a3b8) → lines, borders, secondary elements\n- **Red tones** (#ef4444) → errors ONLY, never as decoration\n\n## Modes of Operation\n\nThis skill operates in three modes based on user intent:\n\n| Mode       | Trigger                                           | What happens               |\n| ---------- | ------------------------------------------------- | -------------------------- |\n| **Create** | \"draw a diagram of...\", \"visualize my...\"         | Generates .mmd code only   |\n| **Render** | \"render this mermaid\", \"convert to SVG\u002FPNG\u002FASCII\" | Renders existing .mmd      |\n| **Full**   | \"create and render...\", ambiguous requests        | Create → Validate → Render |\n\nDefault to **Full** mode when intent is unclear.\n\n## Step 1: Understand the Request\n\nBefore writing any Mermaid code, determine:\n\n1. **What to diagram** — system, flow, schema, architecture, code structure?\n2. **Which diagram type** — use the Decision Matrix below\n3. **Output format** — code only, SVG, PNG, or ASCII?\n4. **Theme preference** — ask only if rendering; default to `base` theme with curated palette\n\n### Diagram Type Decision Matrix\n\n| User describes...                              | Diagram Type  | Syntax keyword       |\n| ---------------------------------------------- | ------------- | -------------------- |\n| Process, algorithm, decision tree, workflow    | Flowchart     | `flowchart TD\u002FLR`    |\n| API calls, message passing, request\u002Fresponse   | Sequence      | `sequenceDiagram`    |\n| Database schema, table relationships           | ERD           | `erDiagram`          |\n| OOP classes, domain model, interfaces          | Class         | `classDiagram`       |\n| State machine, lifecycle, transitions          | State         | `stateDiagram-v2`    |\n| High-level system overview (C4 Level 1)        | C4 Context    | `C4Context`          |\n| Applications, databases, services (C4 Level 2) | C4 Container  | `C4Container`        |\n| Internal components (C4 Level 3)               | C4 Component  | `C4Component`        |\n| Request flows with numbered steps              | C4 Dynamic    | `C4Dynamic`          |\n| Infrastructure, cloud deployment               | C4 Deployment | `C4Deployment`       |\n| Cloud services with icons (AWS\u002FGCP\u002FAzure)      | Architecture  | `architecture-beta`  |\n| Project timeline, scheduling                   | Gantt         | `gantt`              |\n| Proportional data, percentages                 | Pie           | `pie`                |\n| Brainstorming, hierarchical ideas              | Mindmap       | `mindmap`            |\n| Historical events, chronology                  | Timeline      | `timeline`           |\n| Branching strategy, git history                | Git Graph     | `gitGraph`           |\n| Flow quantities, resource distribution         | Sankey        | `sankey-beta`        |\n| X\u002FY data visualization                         | XY Chart      | `xychart-beta`       |\n| Priority matrix, strategic positioning         | Quadrant      | `quadrantChart`      |\n| Layout control, grid positioning               | Block         | `block-beta`         |\n| Network packets, protocol headers              | Packet        | `packet-beta`        |\n| Task boards, kanban workflow                   | Kanban        | `kanban`             |\n| User experience, satisfaction scoring          | User Journey  | `journey`            |\n| System requirements traceability               | Requirement   | `requirementDiagram` |\n\nIf the user's description doesn't clearly map to one type, suggest 2-3 options with a brief rationale for each, then let them choose.\n\n### When to Load References\n\nLoad reference files ONLY when needed for the specific diagram type:\n\n- **C4 diagrams** → Read `references\u002Fc4-architecture.md` BEFORE writing code\n- **AWS\u002FCloud architecture** → Read `references\u002Faws-architecture.md` BEFORE writing code\n- **Code-to-diagram** → Read `references\u002Fcode-to-diagram.md` BEFORE analyzing\n- **Theming\u002Fstyling** → Read `references\u002Fthemes.md` when user requests custom themes\n- **Syntax errors** → Read `references\u002Ftroubleshooting.md` when validation fails\n- **Any diagram type details** → Read `references\u002Fdiagram-types.md` for comprehensive syntax\n\n## Step 2: Create the Diagram\n\n### 2.1 — Write Mermaid Code\n\nFollow these principles in order of priority:\n\n1. **Elegance first** — every diagram must look professional with init directives and curated colors\n2. **Correctness** — valid syntax that renders without errors\n3. **Clarity** — meaningful labels, logical flow direction, clear relationships\n4. **Simplicity** — under 15 nodes per diagram; split complex systems into multiple\n5. **Consistency** — uniform naming (camelCase for IDs, descriptive labels in brackets)\n\n### 2.2 — Structure Rules\n\n```\n%% Diagram: [Purpose] | Author: [auto] | Date: [auto]\n%%{init: {'theme': 'base', 'themeVariables': { ... }}}%%\n[diagramType]\n    [content]\n```\n\n**CRITICAL:** The `%%{init}` directive MUST go on the very first non-comment line, BEFORE the diagram type declaration. Alternatively, use YAML frontmatter at the absolute start of the file.\n\n**Naming conventions:**\n\n- Node IDs: camelCase, descriptive (`orderService`, not `s1`)\n- Labels: natural language in brackets (`[Order Service]`)\n- Relationships: action verbs (`\"Sends order to\"`, `\"Reads from\"`)\n\n**Layout best practices:**\n\n- `TD` (top-down) for hierarchical flows and processes\n- `LR` (left-right) for timelines, pipelines, and sequential processes\n- `RL` for right-to-left reading contexts\n- Use `subgraph` to group related nodes; name subgraphs meaningfully\n- Add `direction` inside subgraphs when needed for different flow\n\n### 2.3 — Quick Reference Examples\n\n**Flowchart (with professional styling):**\n\n```mermaid\n%%{init: {'theme': 'base', 'themeVariables': {\n  'primaryColor': '#4f46e5', 'primaryTextColor': '#fff',\n  'primaryBorderColor': '#3730a3', 'lineColor': '#94a3b8',\n  'secondaryColor': '#10b981', 'tertiaryColor': '#f59e0b',\n  'background': '#ffffff', 'mainBkg': '#f8fafc',\n  'nodeBorder': '#cbd5e1', 'clusterBkg': '#f1f5f9',\n  'clusterBorder': '#e2e8f0', 'titleColor': '#1e293b',\n  'edgeLabelBackground': '#ffffff'\n}}}%%\nflowchart TD\n    Start([Start]) --> Input[\u002FUser Input\u002F]\n    Input --> Validate{Valid?}\n    Validate -->|Yes| Process[Process Data]\n    Validate -->|No| Error[Show Error]\n    Error --> Input\n    Process --> Save[(Save to DB)]\n    Save --> End([End])\n```\n\nFor sequence diagram and ERD styling examples, read `references\u002Fthemes.md`.\n\n**C4 Context (with MANDATORY elegant styling):**\n\n```mermaid\nC4Context\n    title System Context — E-Commerce Platform\n\n    Person(customer, \"Customer\", \"Places orders online\")\n    System(platform, \"E-Commerce Platform\", \"Handles orders and payments\")\n    System_Ext(payment, \"Payment Gateway\", \"Processes transactions\")\n    System_Ext(email, \"Email Service\", \"Sends notifications\")\n\n    Rel(customer, platform, \"Uses\", \"HTTPS\")\n    Rel(platform, payment, \"Processes payments\", \"API\")\n    Rel(platform, email, \"Sends emails\", \"SMTP\")\n\n    UpdateRelStyle(customer, platform, $textColor=\"#475569\", $lineColor=\"#94a3b8\")\n    UpdateRelStyle(platform, payment, $textColor=\"#475569\", $lineColor=\"#94a3b8\")\n    UpdateRelStyle(platform, email, $textColor=\"#475569\", $lineColor=\"#94a3b8\")\n\n    UpdateLayoutConfig($c4ShapeInRow=\"3\", $c4BoundaryInRow=\"1\")\n```\n\n**Architecture (AWS with Iconify icons):**\n\n```mermaid\narchitecture-beta\n    group vpc(logos:aws-vpc)[VPC]\n\n    service api(logos:aws-api-gateway)[API Gateway] in vpc\n    service lambda(logos:aws-lambda)[Lambda] in vpc\n    service db(logos:aws-dynamodb)[DynamoDB] in vpc\n    service s3(logos:aws-s3)[S3 Bucket]\n\n    api:R --> L:lambda\n    lambda:R --> L:db\n    lambda:B --> T:s3\n```\n\n**IMPORTANT:** Architecture-beta diagrams with `logos:*` icons require icon pack registration. When rendering with the render script, use the `--icons logos` flag. If rendering in a markdown viewer that doesn't support icon packs, use the built-in icons (`cloud`, `database`, `disk`, `server`, `internet`) as fallback. Read `references\u002Faws-architecture.md` for the complete icon catalog and rendering instructions.\n\nFor comprehensive syntax of ALL diagram types, read `references\u002Fdiagram-types.md`.\n\n## C4 Diagrams — Mandatory Styling Guide\n\nC4 diagrams have **fixed element styling** (blue boxes for systems, gray for persons, etc.), but their **relationship lines default to harsh black** which creates visual noise. You MUST apply these styling rules:\n\n### The C4 Styling Pattern\n\nEvery C4 diagram MUST include these directives at the end:\n\n```\n    %% === MANDATORY STYLING ===\n    %% Apply soft line colors to ALL relationships\n    UpdateRelStyle(fromAlias, toAlias, $textColor=\"#475569\", $lineColor=\"#94a3b8\")\n    %% Repeat for each Rel() in the diagram\n\n    %% Optimize layout spacing\n    UpdateLayoutConfig($c4ShapeInRow=\"3\", $c4BoundaryInRow=\"1\")\n```\n\n### C4 Color Values Reference\n\n| Purpose           | Color     | Hex       | Notes                                    |\n| ----------------- | --------- | --------- | ---------------------------------------- |\n| Soft line color   | Slate-400 | `#94a3b8` | Replaces harsh default black             |\n| Line text color   | Slate-600 | `#475569` | Readable but not dominant                |\n| Accent line       | Blue-400  | `#60a5fa` | For highlighted or primary relationships |\n| Warning line      | Amber-500 | `#f59e0b` | For external\u002Frisky connections           |\n| Custom element bg | Emerald   | `#10b981` | For data stores or success highlights    |\n| Custom element bg | Indigo    | `#4f46e5` | For primary system emphasis              |\n\n### C4 Layout Tips\n\n**CRITICAL — Maximum 6 `Rel()` per diagram.** More than 6 relationships causes Dagre to route arrows through nodes, creating unreadable spaghetti. If your system needs more connections, split it into multiple focused diagrams.\n\n- Use `$c4ShapeInRow=\"3\"` for most diagrams (prevents horizontal crowding)\n- Use `$c4ShapeInRow=\"2\"` for diagrams with long labels\n- Use `$c4BoundaryInRow=\"1\"` always (stacks boundaries vertically for clarity)\n- Apply `$offsetY=\"-10\"` to `UpdateRelStyle` when labels overlap with elements\n- Prefer tree-shaped topologies (1 in, 1-2 out per node) over mesh topologies\n- Declare elements in flow order — the order of `Container()` declarations affects layout\n- Use directional `Rel_D`, `Rel_R`, etc. only as a last resort when auto-layout creates overlapping\n\nFor comprehensive C4 syntax, examples, and patterns, read `references\u002Fc4-architecture.md`.\n\n## Step 3: Validate\n\nBefore rendering, ALWAYS validate the Mermaid syntax:\n\n```bash\nnode ~\u002F.agents\u002Fskills\u002Fmermaid-studio\u002Fscripts\u002Fvalidate.mjs \u003Cfile.mmd>\n```\n\nIf validation fails:\n\n1. Read the error message carefully\n2. Consult `references\u002Ftroubleshooting.md` for common fixes\n3. Fix the syntax and re-validate\n4. Maximum 3 fix attempts before asking the user for clarification\n\n## Step 4: Render\n\n### 4.1 — Setup (First Run Only)\n\n```bash\nbash ~\u002F.agents\u002Fskills\u002Fmermaid-studio\u002Fscripts\u002Fsetup.sh\n```\n\nInstalls mermaid-cli, beautiful-mermaid, mermaid, puppeteer, and Chromium into `${XDG_CACHE_HOME:-~\u002F.cache}\u002Fmermaid-studio` (override with `MERMAID_STUDIO_DIR`). Run once per environment.\n\n### 4.2 — Single Diagram Rendering\n\n```bash\n# SVG (default — best quality)\nnode ~\u002F.agents\u002Fskills\u002Fmermaid-studio\u002Fscripts\u002Frender.mjs -i diagram.mmd -o diagram.svg\n\n# PNG (for documents\u002Fpresentations)\nnode ~\u002F.agents\u002Fskills\u002Fmermaid-studio\u002Fscripts\u002Frender.mjs -i diagram.mmd -o diagram.png --width 1200\n\n# ASCII (for terminals\u002FREADMEs)\nnode ~\u002F.agents\u002Fskills\u002Fmermaid-studio\u002Fscripts\u002Frender-ascii.mjs -i diagram.mmd\n\n# With icon packs (architecture-beta with AWS\u002Ftech icons)\nnode ~\u002F.agents\u002Fskills\u002Fmermaid-studio\u002Fscripts\u002Frender.mjs -i diagram.mmd -o diagram.svg --icons logos,fa\n```\n\nThe `--icons` flag registers Iconify packs before rendering. Packs: `logos` (AWS\u002Ftech), `fa` (Font Awesome). Use `logos` for AWS.\n\n### 4.3 — Batch Rendering\n\nFor multiple diagrams at once:\n\n```bash\nnode ~\u002F.agents\u002Fskills\u002Fmermaid-studio\u002Fscripts\u002Fbatch.mjs \\\n  --input-dir .\u002Fdiagrams \\\n  --output-dir .\u002Frendered \\\n  --format svg \\\n  --theme default \\\n  --workers 4\n```\n\n### 4.4 — Available Themes\n\n**beautiful-mermaid (15):** `tokyo-night` | `tokyo-night-storm` | `tokyo-night-light` | `dracula` | `nord` | `nord-light` | `catppuccin-mocha` | `catppuccin-latte` | `github-dark` | `github-light` | `solarized-dark` | `solarized-light` | `one-dark` | `zinc-dark` | `zinc-light`\n\n**mermaid-cli native (5):** `default` | `forest` | `dark` | `neutral` | `base`\n\nCustom theme: `--theme base --config '{\"theme\":\"base\",\"themeVariables\":{\"primaryColor\":\"#4f46e5\",\"lineColor\":\"#94a3b8\"}}'`\n\nFor the full theme catalog, read `references\u002Fthemes.md`. The render script auto-selects the best engine (mmdc primary, beautiful-mermaid fallback, Puppeteer for icon packs).\n\n## Step 5: Code-to-Diagram (When Requested)\n\nWhen the user asks to visualize existing code or architecture:\n\n1. Read `references\u002Fcode-to-diagram.md` for the analysis methodology\n2. Analyze the codebase to identify the right diagram type:\n   - Module dependencies → Flowchart or Class diagram\n   - API routes and handlers → Sequence diagram\n   - Database models\u002Fschemas → ERD\n   - Service architecture → C4 Container or Architecture diagram\n   - State machines in code → State diagram\n3. Generate the .mmd file **with proper init directives** (Golden Rule 1)\n4. Validate and render as usual\n\n## Troubleshooting Quick Reference\n\n| Symptom               | Likely Cause       | Fix                                                    |\n| --------------------- | ------------------ | ------------------------------------------------------ |\n| Diagram won't render  | Syntax error       | Run validate.mjs, check brackets\u002Fquotes                |\n| Labels cut off        | Text too long      | Shorten labels or use line breaks `\u003Cbr\u002F>`              |\n| Layout looks wrong    | Wrong direction    | Try different TD\u002FLR\u002FBT\u002FRL                              |\n| Nodes overlap         | Too many nodes     | Split into subgraphs or multiple diagrams              |\n| Lines too dark\u002Fthick  | No init directive  | Add `%%{init}` with `lineColor: '#94a3b8'`             |\n| C4 lines overlapping  | No styling applied | Add `UpdateRelStyle` with offsets to each Rel          |\n| AWS icons not showing | No icon pack       | Use `--icons logos` flag or fallback to built-in icons |\n| `mmdc` not found      | Not installed      | Run `setup.sh`                                         |\n| Theme not applied     | Wrong engine       | beautiful-mermaid themes only work with that engine    |\n\nFor comprehensive troubleshooting, read `references\u002Ftroubleshooting.md`.\n\n## Output Conventions\n\n- Save .mmd source files alongside rendered outputs\n- Naming: `{purpose}-{type}.mmd` (e.g., `auth-flow-sequence.mmd`)\n- For batch: maintain input filename, change extension\n- Always provide both the .mmd source and rendered file to the user\n",{"name":5,"license":15,"metadata":24,"description":7},{"author":25,"source":26,"version":27},"Felipe Rodrigues - github.com\u002Ffelipfr","https:\u002F\u002Fgithub.com\u002Ftech-leads-club\u002Fagent-skills","1.0.1","master","49e49abf2f670d429e0b7e2c0349739c3fdd5cbe","skills\u002Fmermaid-studio",5,"https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium","https:\u002F\u002Fgithub.com\u002Fstanfish06","https:\u002F\u002Fwww.stanfish.dev\u002F","2026-11-14 21:31:37",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add stanfish06\u002Fskillquarium --skill mermaid-studio",{"tool":42,"command":43},"bunx","bunx skills add stanfish06\u002Fskillquarium --skill mermaid-studio",{"tool":45,"command":46},"pnpm","pnpm dlx skills add stanfish06\u002Fskillquarium --skill mermaid-studio","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fmermaid-studio\u002FSKILL.md",true,[50,56,62,66,70,74,78,82,86,92,96,100,104],{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"agents\u002Fopenai.yaml","REFERENCE","参考文档",202,"https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fmermaid-studio\u002Fagents\u002Fopenai.yaml",{"path":57,"resourceType":58,"resourceTypeDesc":59,"sizeBytes":60,"sourceHtmlUrl":61},"assets\u002Fpuppeteer-config.json","ASSET","资产文件",167,"https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fmermaid-studio\u002Fassets\u002Fpuppeteer-config.json",{"path":63,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":64,"sourceHtmlUrl":65},"references\u002Faws-architecture.md",14574,"https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fmermaid-studio\u002Freferences\u002Faws-architecture.md",{"path":67,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":68,"sourceHtmlUrl":69},"references\u002Fc4-architecture.md",19375,"https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fmermaid-studio\u002Freferences\u002Fc4-architecture.md",{"path":71,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":72,"sourceHtmlUrl":73},"references\u002Fcode-to-diagram.md",8104,"https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fmermaid-studio\u002Freferences\u002Fcode-to-diagram.md",{"path":75,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":76,"sourceHtmlUrl":77},"references\u002Fdiagram-types.md",14758,"https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fmermaid-studio\u002Freferences\u002Fdiagram-types.md",{"path":79,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":80,"sourceHtmlUrl":81},"references\u002Fthemes.md",13908,"https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fmermaid-studio\u002Freferences\u002Fthemes.md",{"path":83,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":84,"sourceHtmlUrl":85},"references\u002Ftroubleshooting.md",12907,"https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fmermaid-studio\u002Freferences\u002Ftroubleshooting.md",{"path":87,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":90,"sourceHtmlUrl":91},"scripts\u002Fbatch.mjs","SCRIPT","脚本",6731,"https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fmermaid-studio\u002Fscripts\u002Fbatch.mjs",{"path":93,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":94,"sourceHtmlUrl":95},"scripts\u002Frender-ascii.mjs",5518,"https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fmermaid-studio\u002Fscripts\u002Frender-ascii.mjs",{"path":97,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":98,"sourceHtmlUrl":99},"scripts\u002Frender.mjs",19083,"https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fmermaid-studio\u002Fscripts\u002Frender.mjs",{"path":101,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":102,"sourceHtmlUrl":103},"scripts\u002Fsetup.sh",3360,"https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fmermaid-studio\u002Fscripts\u002Fsetup.sh",{"path":105,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":106,"sourceHtmlUrl":107},"scripts\u002Fvalidate.mjs",10978,"https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fmermaid-studio\u002Fscripts\u002Fvalidate.mjs",[109,117,126,133,140,147],{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":113,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":19},"01M76ZJTRVA456GD7K8Y3EP82H","zarr-python","Stores and queries chunked N-D scientific arrays with Zarr-Python 3, including codecs, sharding, S3\u002FGCS storage, and NumPy\u002FDask\u002FXarray integration. Use for array layout, bounded I\u002FO, format migration, or scientific metadata preservation.","MIT","https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fzarr-python\u002FSKILL.md",[],[],{"skillNo":118,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":121,"licenseFileUrl":122,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":19},"01M76ZJQZ15Q1HKC5V85NHE325","yeet","Publish local changes to GitHub by confirming scope, committing intentionally, pushing the branch, and opening a draft PR through the GitHub app from this plugin, with `gh` used only as a fallback where connector coverage is insufficient.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fyeet\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fyeet\u002FSKILL.md",[],[],{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":121,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":19},"01M76ZJ8ASZ4QYQ70Y6SBA4Z4S","xarray","N-dimensional labeled arrays and datasets in Python. Built on top of NumPy and Dask. It introduces labels in the form of dimensions, coordinates, and attributes on top of raw NumPy-like arrays, making data analysis in physical sciences more intuitive and less error-prone. Use for working with multi-dimensional scientific data, NetCDF\u002FGRIB\u002FZarr files, climate\u002Fweather\u002Foceanographic datasets, remote sensing, geospatial imaging, large out-of-memory datasets with Dask, and labeled array operations.","https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fxarray\u002FSKILL.md",[],[],{"skillNo":134,"name":135,"nameZh":6,"description":136,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":113,"licenseFileUrl":6,"sourceHtmlUrl":137,"categories":138,"keywords":139,"publishedAt":19},"01M76ZHFBXD6VXPQ02VCEG202B","writing-mstest-tests","Use when asked to fix, rewrite, update, improve, modernize, show corrected code for, or explain existing MSTest tests or MSTest-specific configuration. Use for \"review\" when corrected code or edits are wanted, even for one pasted assertion or passing tests with bad failure output. Covers expected\u002Factual labels; generic Boolean, collection, string, numeric, null, identity, exception, hard-cast, and object[] checks; TestContext\u002Flifecycle; timeout\u002Fcancellation; OS\u002FCI conditions, retry, cleanup, parallelization, MSTest.Sdk project setup, and MSTESTxxxx. Honor the installed MSTest version. DO NOT USE to design new test cases (code-testing), perform report-only audits, create project files rather than explain MSTest setup, run tests, migrate frameworks, or handle non-MSTest\u002Fnon-.NET code.","https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fwriting-mstest-tests\u002FSKILL.md",[],[],{"skillNo":141,"name":142,"nameZh":6,"description":143,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":113,"licenseFileUrl":6,"sourceHtmlUrl":144,"categories":145,"keywords":146,"publishedAt":19},"01M76ZDFDF4N88RH6HSYGS7GP2","wgs-prs","End-to-end WGS to polygenic risk score pipeline. Takes paired-end FASTQ files (or a pre-existing VCF) through nf-core\u002Fsarek for variant calling, applies VCF QC (normalisation, hard filtering, Ti\u002FTv and Het\u002FHom checks), then computes polygenic risk scores via the PGS Catalog. Fills the FASTQ to VCF gap upstream of the gwas-prs skill.","https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fwgs-prs\u002FSKILL.md",[],[],{"skillNo":148,"name":149,"nameZh":6,"description":150,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":121,"licenseFileUrl":151,"sourceHtmlUrl":152,"categories":153,"keywords":154,"publishedAt":19},"01M76ZCC1SC68J42QK4MDC8RCG","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fstanfish06\u002Fskillquarium\u002Fblob\u002Fmaster\u002Fskills\u002Fwebapp-testing\u002FSKILL.md",[],[]]