mermaid
Mermaid Diagram Rules
Use this skill when writing or editing fenced mermaid blocks. Keep diagrams readable in source and validate syntax before handing work back.
Syntax Rules
- Quote node labels that contain punctuation, brackets, angle brackets, commas, emoji, or HTML:
A["Config (optional)"]. - Quote edge labels that contain punctuation or spaces around special terms:
A -->|"uses (runtime)"| B. - Use
<br/>for line breaks in labels, not\n. - Avoid lowercase
endas a node label. UseEndor quote the label. - Prefer built-in themes over hardcoded fills. Hardcoded colors often break dark mode.
- If a node id starts with
oorxafter an edge, add a space so Mermaid does not parse it as a circle or cross edge:A--- oNode.
flowchart LR
A["Turn 1<br/>user message"] -->|"creates (draft)"| B["Draft artifact"]
B --> C["Review"]
More from haowjy/creative-writing-skills
cw-prose-writing
Creative writing skill for drafting and editing narrative fiction prose. Use when writing new scenes, chapters, or dialogue, or when editing existing prose. Discovers and follows project-specific style guides, character voice conventions, and formatting preferences.
257prose-writing
Prose-level immersion patterns for narrative fiction. Use when writing or revising prose — the sentence-level and paragraph-level craft that pulls readers into the story. Project-specific voice comes from style files passed alongside this skill.
176story-architecture
Arc structure, narrative design, and pacing at multiple scales — saga, arc, chapter, scene. Use when structuring story at any level, planning arcs, designing chapter outlines, or evaluating whether narrative structure serves the story's goals.
174brainstorming
Story brainstorming capture — minimal notes that preserve creative freedom. Use when exploring narrative ideas, discussing characters, planning chapters, or thinking through story possibilities.
154cw-brainstorming
Creative writing skill for capturing story brainstorming. Use when the user is exploring narrative ideas, discussing characters, planning episodes, or thinking through story possibilities. Creates minimal working notes that preserve creative freedom by recording only what was stated and marking sources.
154prose-critique
Adversarial reading methodology for narrative fiction — find what doesn't work, not confirm what does. Focus-area driven with dedicated resources per area. Use when reviewing drafts, evaluating prose quality, or assessing changes at any stage.
141