unslop — 7-Pillar Design Craft Engine
v2.1.2Audit UI design, extract Design DNA, generate tokens, and create transformation blueprints.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
unslop_audit
Read-only static UI audit across 72 rules and 7 design craft pillars (Color & WCAG 2.1 AA/AAA + APCA Contrast, Typography, Layout, Surface, Copy, Motion, and Tokens) for JSX, TSX, HTML, Vue, Svelte, CSS, and Tailwind files. Use this tool first to baseline a project's Design Craft Score (0-100), inspect pillar-by-pillar breakdowns, and get exact file:line diagnostics with remediation guidance without modifying any files.
| Parameter | Type | Description |
|---|---|---|
ignore | array | Optional list of additional directory base names (e.g. ['storybook-static', 'legacy']) to skip during scanning. |
path | string | File or directory path to audit, relative to the server project root (defaults to '.'). |
unslop_list_presets
Read-only catalog lookup for all 10 built-in studio design archetypes (such as 'linear-precision', 'anthropic-warm-editorial', 'swiss-grid-editorial', and 'vercel-mono'). Use this tool before calling unslop_apply_preset or unslop_refactor_plan to inspect available preset IDs, color polarities, typography pairings, surface tokens, and layout rules without modifying any files.
| Parameter | Type | Description |
|---|---|---|
preset | string | Optional preset identifier to inspect in full detail. Omit to list summaries for all built-in studio presets. |
unslop_extract_dna
Read-only Design DNA extractor that parses a local CSS/stylesheet file or fetches a live HTTP(S) webpage URL to extract color palettes, font stacks, spacing scales, border radii, and shadow tokens. Compiles and returns a reusable DesignPreset object and Agent Skill markdown in memory without writing files to disk.
| Parameter | Type | Description |
|---|---|---|
source * | string | Local CSS file path (relative to project root) or full HTTP(S) URL to extract design tokens from. |
maxStylesheets | number | Optional maximum number of linked external stylesheets to fetch when source is an HTML URL (defaults to 5). |
name | string | Optional human-readable identifier for the compiled design preset (defaults to 'extracted-dna'). |
timeoutMs | number | Optional network timeout in milliseconds per HTTP(S) stylesheet request (defaults to 8000). |
unslop_apply_preset
Install a built-in studio design preset across coding-agent ecosystems in the target project directory. Writes agent instruction rules, SKILL.md, design token files, and native MCP/plugin configuration files to disk, returning the list of created or updated file paths.
| Parameter | Type | Description |
|---|---|---|
preset * | string | Studio design archetype identifier to install (for example 'linear-precision', 'anthropic-warm-editorial', or 'swiss-grid-editorial'). |
projectDir | string | Target project directory where preset rules and token files will be written, relative to the server project root (defaults to '.'). |
unslop_refactor_plan
Analyze a component or directory and generate a step-by-step Design Transformation Blueprint tailored to a studio preset. Writes a Markdown refactor report (default 'UNSLOP-REPORT.md') to disk and returns the 7-pillar scorecard, exact before/after class and token replacements, and prioritized file:line refactoring tasks.
| Parameter | Type | Description |
|---|---|---|
ignore | array | Optional list of additional directory base names to exclude from analysis. |
path | string | Component file or directory path to analyze, relative to the server project root (defaults to '.'). |
preset | string | Target studio design archetype used to compute exact replacement classes and CSS tokens (defaults to 'linear-precision'). |
report | string | Output file path for the generated Markdown transformation blueprint, relative to project root (defaults to 'UNSLOP-REPORT.md'). |