diagram-generation
Diagram Generation Skill
Generate Mermaid diagrams to visualize architecture, data flows, and component relationships.
When to Use
Use this skill when:
- Documenting architecture
- Explaining complex changes in PRs
- Visualizing data flows
- Understanding component relationships
- Revealing architectural issues
Capabilities
Architecture Diagrams
- System architecture
- Component relationships
- Service interactions
- Module dependencies
Data Flow Diagrams
- Request/response flows
- Data transformation pipelines
- State management flows
- Event flows
Sequence Diagrams
- API call sequences
- User interaction flows
- Process workflows
- Error handling flows
Usage
Create a Mermaid diagram showing the data flow for our authentication system,
including OAuth providers, session management, and token refresh.
Best Practices
- Be specific: Describe what you want to visualize
- Include context: Mention relevant files or components
- Review diagrams: Verify accuracy and completeness
- Use in docs: Add diagrams to documentation
- Update regularly: Keep diagrams current with code
Related Resources
- Rule:
.cursor/rules/large-codebase-patterns.mdc - Command:
/diagram - Agent:
.cursor/skills/diagram-generation/agents/diagram-generator.md
More from basedhardware/omi
local-dev
Start local development environment — backend, macOS app, or Flutter mobile in iOS simulator. Use when: 'run the app', 'start backend', 'run simulator', 'flutter run', 'local dev', 'start dev environment', 'run mobile app'.
45rotate-key
Rotate an API key or secret across all locations — local .env files, macOS Keychain, GCP Secret Manager, Kubernetes deployments, and Codemagic CI. Use when: 'rotate key', 'update key', 'key leaked', 'replace secret', 'new API key', 'update GEMINI key', 'rotate secret'.
26self-improvement
Meta-skill for analyzing PRs, issues, and user interactions to improve Cursor rules and skills automatically
14debug-mode
Debug mode workflows and best practices for troubleshooting bugs, regressions, and performance issues. Use when debugging tricky issues that standard agent interactions struggle with.
13docs-automation
Automate documentation updates when API endpoints, functions, or architecture change. Detects code changes that require doc updates, generates API reference from FastAPI routers, updates architecture diagrams, and syncs between internal and external docs.
13omi-flutter-patterns
Flutter Dart BLE device communication state management Provider backend integration localization cross-platform iOS Android
13