feat(rules): write-time UI reflexes in web-building.md, from ui-skills
Fourteen lines of stack-agnostic micro-rules (dvh, safe-area, paste, tabular-nums, text-wrap, z-index scale, compositor-only motion, 44 px targets, focus-visible, status not by color alone, errors by the field, one accent per view). Case 3 of the 6-repo review: nothing installed.
This commit is contained in:
@@ -7,6 +7,14 @@ Format follows [Keep a Changelog](https://keepachangelog.com/).
|
||||
## [Unreleased]
|
||||
|
||||
### Added
|
||||
- **rules/web-building.md § Write-time reflexes** — stack-agnostic
|
||||
micro-rules borrowed from ibelick/ui-skills (baseline-ui + playbook): dvh
|
||||
and safe-area, paste never blocked, tabular-nums and text-wrap, one
|
||||
z-index scale, compositor-only motion with reduced-motion and off-screen
|
||||
pause, 44 px targets and focus-visible, status never by color alone,
|
||||
errors next to the field, one accent per view. Case 3 of the 6-repo
|
||||
review: nothing installed (CLI and MCP are a curl of raw SKILL.md, a
|
||||
third router, and baseline-ui's stack mandates contradict Astro-first).
|
||||
- **`make test suite=<file>`** runs one suite hermetically; the
|
||||
`GIT_CONFIG_GLOBAL=/dev/null` export lives in the Makefile so nobody types
|
||||
the denied env-prefix form by hand (the reason an executor wrote a wrapper
|
||||
|
||||
Reference in New Issue
Block a user