balsa-template-design
Skill61 starsChanged 4 months agoMITView on GitHub
Create distinctive, production-ready Balsa UI templates, blocks, showcases, demos, and visually led Vue surfaces without generic AI-template aesthetics. Use with the balsa-ui skill when generating a new page-level composition, beautifying a Balsa interface, establishing art direction, or producing a polished one-shot template from a brief or visual reference. Do not use for a small component behavior fix or a public primitive API change.
In this repository4 other files it gives its agents.
- AGENTS.mdAGENTS.md
- public/llms-full.txtllms.txt
- public/llms.txtllms.txt
- balsa-uiSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. About 0 are common, 13 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈13
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Use this skill with $balsa-ui.
- Distinctive: line 23
Create a compact internal plan before editing:
- Distinctive: line 39
Use an ASCII wireframe when the hierarchy or container model is not obvious from the brief.
- Distinctive: line 40
If an attached reference or generated concept is the visual specification, extract this plan from it and preserve its hierarchy, density, …
- Distinctive: line 45
Before coding, ask whether each major choice could appear unchanged in an unrelated product.
- Distinctive: line 52
Remove decorative pills, eyebrow labels, icon rows, fake metrics, glows, and gradients when they do not encode real information or the …
- Distinctive: line 54
Avoid evenly distributing emphasis.
- Very specific: line 66
Follow $balsa-ui before writing common controls or surfaces:
- Distinctive: line 68
Search by intent and inspect the compact catalog only as a fallback.
- Distinctive: line 69
Read only the selected component specifications.
- Distinctive: line 70
Prefer a matching block, then composition, then primitive.
- Distinctive: line 75
Use one repeated application grammar and let inherited themes own geometry, material, depth, motion, and typography unless a local …
- Distinctive: line 82
Use real interaction state and include the relevant loading, empty, error, selected, disabled, overflow, and long-content cases.
- Distinctive: line 84
Keep controls semantic, keyboard accessible, visibly focused, and understandable without color alone.
- Distinctive: line 89
Do the planning and anti-template critique internally, then implement without asking for an approval round unless the user requests …
- Very specific: line 96
Check hierarchy, copy, line breaks, density, container ownership, token use, focus, overflow, and whether the signature still reads.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Design Distinctive Balsa Templates
Use this skill with $balsa-ui. This skill owns art direction and composition; $balsa-ui
owns discovery, exact component contracts, installation, accessibility, source placement, and
validation. Keep the implementation in Vue 3 <script setup lang="ts"> and preserve the
active Balsa design system.
Ground the template in a subject
- Choose one concrete subject, audience, and primary job when the brief leaves them open.
- Build with realistic names, labels, values, states, and domain language. Keep demo content specific even when the template API remains reusable.
- Derive visual character from the subject's real materials, tools, artifacts, environment, and vernacular. Do not substitute generic SaaS copy or invented vanity metrics.
Art-direct before coding
Create a compact internal plan before editing:
- Thesis — state the visual idea in one sentence.
- Container model — choose the page structure: open canvas, bands, rails, list, table, master-detail, editorial columns, media frame, deliberate Card system, or another model justified by the content.
- Typography — assign title, body, control, label, and data roles. Use the active theme's roles unless the brief explicitly calls for an authored design system.
- Palette and material — map hierarchy to Balsa semantic tokens and theme-owned surfaces. Reserve product-specific color for decoration that need not adapt with the palette.
- Density and rhythm — choose controlled density or generous space and repeat a small spacing rhythm consistently.
- Signature — choose one memorable, subject-specific compositional move.
- Restraint — name what stays quiet so the signature remains legible.
Use an ASCII wireframe when the hierarchy or container model is not obvious from the brief. If an attached reference or generated concept is the visual specification, extract this plan from it and preserve its hierarchy, density, geometry, and media treatment.
Run the anti-template critique
Before coding, ask whether each major choice could appear unchanged in an unrelated product. Revise any answer that is merely a model default rather than a decision for this subject.
- Replace default bento grids and repeated three-card rows with a content-appropriate container model.
- Replace nested rounded surfaces with one principal surface owner plus spacing, separators, bands, rails, lists, or tables.
- Remove decorative pills, eyebrow labels, icon rows, fake metrics, glows, and gradients when they do not encode real information or the chosen direction.
- Avoid evenly distributing emphasis. Give the surface one focal point and one obvious primary action.
- Make structural devices truthful: numbering indicates a sequence; status styling indicates state; grouping expresses a real relationship.
- Spend boldness in the signature element. Refined minimalism requires exact typography, alignment, spacing, and detail rather than extra decoration.
State positive replacements in the plan. "Use an open table-and-inspector layout" directs an agent better than "do not use cards."
Discover and compose with Balsa
Follow $balsa-ui before writing common controls or surfaces:
- Search by intent and inspect the compact catalog only as a fallback.
- Read only the selected component specifications.
- Prefer a matching block, then composition, then primitive.
- Install selected items before implementation.
Apply the signature at the composition layer. Do not invent primitive variants, raw brand colors, runtime Tailwind classes, or competing component APIs to force the art direction. Use one repeated application grammar and let inherited themes own geometry, material, depth, motion, and typography unless a local exception has semantic purpose.
Build the complete surface in one pass
- Implement the requested template, not a marketing wrapper around a future interface.
- Preserve one principal surface owner for each region and avoid Card-inside-Card framing.
- Use real interaction state and include the relevant loading, empty, error, selected, disabled, overflow, and long-content cases.
- Keep controls semantic, keyboard accessible, visibly focused, and understandable without color alone.
- Make the first responsive decision intentional; do not merely shrink the desktop layout.
- Reuse one component or typed variant for repeated anatomy instead of copying one-off markup.
Do the planning and anti-template critique internally, then implement without asking for an approval round unless the user requests concepts first or a missing choice would materially change the result.
Inspect the visible result
Render the template at its intended desktop and mobile sizes when browser tools are available.
Check hierarchy, copy, line breaks, density, container ownership, token use, focus, overflow,
and whether the signature still reads. Remove one nonessential visual accessory, then run the
repository's required validation from $balsa-ui.
Adaptation notice
This file is adapted from Anthropic's frontend-design skill and has been substantially
modified for Balsa UI, Vue composition, semantic tokens, component discovery, one-shot
template generation, and Balsa validation. The upstream work is licensed under Apache-2.0;
see LICENSE.txt in this skill directory.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

