new-screen
Build a screen from its docs/11 spec with all six required states. Use for any screen ticket.
SKILL.md.claude/skills/new-screen/SKILL.md
GitHubBuild the screen $ARGUMENTS.
- Read its section in
docs/11-screens-spec.mdand its route indocs/05-information-architecture.md. Quote the spec section you are implementing. - Read
.claude/rules/06-ui-and-styling.md. - Implement in this order:
TEXT+TEST_ID+ props/view-model types- the query hooks it needs (existing ones if possible)
- sub-components in
components/, one per file - the screen file, composition only, under 200 lines
- Implement all six states from
docs/11§State matrix: loading (skeleton matching the layout), empty (teaches + one action), error (mapped message + retry), offline, stale, success. - Add every string to
nl.jsonanden.json. - Verify: light and dark, 100% and 200% font scale, VoiceOver order, 44pt targets.
- Add component tests: renders empty, renders data, renders error.
- Run
pnpm check, then walk.claude/rules/10-review-checklist.md.