ProSkillsLibraryFreePassScan
Frontend Taste

Frontend Taste · agent skill

Taste Core

Spacing, type scale, one accent.

What it does

Loads when it is needed

Your agent loads it when the user builds or restyles any UI. It carries 4 rules and reads a profile.md with your details before it starts, so the output matches your brand and project.

Same prompt, with and without

Build a citation export card

Prompt · Build the export card for our notes app: pick BibTeX, RIS or CSL JSON, see how many notes are selected, one export button.

Selected count comes from props. Export button reads 'Export 42 notes' when 42 are selected and is disabled at 0.

Profile used: Brand: Fieldnote, a note app for researchers; Accent: #1F5FE0; Vibe: Minimal; Framework: Next.js

Without the skill
Here's a compact Next.js (TypeScript) client component using your accent colour. A radio group picks the format, the count comes from props, and the button is disabled at 0. "use client"; import { useState } from "react"; const FORMATS = [ { id: "bibtex", label: "BibTeX" }, { id: "ris", label: "RIS" }, { id: "csl", label: "CSL JSON" }, ]; export function ExportCard({ count, onExport }: { count: number; onExport: (f: string) => void }) { const [format, setFormat] = useState("bibtex"); return ( <section className="w-full max-w-sm rounded-lg border border-neutral-200 bg-white p-5"> <h2 className="text-base font-semibold">Export citations</h2> <p className="mt-1 text-sm text-neutral-500">{count} selected</p> <div role="radiogroup" aria-label="Format" className="mt-4 grid gap-2"> {FORMATS.map((f) => ( <label key={f.id} className="flex items-center gap-2 text-sm"> <input type="radio" name="format" checked={format === f.id} onChange={() => setFormat(f.id)} className="accent-[#1F5FE0]" /> {f.label} </label> ))} </div> <button disabled={count === 0} onClick={() => onExport(format)} className="mt-5 w-full rounded-md bg-[#1F5FE0] px-4 py-2 text-sm font-medium text-white disabled:cursor-not-allowed disabled:opacity-40"> Export {count} notes …
With the skill
Tokens (4px grid, 1.25 scale, one accent, Minimal) :root { --s4:16px; --s6:24px; --t-m:16px; --t-xl:25px; --accent:#1F5FE0; --accent-strong:#1A52C2; --ink:#14192B; --muted:#5B6478; --paper:#F7F8FB; --line:#DDE1EC; --radius:8px; } "use client"; import { useState } from "react"; export function ExportCard({ count }: { count: number }) { const [fmt, setFmt] = useState("BibTeX"); return ( <form className="card"> <h2>Export citations</h2> <p className="muted">{count} notes selected</p> <fieldset aria-label="Format"> {[["BibTeX",".bib"],["RIS",".ris"],["CSL JSON",".json"]].map(([n, ext]) => ( <label key={n} className="opt"> <input type="radio" name="fmt" checked={fmt === n} onChange={() => setFmt(n)} /> {n} <code>{ext}</code> </label> ))} </fieldset> <button className="btn" disabled={count === 0}>Export {count} notes</button> </form> ); } .card{display:grid;gap:var(--s4);padding:var(--s6);max-width:360px;border:1px solid var(--line);border-radius:var(--radius)} .card h2{font-size:var(--t-xl);line-height:1.2;margin:0} .opt,.btn{min-height:44px} .btn{background:var(--accent);color:#fff;border:0;border-radius:var(--radius);font-size:var(--t-m)} .btn:hover{background:var(--accent-strong)} .btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px} Note: white on #1F5FE0 is 5.6:1, so the button keeps white text…

Both answers from the same model (Claude sonnet), 2026-10-16. The one without the skill was written in a separate session that never saw it. Shortened where marked with …

SKILL.md

First 40 lines

---
name: taste-core
description: "Use when the user builds, restyles, reviews or says a UI \"looks off\", \"generic\" or \"needs polish\": pages, components, dashboards, landing pages. Sets a spacing grid, type scale and single accent before writing any CSS, then enforces them in the code. Reads profile.md for brand, accent colour, vibe and framework."
---

# Taste Core

Interfaces look designed when a small set of decisions is made once and never broken: one spacing unit, one type scale, one accent. This skill fixes those decisions before any markup is written.

## Before you start

Read `profile.md` in this folder:

| profile.md line | Use |
|---|---|
| **Brand** | Name and tone; the logo or wordmark sets the visual weight. |
| **Accent** | The one accent colour. Every highlight, link and primary action uses it. |
| **Vibe** | Minimal, Editorial, Playful or Technical: picks values from the vibe table below. |
| **Framework** | Write code in it (React, Next.js, Vue, Svelte or HTML) and keep tokens as CSS variables. |

If a line says "not set", ask the user once, write the answer into profile.md, then continue.

## Workflow

1. Write a token block first: spacing, type scale, colours, radius. Show it in five lines before any component.
2. Spacing: multiples of 4px only (4, 8, 12, 16, 24, 32, 48, 64, 96). Use `gap` in flex and grid layouts instead of margins between siblings.
3. Type scale: choose a ratio and keep it. Default 1.25: 14, 16, 20, 25, 31, 39, 49. Body text is 16px minimum with 1.5 line height; headings use 1.1 to 1.2 line height and slightly negative tracking at 32px and above. Use at most two font families and three weights.
4. Colour: derive neutrals from one hue, tinted toward the accent by a few percent. The accent covers at most about 10 percent of any screen. Text against its background must reach 4.5:1 contrast, large text 3:1.
5. Layout: one primary action per view. Content width for reading text is 60 to 75 characters. Align to a column grid and keep gutters equal.
6. States: every interactive element has default, hover, focus-visible, active and disabled. Touch targets are at least 44px.
7. Build the component, then audit it against the rules below and fix before showing.

## Vibe table

| Vibe | Radius | Density | Type feel |
|---|---|---|---|
| Minimal | 6 to 8px | Roomy, 24px section padding minimum | One sans family, light borders |
| Editorial | 0 to 4px | Wide margins | Serif display, sans body |
| Playful | 12 to 20px | Medium | Rounded sans, bolder weights |
| Technical | 2 to 6px | Dense | Mono for data, tabular numbers |

Install

One command, in your project

It detects your agent; add --agent all for every agent.

npx proskills-cli add taste-core

Or copy the skill folder (the one holding SKILL.md) into the directory your agent reads, then restart it or start a new session.

AgentThis projectEvery project
Claude Code.claude/skills/~/.claude/skills/
Cursor.agents/skills/ (or .cursor/skills/)~/.cursor/skills/
Codex.agents/skills/~/.agents/skills/
Gemini CLI.agents/skills/ (or .gemini/skills/)~/.gemini/skills/

Changelog

What changed

  • v1.0.0 · 2026-10-16
    • First versioned release: Spacing, type scale, one accent.
    • Scanned 100/100 before release.

Keep it current with npx proskills-cli update; your profile.md is never touched.

Same collection

More from Frontend Taste

The scan checks spec compliance, token cost, clarity and security patterns. A clean scan is not a guarantee: static scanners can be evaded. Scan any skill yourself.