mirror of
https://github.com/cursor/plugins.git
synced 2026-09-14 20:00:00 +08:00
0877f223a0
- 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>
22 lines
630 B
JSON
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
|
|
}
|
|
]
|
|
}
|