brainstorming
Structured design dialogue that validates ideas before implementation begins.
creating-mermaid-flowcharts
Use when creating or editing Mermaid flowchart diagrams, encountering parse errors, or unsure about node shapes, connection syntax, or styling - provides syntax guardrails using modern shape syntax for Obsidian-compatible diagrams
Full skill instructions
Mermaid has strict syntax rules: node identifiers must be simple alphanumeric (a, b, node1), while labels can contain any text. Modern @{ shape: ..., label: "..." } syntax is preferred over legacy shorthand for clarity and reliability.
Use this skill when:
Don't use for:
| Shape | Modern Syntax | Use Case |
|---|---|---|
| Diamond | a@{ shape: diam, label: "Decision?" } | Decisions, questions |
| Rectangle | a@{ shape: rect, label: "Action" } | Process steps, actions |
| Stadium | a@{ shape: stadium, label: "Start/End" } | Start/end points (preferred) |
| Circle | a@{ shape: circle, label: "Start" } | Alternative for start/end |
| Rounded | a@{ shape: rounded, label: "Event" } | Events, states |
Note: Use stadium for start/end nodes (more readable). Use circle for compact diagrams.
See mermaid-flowchart-reference.md for complete shape list.
| Type | Syntax | Example |
|---|---|---|
| Solid arrow | --> | a --> b |
| Labeled arrow | -->|label| | a -->|yes| b |
| Dotted | -.-> | a -.-> b |
| Thick | ==> | a ==> b |
| Pattern | Syntax | Purpose |
|---|---|---|
| Define class | classDef name fill:#color | Create reusable style |
| Apply class | node:::className | Style specific node |
❌ WRONG - Spaces in identifiers:
graph LR
"New constraint revealed?" --> "Return to Phase 1"
Error: Identifiers can't have spaces. Parse will fail.
✅ CORRECT - Simple IDs + Labels:
graph LR
a@{ shape: diam, label: "New constraint revealed?" }
b@{ shape: rect, label: "Return to Phase 1" }
a -->\|yes\| b
graph TD ← Top-down (vertical flow)
graph LR ← Left-right (horizontal flow)
Choose based on flow:
TD (or TB) = Top-down for sequential processes, workflowsLR = Left-right for timelines, state transitionsBT = Bottom-up (rare)RL = Right-left (rare)graph TD
a@{ shape: diam, label: "Your question here?" }
b@{ shape: rect, label: "Your action here" }
Rules:
label: a -->\|yes\| b
a -->\|no\| c
Always label decision branches (yes/no, true/false, etc.)
classDef highlight fill:#ffcccc
classDef success fill:#ccffcc
b:::highlight
c:::success
Define classes before applying them. Each node can only have one class applied.
Styling patterns:
Problem:
"My Node" --> "Other Node"
Fix: Use simple IDs with labels:
a@{ shape: rect, label: "My Node" } --> b@{ shape: rect, label: "Other Node" }
Problem:
decision --> optionA
decision --> optionB
Fix: Label your decision branches:
decision -->\|yes\| optionA
decision -->\|no\| optionB
Problem:
a:::highlight ← Class never defined
Fix: Define before applying:
classDef highlight fill:#ffcccc
a:::highlight
Problem:
a@{ shape: diam, label: "Modern" }
b{"Legacy"} ← Inconsistent
Fix: Use modern syntax consistently throughout diagram.
When you get parse errors:
@{ shape: ..., label: "..." } syntax used consistentlyUsing modern syntax eliminates 90% of parse errors. Proper identifier naming allows diagrams to render on first attempt in Obsidian without web lookups or trial-and-error debugging.
Structured design dialogue that validates ideas before implementation begins.
Comprehensive design intelligence for web and mobile UI/UX across 10 technology stacks.
Comprehensive implementation plans for multi-step tasks, breaking down specs into bite-sized, testable steps.
Introduction to the obra skills system with mandatory skill invocation rules and best practices.
Execute a written implementation plan with critical review and task checkpoints.
Delegate independent tasks to specialized agents working concurrently with isolated context.
Isolated git worktrees with smart directory selection and safety verification.
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.
Plan searchable and shareable content that drives traffic, builds authority, and generates leads.
README-first repository scanner that extracts commands and classifies reproduction candidates without executing them.
Brainstorm and prioritize marketing strategies tailored to your SaaS stage, budget, and goals.
Plan and optimize your website's page hierarchy, navigation, URL structure, and internal linking.
The world's fastest calendar for remote work
Capture, organize, and utilize your knowledge effortlessly.
Instant Summaries of Audio & Video Interviews with AnySummary
Transform PDFs into engaging mind maps.
Chat with any PDF instantly
Create an optimal daily plan using your voice
A productivity platform to centralize organizational knowledge and workflows with contextual AI assistance.
AskYourPDF Pricing Plans: Tailored to Your Needs