diff --git a/skills/frontend-design/SKILL.md b/skills/frontend-design/SKILL.md index f65a72e..d5c15e7 100644 --- a/skills/frontend-design/SKILL.md +++ b/skills/frontend-design/SKILL.md @@ -8,6 +8,18 @@ This skill guides creation of distinctive, production-grade frontend interfaces The user provides frontend requirements: a component, page, application, or interface to build. They may include context about the purpose, audience, or technical constraints. +## Scope and requirements + +Before design thinking, classify the request and plan the appropriate ownership boundary. Ask only about missing information that materially changes structure, behavior, integration, or accessibility; when requirements are sufficient, proceed without a round trip. + +- **Page or application**: Plan the user journey, information architecture, content hierarchy, navigation and route context, page-level states, full-viewport responsive composition, and one coherent visual concept. +- **Isolated or reusable component**: Plan its responsibility, public inputs and content, events, variants, loading/empty/error/disabled/selected states where applicable, host context, intrinsic sizing, keyboard and focus semantics, tokens, and composition boundaries. +- **Hybrid work**: Plan both layers and keep page-owned requirements out of reusable component internals. + +A component must not invent an unrelated page shell, global landmarks, document-level `