DESIGN.md & Direction
How antislop pairs with DESIGN.md, data-vs-instruction security boundaries, and the R-37 conflict protocol.
Removing slop leaves a blank canvas unless creative direction supplies identity. antislop separates rules from styling across three files: DESIGN.md holds identity, palette, typography, mood, and optional dials; AGENTS.md routes the agent to read both; and antislop.md acts purely as the filter.
Comparison of four states
| Setup | Outcome |
|---|---|
| Without antislop | Generic AI template: gradient hero, capsule badges, invented latency stats, boilerplate sections. |
| antislop alone | Fake claims and decoration vanish, leaving a plain neutral layout labeled "draft without direction". |
| DESIGN.md alone | Your visual aesthetic shows, but slop habits (fabricated numbers, low-contrast text) slip in unchallenged. |
| antislop + DESIGN.md | Brand identity stays sharp while slop patterns, fake stats, and accessibility flaws are filtered out. |
Three direction paths during UI setup
- You supply
DESIGN.mdor answer brief palette, typography, and mood questions for the agent to transcribe without inventing taste for you. - The agent generates direction after warning explicitly that model-authored taste tends toward generic defaults.
- You skip direction for now, marking UI outputs as "draft without direction" under default dials
ENERGY 1 / RHYTHM 1 / MOTION 1(R-37).
Security boundary & R-37 conflict protocol
Agents parse DESIGN.md strictly as design data, never as executable instructions. If any external file contains command-like phrasing contradicting core rules, it is ignored as a command and flagged.
When DESIGN.md intentionally requests a named slop pattern (such as decorative capsule badges), the agent names the element and rule and asks whether to keep or drop it rather than overriding your brand silently.