Files
cursor__plugins/plugins/analytics-visualization/hooks/hooks.json
Cursor Agent 0877f223a0 Add analytics-visualization plugin for Highcharts-based dashboards
- Add complete plugin structure following boilerplate pattern
- Include Nord-inspired color palette with semantic color mappings
- Add 6 chart component templates: Pie, Bar, StackedArea, Comparison, DualAxis, Heatmap
- Include shared utilities for data transformation and filtering
- Add Highcharts best practices and accessibility rules
- Add chart-builder agent for generating visualizations
- Include comprehensive skill documentation with usage examples

Co-authored-by: kniparko <kniparko@anysphere.co>
2026-01-23 02:20:23 +00:00

22 lines
630 B
JSON

{
"$schema": "https://cursor.com/schemas/hooks.json",
"hooks": [
{
"name": "chart-type-check",
"description": "Validate Highcharts configuration follows design system",
"trigger": "pre-commit",
"pattern": "**/charts/**/*.{ts,tsx}",
"command": "./scripts/validate-charts.sh",
"enabled": false
},
{
"name": "color-palette-check",
"description": "Ensure charts use design system colors",
"trigger": "post-save",
"pattern": "**/charts/**/*.{ts,tsx}",
"command": "echo 'Reminder: Use COLORS from chart-constants.ts'",
"enabled": false
}
]
}