SELECTED / SKILL.md The operating contract
The one file that should always be loaded. Define the exact trigger, the ordered workflow, safety limits, and the evidence the agent returns.
---
name: review-ui
description: Review a changed UI for focus, reflow, and motion.
---
1. Inspect the changed interaction.
2. Run the UI checks.
3. Return findings with evidence.
SELECTED / references/ Facts, only when needed
Keep conditional detail out of the main instruction. A dialog pattern, framework caveat, or accessibility checklist belongs here when it is not needed for every review.
references/
└── accessibility.md
├── keyboard interaction patterns
└── focus and reflow checklist
SELECTED / scripts/ Mechanics that should not depend on memory
Turn deterministic checks into runnable tools. The agent still judges the result, but it should not have to recreate a viewport test or filename rule by hand.
scripts/
└── check-reflow.mjs
└── checks 320px, 1280px, and 4K widths
SELECTED / assets/ Starting material, not hidden instructions
Use assets for templates and examples a person or agent can copy. Keep them clearly named so package readers can choose the right starting point.
assets/
├── review-report.md
└── focus-test-fixture.html