Files
dss/.clauderc
Digital Production Factory 276ed71f31 Initial commit: Clean DSS implementation
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
2025-12-09 18:45:48 -03:00

51 lines
2.1 KiB
Plaintext

{
"project_context": {
"name": "Design System Swarm",
"type": "design_system_platform",
"architecture": "MCP-first",
"knowledge_base": ".knowledge/"
},
"preferred_tools": [
"Read structured JSON from .knowledge/ directory for project context",
"Use MCP memory graph for cross-session knowledge",
"Prefer structured data over natural language documentation"
],
"documentation_strategy": "Structured data in .knowledge/, natural language only for admin-ui/",
"immutability": {
"status": "active",
"policy": "simple",
"protected_core_files": [
".knowledge/dss-principles.json",
".knowledge/dss-architecture.json",
".knowledge/dss-coding-standards.json",
".clauderc"
],
"ai_instructions": [
"NEVER modify the files listed in 'protected_core_files' - these define DSS core architecture.",
"If you believe a core file must be changed, STOP and ask the user for explicit approval.",
"The user can approve changes by setting ALLOW_CORE_CHANGES=true when committing.",
"All other files can be freely modified as part of normal development.",
"ALWAYS follow coding standards defined in .knowledge/dss-coding-standards.json:",
" - Use Shadow DOM for ALL web components (attachShadow)",
" - NEVER use inline event handlers (onclick, onmouseover, etc.)",
" - Extract inline styles to <style> blocks in Shadow DOM",
" - Use semantic HTML (<button> not <div onclick>)",
" - Add proper ARIA attributes and keyboard support",
" - Use logger utility instead of console.log",
" - Sanitize user input with ComponentHelpers.escapeHtml()",
" - Event delegation pattern with data-action attributes",
" - Clean up listeners in disconnectedCallback"
]
},
"coding_standards": {
"source": ".knowledge/dss-coding-standards.json",
"enforcement": "pre-commit hooks via scripts/verify-quality.sh",
"reference_implementations": [
"admin-ui/js/workdesks/base-workdesk.js",
"admin-ui/js/components/metrics/ds-frontpage.js",
"admin-ui/js/components/metrics/ds-metric-card.js"
]
}
}
}