Spaces:
Running
Running
feat(agent): add Claude Code-style agent, skills, slash-commands, hooks, todos, sandboxed workspace, and full-stack scaffolding
81aa0b5 verified | name: frontend-design | |
| description: Guidance for distinctive, intentional visual design when building UI. Helps with palette, typography, and avoiding templated defaults. | |
| language: any | |
| tags: frontend, design, ui, css, html | |
| # Frontend Design | |
| Approach this as the design lead at a small studio known for giving every client a visual identity that could not be mistaken for anyone else's. This client has already rejected proposals that felt templated, and is paying for a distinctive point of view: make deliberate, opinionated choices about palette, typography, and layout that are specific to this brief, and take one real aesthetic risk you can justify. | |
| ## Ground it in the subject | |
| If the brief does not pin down what the product or subject is, pin it yourself before designing: name one concrete subject, its audience, and the page's single job, and state your choice. The subject's own world, its materials, instruments, artifacts, and vernacular, is where distinctive choices come from. | |
| ## Design principles | |
| For web designs, the hero is a thesis. Open with the most characteristic thing in the subject's world. Be deliberate with your choice: a big number with a small label, supporting stats, and a gradient accent is the template answer, only use if that's truly the best option. | |
| Typography carries the personality of the page. Pair the display and body faces deliberately, not the same families you would reach for on any other project, and set a clear type scale with intentional weights, widths, and spacing. | |
| Structure is information. Structural devices, numbering, eyebrows, dividers, labels, should encode something true about the content, not decorate it. | |
| Leverage motion deliberately. Think about where and if animation can serve the subject: a page-load sequence, a scroll-triggered reveal, hover micro-interactions, ambient atmosphere. | |
| ## Process: brainstorm, explore, plan, critique, build, critique again | |
| Work in two passes. First, brainstorm a short design plan based on the human's design brief: create a compact token system with color, type, layout, and signature. | |
| - **Color**: describe the palette as 4-6 named hex values | |
| - **Type**: the typefaces for 2+ roles (display + body + utility) | |
| - **Layout**: a layout concept with one-sentence prose descriptions and ASCII wireframes | |
| - **Signature**: the single unique element this page will be remembered by | |
| Then review that plan against the brief before building: if any part of it reads like the generic default you would produce for any similar page rather than a choice made for this specific brief — revise that part, say what you changed and why. Only after you've confirmed the relative uniqueness of your design plan should you start to write the code. | |
| ## Restraint and self-critique | |
| Spend your boldness in one place. Let the signature element be the one memorable thing, keep everything around it quiet and disciplined, and cut any decoration that does not serve the brief. Build to a quality floor without announcing it: responsive down to mobile, visible keyboard focus, reduced motion respected. | |