agentleFS
pedrobalsapedrobalsa/balsa-ui/skills/balsa-template-design/SKILL.md

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.

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
  1. Very specific:

    Use this skill with $balsa-ui.

    line 8
  2. Distinctive:

    Create a compact internal plan before editing:

    line 23
  3. Distinctive:

    Use an ASCII wireframe when the hierarchy or container model is not obvious from the brief.

    line 39
  4. Distinctive:

    If an attached reference or generated concept is the visual specification, extract this plan from it and preserve its hierarchy, density, …

    line 40
  5. Distinctive:

    Before coding, ask whether each major choice could appear unchanged in an unrelated product.

    line 45
  6. Distinctive:

    Remove decorative pills, eyebrow labels, icon rows, fake metrics, glows, and gradients when they do not encode real information or the …

    line 52
  7. Distinctive:

    Avoid evenly distributing emphasis.

    line 54
  8. Very specific:

    Follow $balsa-ui before writing common controls or surfaces:

    line 66
  9. Distinctive:

    Search by intent and inspect the compact catalog only as a fallback.

    line 68
  10. Distinctive:

    Read only the selected component specifications.

    line 69
  11. Distinctive:

    Prefer a matching block, then composition, then primitive.

    line 70
  12. Distinctive:

    Use one repeated application grammar and let inherited themes own geometry, material, depth, motion, and typography unless a local …

    line 75
  13. Distinctive:

    Use real interaction state and include the relevant loading, empty, error, selected, disabled, overflow, and long-content cases.

    line 82
  14. Distinctive:

    Keep controls semantic, keyboard accessible, visibly focused, and understandable without color alone.

    line 84
  15. Distinctive:

    Do the planning and anti-template critique internally, then implement without asking for an approval round unless the user requests …

    line 89
  16. Very specific:

    Check hierarchy, copy, line breaks, density, container ownership, token use, focus, overflow, and whether the signature still reads.

    line 96

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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:

  1. Thesis — state the visual idea in one sentence.
  2. 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.
  3. 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.
  4. 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.
  5. Density and rhythm — choose controlled density or generous space and repeat a small spacing rhythm consistently.
  6. Signature — choose one memorable, subject-specific compositional move.
  7. 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:

  1. Search by intent and inspect the compact catalog only as a fallback.
  2. Read only the selected component specifications.
  3. Prefer a matching block, then composition, then primitive.
  4. 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.