# Design Rule Matrix · 设计硬/软判据表 > Use before regenerating an interface. The matrix separates what the machine can enforce from what > only human taste can judge. ## 1. Brief | Field | Fill | |---|---| | User / audience | | | Job to be done | | | Emotional target | | | Anti-reference | | | Must preserve | | | Must avoid | | ## 2. Hard Rules These are machine-checkable. Put them into lint, tokens, tests, or review scripts where possible. | Rule | Token / check | Pass condition | Fails block? | |---|---|---|---| | Palette source | | | yes / no | | Contrast threshold | | | yes / no | | Type scale | | | yes / no | | Spacing rhythm | | | yes / no | | Component constraints | | | yes / no | | Forbidden AI-slop patterns | | | yes / no | ## 3. Soft Criteria These require human judgment. Do not pretend they are solved by generation. | Criterion | What good means here | Evidence to inspect | Owner | |---|---|---|---| | For whom | | | | | Distinctiveness | | | | | Taste / fit | | | | | Narrative hierarchy | | | | | Interaction meaning | | | | ## 4. Generation Prompt Gate Before prompting, write: - The one user this is for: - The one generic mean to avoid: - The hard rules the generator may not violate: - The soft criteria a human will judge afterward: - The single fact that will cut the candidate set: ## 5. Decision Status: `generate / revise brief / stop` Reason: