claude-code-plugin-ref…
Explain plugin, skill, command, agent, and hook mechanics used here. Use when authoring or debugging plugins. Do not use for ops;…
Generates a Mermaid workflow diagram showing process steps, decisions, and state transitions. Use when documenting CI/CD pipelines or lifecycle processes.
Claude Code
$ npx -y skills add athola/claude-night-market --skill workflow-diagram --agent claude-code
Codex
$ npx skills add athola/claude-night-market --skill workflow-diagram -a codex -y
Cursor
$ npx skills add athola/claude-night-market --skill workflow-diagram -a cursor -y
Gemini CLI
$ npx skills add athola/claude-night-market --skill workflow-diagram -a gemini-cli -y
GitHub Copilot
$ npx skills add athola/claude-night-market --skill workflow-diagram -a github-copilot -y
OpenCode
$ npx skills add athola/claude-night-market --skill workflow-diagram -a opencode -y
Windsurf
$ npx skills add athola/claude-night-market --skill workflow-diagram -a windsurf -y
name: workflow-diagram description: Generates a Mermaid workflow diagram showing process steps, decisions, and state transitions. Use when documenting CI/CD pipelines or lifecycle processes.
Generate a Mermaid flowchart showing process workflows, pipelines, or state machines from code or documentation.
Dispatch the codebase explorer agent:
Agent(cartograph:codebase-explorer) Prompt: Explore [scope] and return a structural model. Focus on process steps, conditional logic, state transitions, and pipeline stages for a workflow diagram. Look for: Makefiles, CI configs, hook chains, command sequences, and lifecycle methods.
Transform the structural model into a Mermaid flowchart with decision nodes and process steps.
**Rules for workflow diagrams**:
**Example output**:
flowchart TD
start([Start: PR Created])
lint[Run Linters]
test[Run Tests]
review{Code Review}
approve[Approved]
changes[Request Changes]
merge([Merge to Main])
start --> lint --> test
test --> review
review -->|pass| approve --> merge
review -->|fail| changes -.-> lintCall the Mermaid Chart MCP to render:
mcp__claude_ai_Mermaid_Chart__validate_and_render_mermaid_diagram prompt: "Workflow diagram of [scope/process]" mermaidCode: [generated syntax] diagramType: "flowchart" clientName: "claude-code"
If rendering fails, fix syntax and retry (max 2 retries).
Show the rendered diagram with a brief description of the workflow stages and decision points (2-3 sentences).
diamond `{Decision}` node representing a conditional branch
called and returns without error (or retry attempted and result reported)
from happy-path arrows when error paths exist in the source
are collapsed into `[[Subroutine]]` nodes
points is shown alongside the diagram
A plugin marketplace for Claude Code. Install only the plugins you need to run git workflows, code review, spec-driven development, and autonomous agents from inside your Claude Code session.
Explain plugin, skill, command, agent, and hook mechanics used here. Use when authoring or debugging plugins. Do not use for ops;…
States load-bearing decisions, invariants, and weak points. Use when judging a design change. Do not use for gating; use…
Rebuild the dev environment: uv, Python tiers, pins, traps. Use when onboarding or toolchain breaks. Do not use for daily…
Classify, gate, and review changes. Use when landing a PR, releasing, or amending rules. Do not use for failure triage; use…
Search and record project memory (Discussions, journal, ADRs). Use before re-investigating anything. Do not use for settled…
Bind loop 'done' to unfakeable gates. Use to harden egregore/herald loops or promote completion_integrity. Not for QA gates; use…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.