[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DGY61PP2J623TCEE24G4A5":3,"skill-same:01M7DGY61PP2J623TCEE24G4A5":54},{"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":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M7DGY61PP2J623TCEE24G4A5","drawing-mermaid-diagrams",null,"Writes, edits, and debugs Mermaid diagrams (flowchart, sequence, class, state, ER, Gantt, pie, mindmap, timeline, quadrant, git graph, XY, Sankey, architecture, journey, kanban, block). Use when the user says \"draw a diagram\", or when the user asks for a diagram, flowchart, ERD, or Mermaid code, or when a Mermaid diagram fails to parse or render.","bostonaholic\u002Fskills","bostonaholic","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F362146?v=4","01M7DGVW4NA3AZAS7ZVN59FFTR","Matthew Boston","01M7DGVW56TS63D9MTAPRW8SCT",2,"MIT","https:\u002F\u002Fgithub.com\u002Fbostonaholic\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Fdrawing-mermaid-diagrams\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: drawing-mermaid-diagrams\ndescription: Writes, edits, and debugs Mermaid diagrams (flowchart, sequence, class, state, ER, Gantt, pie, mindmap, timeline, quadrant, git graph, XY, Sankey, architecture, journey, kanban, block). Use when the user says \"draw a diagram\", or when the user asks for a diagram, flowchart, ERD, or Mermaid code, or when a Mermaid diagram fails to parse or render.\n---\n\n# Mermaid Diagrams\n\nA diagram is done when it renders without error and its layout reads clearly.\nPick the type that matches the content (process, messages, schema, schedule,\nhierarchy, and so on); a `flowchart` is not the answer to everything.\n\n## Renderer support\n\n- Each host (GitHub, GitLab, a docs site, an IDE preview) bundles its own\n  Mermaid release, often older than the latest.\n- `-beta` keywords (`xychart-beta`, `sankey-beta`, `architecture-beta`,\n  `block-beta`) and recent types such as `kanban` may fail there.\n- When the target renderer is unknown, prefer a core type, or ask which\n  renderer will display the diagram.\n\nDefault to a frontmatter `config:` block before the diagram keyword. Fall back\nto a first-line `%%{init: {...}}%%` directive only for a renderer too old to\nread frontmatter config.\n\n## Validate by rendering\n\nWrite the diagram to `\u003Cout>\u002Fdiagram.mmd` in a scratch directory and render it:\n\n```sh\nnpx -y @mermaid-js\u002Fmermaid-cli@12.0.0 -i \u003Cout>\u002Fdiagram.mmd -o \u003Cout>\u002Fdiagram.png\n```\n\nFor a Markdown file, `-i doc.md -o \u003Cout>\u002Fdoc.md` renders every mermaid block.\nFix each `Parse error on line N` or `Lexical error` and render again until it\nsucceeds. When layout matters, open the PNG and check direction, overlaps, and\nlabel text. Only then put the code in its destination.\n\nIf `mmdc` cannot find Chrome, write\n`{\"executablePath\": \"\u003Cpath to an installed Chrome or Chromium>\"}` to\n`\u003Cout>\u002Fpuppeteer.json` and add `-p \u003Cout>\u002Fpuppeteer.json`. If Node, network, or\na browser is unavailable, do not install one without asking; check the diagram\nagainst the gotchas below and tell the user it was not rendered.\n\nA successful CLI render uses the Mermaid release bundled with the CLI, so it\ndoes not prove an older host renders the diagram.\n\n## Gotchas\n\nSeveral of these fail silently rather than with a parse error.\n\n- Labels containing `()`, `[]`, `{}`, `:`, `;`, or `#` are wrapped in\n  `\"...\"`; inner quotes are written `#quot;`, `\u003C` and `>` as `#lt;` and `#gt;`.\n- A lowercase `end` as a flowchart node ID or bare label breaks the parse; use\n  `End` or `[\"end\"]`.\n- A node ID beginning with `o` or `x` right after a link (`A---oB`) silently\n  becomes a circle or cross edge; add a space or capitalize.\n- `%%` comments sit on their own line; a trailing comment is a parse error.\n- Block diagrams have no `==>` or `:::` shorthand.\n- Indentation is significant in `mindmap` and `kanban`.\n- Styling not applying: the config block must come first, `themeVariables`\n  need `theme: base`, and hex colors in frontmatter must be quoted (an unquoted\n  `#` is a YAML comment and the color is silently dropped).\n- Renders in the CLI but not on the host: the host's Mermaid is older; replace\n  a `-beta` or recent type, or switch frontmatter config to `%%{init}`.\n","# Mermaid Diagrams\n\nA diagram is done when it renders without error and its layout reads clearly.\nPick the type that matches the content (process, messages, schema, schedule,\nhierarchy, and so on); a `flowchart` is not the answer to everything.\n\n## Renderer support\n\n- Each host (GitHub, GitLab, a docs site, an IDE preview) bundles its own\n  Mermaid release, often older than the latest.\n- `-beta` keywords (`xychart-beta`, `sankey-beta`, `architecture-beta`,\n  `block-beta`) and recent types such as `kanban` may fail there.\n- When the target renderer is unknown, prefer a core type, or ask which\n  renderer will display the diagram.\n\nDefault to a frontmatter `config:` block before the diagram keyword. Fall back\nto a first-line `%%{init: {...}}%%` directive only for a renderer too old to\nread frontmatter config.\n\n## Validate by rendering\n\nWrite the diagram to `\u003Cout>\u002Fdiagram.mmd` in a scratch directory and render it:\n\n```sh\nnpx -y @mermaid-js\u002Fmermaid-cli@12.0.0 -i \u003Cout>\u002Fdiagram.mmd -o \u003Cout>\u002Fdiagram.png\n```\n\nFor a Markdown file, `-i doc.md -o \u003Cout>\u002Fdoc.md` renders every mermaid block.\nFix each `Parse error on line N` or `Lexical error` and render again until it\nsucceeds. When layout matters, open the PNG and check direction, overlaps, and\nlabel text. Only then put the code in its destination.\n\nIf `mmdc` cannot find Chrome, write\n`{\"executablePath\": \"\u003Cpath to an installed Chrome or Chromium>\"}` to\n`\u003Cout>\u002Fpuppeteer.json` and add `-p \u003Cout>\u002Fpuppeteer.json`. If Node, network, or\na browser is unavailable, do not install one without asking; check the diagram\nagainst the gotchas below and tell the user it was not rendered.\n\nA successful CLI render uses the Mermaid release bundled with the CLI, so it\ndoes not prove an older host renders the diagram.\n\n## Gotchas\n\nSeveral of these fail silently rather than with a parse error.\n\n- Labels containing `()`, `[]`, `{}`, `:`, `;`, or `#` are wrapped in\n  `\"...\"`; inner quotes are written `#quot;`, `\u003C` and `>` as `#lt;` and `#gt;`.\n- A lowercase `end` as a flowchart node ID or bare label breaks the parse; use\n  `End` or `[\"end\"]`.\n- A node ID beginning with `o` or `x` right after a link (`A---oB`) silently\n  becomes a circle or cross edge; add a space or capitalize.\n- `%%` comments sit on their own line; a trailing comment is a parse error.\n- Block diagrams have no `==>` or `:::` shorthand.\n- Indentation is significant in `mindmap` and `kanban`.\n- Styling not applying: the config block must come first, `themeVariables`\n  need `theme: base`, and hex colors in frontmatter must be quoted (an unquoted\n  `#` is a YAML comment and the color is silently dropped).\n- Renders in the CLI but not on the host: the host's Mermaid is older; replace\n  a `-beta` or recent type, or switch frontmatter config to `%%{init}`.\n",{"name":5,"description":7},"main","e8ff85fe8cec970c537bf34f0373fdff02834815","skills\u002Fengineering\u002Fdrawing-mermaid-diagrams",0,"https:\u002F\u002Fgithub.com\u002Fbostonaholic\u002Fskills","https:\u002F\u002Fskills.bostonaholic.dev","https:\u002F\u002Fgithub.com\u002Fbostonaholic","https:\u002F\u002Fmatthewboston.com","agility. simplicity. value.","2026-11-15 04:51:36",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add bostonaholic\u002Fskills --skill drawing-mermaid-diagrams",{"tool":40,"command":41},"bunx","bunx skills add bostonaholic\u002Fskills --skill drawing-mermaid-diagrams",{"tool":43,"command":44},"pnpm","pnpm dlx skills add bostonaholic\u002Fskills --skill drawing-mermaid-diagrams","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fbostonaholic\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Fdrawing-mermaid-diagrams\u002FSKILL.md",true,[48],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"agents\u002Fopenai.yaml","REFERENCE","参考文档",230,"https:\u002F\u002Fgithub.com\u002Fbostonaholic\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Fdrawing-mermaid-diagrams\u002Fagents\u002Fopenai.yaml",[55,62,69,76,83,90],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M7DH74HXXCFEZVAGZWETR4TY","writing-system-prompts","Writes and reviews system prompts for AI tools, agents, chatbots, and LLM products using a fixed section order and a quality checklist. Use when the user says \"write a system prompt\", or when drafting a system prompt or auditing one for missing stop criteria, tool rules, constraints, or examples. Not for compressing an existing prompt; use improving-prompts.","https:\u002F\u002Fgithub.com\u002Fbostonaholic\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fwriting-system-prompts\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M7DH6ZJ1RFRCGM01CGMJ10RY","writing-prose","Writes and edits prose for people in a plain, conversational, short house style with no em dashes. Use when the user says \"write this up\", or when drafting or revising documentation, READMEs, explanations, blog posts, or other human-facing prose. Not for prompts written for agents; use writing-system-prompts or composing-agent-prompts.","https:\u002F\u002Fgithub.com\u002Fbostonaholic\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fwriting-prose\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M7DH6TR43CYKY8VHFQWKNDWW","writing-acceptance-criteria","Writes or rewrites acceptance criteria until each is provable: one observable outcome with a named check that can fail. Use when the user says \"write acceptance criteria\", or asks to write, rewrite, or tighten acceptance criteria or a definition of done. Not for proving work meets them; use proving-claims.","https:\u002F\u002Fgithub.com\u002Fbostonaholic\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fwriting-acceptance-criteria\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M7DH6P0PC857A3W7CAGJPXSM","summarizing-shipped-work","Summarizes the user's merged GitHub PRs for a timeframe into a grouped, linked shipped-work report with highlights, and offers to update a brag document. Use when the user says \"what shipped?\", or when asked what the user shipped (this week, last month, a quarter, since a date), for a status update, or to update a brag doc.","https:\u002F\u002Fgithub.com\u002Fbostonaholic\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fsummarizing-shipped-work\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7DH6H3YCJ59CZ0DMKHZ3N7S","running-retros","Mines a session transcript, past agent sessions, or named sources such as PR review comments for durable learnings, then proposes approval-gated edits to skills, AGENTS.md, or docs and tracker issues. Use when the user says \"retro\", or when the user explicitly asks for a retrospective. Never infer from session end or friction.","https:\u002F\u002Fgithub.com\u002Fbostonaholic\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Frunning-retros\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M7DH6C68WZB8Z6DD4MH770B7","learning-from-mistakes","Codifies the latest correction or mistake in the conversation as a short imperative rule in the project or global CLAUDE.md or AGENTS.md, after the user approves it. Use when the user says \"learn from this mistake\", or when the user asks to learn from a mistake, remember a lesson for next time, add a rule to CLAUDE.md, or not repeat a behavior. Not for a whole session; use running-retros.","https:\u002F\u002Fgithub.com\u002Fbostonaholic\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Flearning-from-mistakes\u002FSKILL.md",[],[]]