agentleFS
DobroslavRadosavljevicDobroslavRadosavljevic/cabrakan/.agents/skills/design/SKILL.md

design

Skill1 starsChanged 3 months agoMITView on GitHub

Enforces modern website visual design on shadcn/ui + Tailwind: semantic OKLCH tokens, type scale, light/dark palettes, spacing density, radius, elevation, WCAG 2.2, and surface-specific layouts (marketing, dashboard, auth, settings, tables, forms, docs, checkout, overlays, empty/error). Use when building, restyling, reviewing, or theming any website UI, landing page, app shell, or shadcn component composition.

198 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use banner-design, inquiry and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • lithStudySkill

    banner-design

    Design banners for social media, ads, website heroes, creative assets, and print. Multiple art direction options with AI-generated visuals. Actions: design, create, generate banner. Platforms: Facebook, Twitter/X, LinkedIn, YouTube, Instagram, Google Display, website hero, print. Styles: minimalist, gradient, bold typography, photo-based, illustrated, geometric, retro, glassmorphism, 3D, neon, duotone, editorial, collage. Uses ui-ux-pro-max, frontend-design, ai-artist, ai-multimodal skills.

    Also in 43 projects that use this

  • iskron-aiSkill

    inquiry

    Жизнь вимарши и отказ по родам: «разбери вимарши», «закрой/оставь вопрос», «отказываемся от направления», «всё это чушь», «забудь это»; вероятно устаревшее чужое — дело забвения. Различить волю и опровержение, сохранить смысл, перевязать зависевших, затем исполнить. Также якорение, разрешение, принятие как есть, вытеснение, кристаллизация, поле вопрошания, «триаж вимарш», work the field of inquiry, resolve the question. Не постановка узла (writing), не сборка графа (assembly). Нужны искрон-тулы.

    Also in 4 projects that use this

  • MicrosoftSkill

    ui-styling

    Guide for the visual style, structure, and shared building blocks used by Semantic Link Labs interactive UI tools (HTML widgets and anywidget-based widgets). Use this when adding a new interactive UI, modifying an existing one, or adding shared visual components.

    Also in 44 projects that use this

  • lithStudySkill

    brand

    Brand voice, visual identity, messaging frameworks, asset management, brand consistency. Activate for branded content, tone of voice, marketing assets, brand compliance, style guides.

    Also in 48 projects that use this

  • OpenAnalystIncSkill

    ads-management

    Activate for paid advertising campaigns on Google Ads, Meta Ads, LinkedIn Ads, TikTok Ads. Includes ad copywriting, audience targeting, budget optimization, A/B testing, and ROAS tracking. Used by ads-specialist and campaign-manager agents.

    Also in 3 projects that use this

  • OpenAnalystIncSkill

    ai-artist

    Write and optimize prompts for AI-generated outcomes across text and image models. Use when crafting prompts for LLMs (Claude, GPT, Gemini), image generators (Midjourney, DALL-E, Stable Diffusion, Imagen, Flux), or video generators (Veo, Runway). Covers prompt structure, style keywords, negative prompts, chain-of-thought, few-shot examples, iterative refinement, and domain-specific patterns for marketing, code, and creative writing.

    Also in 3 projects that use this

  • +4 more from OpenAnalystInc

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 0 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 178 edited versions we read keep these.

  • 0

    Distinctive

    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:

    Read local tokens (globals.css / :root / .dark / @theme inline).

    line 21
  2. Very specific:

    Read components.json (style, baseColor, cssVariables, iconLibrary).

    line 22
  3. Very specific:

    Verify: light + dark, responsive, focus ring, empty/loading/error, 200% zoom when layout is fragile.

    line 35

“Common” is measured: kept by at least 6 in 10 of the 178 edited versions of this file we could read. “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

Enforce correct visual design for websites built with shadcn/ui, Tailwind semantic tokens, and Lucide. Classify the surface first. Do not apply marketing density to a dashboard, or dashboard text-sm to a legal page.

Workflow

  1. Ground in the project:
    • Read local tokens (globals.css / :root / .dark / @theme inline).
    • Read components.json (style, baseColor, cssVariables, iconLibrary).
    • Reuse existing primitives (Button, Card, Sidebar, Table, …). Do not invent a parallel visual language.
  2. Classify the surface using surfaces.md. Load only the matching surface file(s) plus the foundation files the change needs.
  3. Apply foundations:
    • Tokens: tokens.md
    • Type: typography.md
    • Color / dark mode: color.md
    • Spacing, density, radius, z-index: spacing.md
  4. Apply surface rules (one density and one primary CTA per view).
  5. Clear craft gates: accessibility.md, anti-slop.md.
  6. Verify: light + dark, responsive, focus ring, empty/loading/error, 200% zoom when layout is fragile. Prefer a browser check when available.

Hard rules

  • Style with semantic tokens (bg-background, text-foreground, bg-primary, text-muted-foreground, border-border, ring-ring). No one-off hex/rgb on product chrome unless the project already does that for a documented brand exception.
  • Pair surfaces: bg-primary with text-primary-foreground. Never text-foreground on bg-primary.
  • Dark mode overrides the same tokens under .dark. Do not invert the page. Raise card / popover above background. Dark borders: oklch(1 0 0 / 10%).
  • One filled primary button per view. Destructive is only for destroy.
  • One density per page. Do not mix hero padding with compact table chrome.
  • Interactive hit area: 24×24 CSS px minimum (WCAG 2.2 AA); prefer 44×44 for marketing, auth, and primary mobile actions.
  • Visible labels on inputs. Placeholder is not a label.
  • Icon-only controls need an accessible name. Lucide sizes: 16 / 20 / 24.
  • Honor prefers-reduced-motion. Keep the end state; drop travel.

Surface map

SurfaceLoad
Landing, pricing, blog, changelogmarketing.md
App shell, dashboard, analytics, entity detail, activitydashboard.md
Login, signup, invite, passwordauth.md
Settings, account, billing managementforms-settings.md
Tables, CRUD, admin liststables-crud.md
Multi-field forms, wizardsforms-settings.md
Docs, help, legalreading.md
Checkout, paywall, first upgradeconversion.md
Dialog, sheet, command, toastoverlays.md
Empty, onboarding, 404, search-no-resultsstates.md

Composed examples: examples.md.
Official links: source-map.md.

Decision record (emit with UI work)

## Surface
[marketing | dashboard | auth | …] — [user job]

## Tokens
Reuse local / change --primary|--radius|--font-sans: [why]

## Hierarchy
Type roles used: [display/h1/body/ui/caption]
Density: [generous | comfortable | compact]
Primary CTA: [one verb]

## Gates
- [ ] contrast (text 4.5:1, UI/focus 3:1) light+dark
- [ ] spacing on 4px grid
- [ ] states: empty/loading/error
- [ ] keyboard focus visible, not obscured
- [ ] anti-slop (no default indigo mesh / fake stats / equal card noise)

Out of scope

Email HTML, native mobile apps, and print. If the user asks for those, say so and keep this skill on website UI only.

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.