Migrated from design-system-swarm with fresh git history.
Old project history preserved in /home/overbits/apps/design-system-swarm
Core components:
- MCP Server (Python FastAPI with mcp 1.23.1)
- Claude Plugin (agents, commands, skills, strategies, hooks, core)
- DSS Backend (dss-mvp1 - token translation, Figma sync)
- Admin UI (Node.js/React)
- Server (Node.js/Express)
- Storybook integration (dss-mvp1/.storybook)
Self-contained configuration:
- All paths relative or use DSS_BASE_PATH=/home/overbits/dss
- PYTHONPATH configured for dss-mvp1 and dss-claude-plugin
- .env file with all configuration
- Claude plugin uses ${CLAUDE_PLUGIN_ROOT} for portability
Migration completed: $(date)
🤖 Clean migration with full functionality preserved
112 lines
2.9 KiB
JSON
112 lines
2.9 KiB
JSON
{
|
|
"description": "DSS Developer Hooks - React/UI Development & QA Tools",
|
|
"version": "1.0.0",
|
|
"author": "DSS Team",
|
|
"hooks": {
|
|
"PreToolUse": [
|
|
{
|
|
"description": "Security pattern validation for file edits",
|
|
"matcher": "Edit|Write",
|
|
"priority": 100,
|
|
"enabled": true,
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "python3 ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/security-check.py",
|
|
"timeout": 5000,
|
|
"continueOnError": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"description": "Design token compliance validation",
|
|
"matcher": "Edit|Write",
|
|
"priority": 90,
|
|
"enabled": true,
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "python3 ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/token-validator.py",
|
|
"timeout": 5000,
|
|
"continueOnError": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"PostToolUse": [
|
|
{
|
|
"description": "React component best practices and accessibility",
|
|
"matcher": "Edit|Write",
|
|
"priority": 80,
|
|
"enabled": true,
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "python3 ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/component-checker.py",
|
|
"timeout": 5000,
|
|
"continueOnError": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"description": "Code complexity tracking",
|
|
"matcher": "Edit|Write",
|
|
"priority": 70,
|
|
"enabled": true,
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "node ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/complexity-monitor.js",
|
|
"timeout": 5000,
|
|
"continueOnError": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"description": "Storybook coverage reminder for components",
|
|
"matcher": "Edit|Write",
|
|
"priority": 60,
|
|
"enabled": true,
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "python3 ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/storybook-reminder.py",
|
|
"timeout": 3000,
|
|
"continueOnError": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"SessionEnd": [
|
|
{
|
|
"description": "Generate session summary report",
|
|
"priority": 100,
|
|
"enabled": true,
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "node ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/session-summary.js",
|
|
"timeout": 10000,
|
|
"continueOnError": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"Stop": [
|
|
{
|
|
"description": "Auto-backup changes to git",
|
|
"priority": 100,
|
|
"enabled": true,
|
|
"hooks": [
|
|
{
|
|
"type": "command",
|
|
"command": "node ${CLAUDE_PLUGIN_ROOT}/hooks/scripts/git-backup.js",
|
|
"timeout": 10000,
|
|
"continueOnError": false
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|