How envforge-dev/design-system-intelligence works
DSI is a provider-neutral design-system workflow with a deterministic local engine and a Node.js CLI. A user supplies a client brief; the CLI generates and validates a system, then can render Markdown or CSS, compare systems, and expose industry and reference data. The README also describes an AI-assisted workflow for refining the result with client evidence. The engine source was not excerpted, so its internal stages are grouped rather than split into unverified modules; documented capabilities are retained.
Main entry points: dsi.mjs DSI CLI · catalog.json Reference catalog · system.mjs System engine · SKILL.md Assistant workflow
Components 13
CLI interface
- DSI CLI
dsi.mjs - Client brief
Design engine
- System engine
src/system.mjs
Reference material
- Reference catalog
library/catalog.json - Assistant workflow
SKILL.md
System outputs
- Design system JSON
- DESIGN.md
- Token CSS
- System comparison
- Industry list
- Reference entry
Other components
- Designer
- AI assistant
Connections 14
- Designer → DSI CLI: runs commands
README.md - Designer → Client brief: supplies brief
README.md - Client brief → DSI CLI: provides input
README.md - DSI CLI → System engine: calls functions
dsi.mjs - DSI CLI → Reference catalog: reads catalog
dsi.mjs - DSI CLI → Design system JSON: generates or validates
dsi.mjs - DSI CLI → DESIGN.md: renders Markdown
dsi.mjs - DSI CLI → Token CSS: renders CSS
dsi.mjs - DSI CLI → System comparison: compares systems
dsi.mjs - DSI CLI → Industry list: lists industries
dsi.mjs - DSI CLI → Reference entry: shows reference
dsi.mjs - AI assistant → Assistant workflow: follows workflow
README.md - AI assistant → Reference catalog: studies selectively
README.md - AI assistant → Design system JSON: refines system
README.md