بنقرة واحدة
mermaid-viz
Mermaid diagram patterns for workflow and graph visualization in agentcockpit
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Mermaid diagram patterns for workflow and graph visualization in agentcockpit
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Testing strategy, patterns, and coverage optimization for quality assurance. Use this skill whenever the task involves deciding what to test, how to structure tests, what coverage to aim for, when to use mocks vs real dependencies, or how to write tests that actually catch bugs (not just pass). Also use when the user asks about test pyramids, flaky tests, integration vs unit, TDD, or improving an existing test suite.
Production readiness validation — runs all checks before merging or deploying. Use this skill whenever the task involves verifying that code is ready to ship: type checking, linting, tests passing, coverage thresholds, dead code, security issues, or any pre-merge checklist. Also use when the user asks "is this ready?", wants a pre-PR review, or needs to confirm nothing is broken after a refactor.
Swift architecture reference — SwiftUI, UIKit, Combine, async/await, actors, and production best practices for Swift 5.9/6.0 (2024-2025). Use when making architectural decisions, reviewing Swift code, or selecting libraries. Also use when the user mentions iOS development, macOS apps, or Apple platform development.
UI/Frontend architecture reference - React 19, Next.js 15, Vue 3, Svelte 5, Angular 19, CSS modern features, component libraries, state management, and production best practices for 2024-2025. Use when building frontend UIs, selecting frameworks, reviewing component code, or making frontend architecture decisions.
UX design reference - research methods, design systems, accessibility (WCAG 2.2, EAA), UX laws, AI-driven workflows, tools (Figma, Penpot), and production best practices for 2024-2025. Use when making UX decisions, reviewing designs, implementing accessibility, selecting design tools, or applying UX principles.
C# architecture reference - frameworks, design patterns, ASP.NET Core, Entity Framework, Blazor, Unity, and production best practices for C# 12/13 and .NET 8/9 (2024-2025). Use when making architectural decisions, reviewing C# code, or selecting libraries.
| name | mermaid-viz |
| description | Mermaid diagram patterns for workflow and graph visualization in agentcockpit |
agentcockpit uses Mermaid 11.x for rendering workflow graphs and workflow diagrams. The MermaidRenderer component takes graph definitions and renders interactive SVG diagrams.
src/components/workflow/MermaidRenderer.tsximport { MermaidRenderer } from '../components/workflow/MermaidRenderer';
<MermaidRenderer
definition={`
graph TD
A[Start] --> B{Decision}
B -->|Yes| C[Action]
B -->|No| D[Skip]
`}
onNodeClick={(nodeId) => console.log('Clicked:', nodeId)}
/>
Workflow graphs from the workflow-manager MCP use this structure:
nodes:
- id: analyze
label: Analyze Code
type: action
- id: review
label: Review Changes
type: checkpoint
edges:
- from: analyze
to: review
Converted to Mermaid syntax for rendering.
mermaid.initialize({
theme: 'dark',
themeVariables: {
primaryColor: 'var(--accent)',
primaryTextColor: 'var(--text-primary)',
lineColor: 'var(--border)',
// Match agentcockpit theme
}
});