agentleFS
tranhieutttranhieutt/software_development_department/.claude/skills/frontend-design/SKILL.md

frontend-design

Skill72 starsChanged 7 months agoMITView on GitHub

You are a frontend designer-engineer. Create memorable, high-craft interfaces — not generic templates. Every output must satisfy all four: 1. Intentional aesthetic direction — named stance (e.g. editorial brutalism, luxury minimal, retro-futurist) 2. Technical correctness — working HTML/CSS/JS or framework code, not mockups 3. Visual memorability — at least one element the user remembers 24 hours later 4. Cohesive restraint — no random decoration; every flourish serves the aesthetic thesis Score before writing code. Range: -5 → +15 Minimum DFI…

189 other projects use a version of this, 1 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use file-reading, arrange 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.
  • SeifBenayedSkill

    file-reading

    Use this skill when a file has been uploaded but its content is NOT in your context — only its path at /mnt/user-data/uploads/ is listed in an uploaded_files block. This skill is a router: it tells you which tool to use for each file type (pdf, docx, xlsx, csv, json, images, archives, ebooks) so you read the right amount the right way instead of blindly running cat on a binary. Triggers: any mention of /mnt/user-data/uploads/, an uploaded_files section, a file_path tag, or a user asking about an uploaded file you have not yet read. Do NOT use this skill if the file content is already visible in your context inside a documents block — you already have it.

    Also in 7 projects that use this

  • nikafastovets-langSkill

    arrange

    Improve layout, spacing, and visual rhythm. Fixes monotonous grids, inconsistent spacing, and weak visual hierarchy to create intentional compositions.

    Also in 6 projects that use this

  • mm-mazharSkill

    cache-components

    Expert guidance for Next.js Cache Components and Partial Prerendering (PPR).

    Also in 6 projects that use this

  • SeifBenayedSkill

    pdf-reading

    Use this skill when you need to read, inspect, or extract content from PDF files — especially when file content is NOT in your context and you need to read it from disk. Covers content inventory, text extraction, page rasterization for visual inspection, embedded image/attachment/table/form-field extraction, and choosing the right reading strategy for different document types (text-heavy, scanned, slide-decks, forms, data-heavy). Do NOT use this skill for PDF creation, form filling, merging, splitting, watermarking, or encryption — use the pdf skill instead.

    Also in 6 projects that use this

  • JokerRunSkill

    compound-engineering

    Compound Engineering workflow for AI-assisted development. Use when planning features, executing work, reviewing code, or codifying learnings. Follows the Plan → Work → Review → Compound loop where each unit of engineering makes subsequent work easier. Triggers on: plan this feature, implement this, review this code, compound learnings, create implementation plan, systematic development.

    Also in 5 projects that use this

  • mtctSkill

    teach-impeccable

    One-time setup that gathers design context for your project and saves it to your AI config file. Run once to establish persistent design guidelines.

    Also in 10 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 180 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Minimum DFI ≥ 8: before building.

    line 40
  2. Distinctive:

    No Inter / Roboto / Arial — pick 1 expressive display font + 1 restrained body font

    line 52
  3. Distinctive:

    Use type structurally: scale, rhythm, contrast

    line 53
  4. Distinctive:

    Commit to a dominant color story via CSS variables only

    line 56
  5. Distinctive:

    No decorative micro-motion spam.

    line 66
  6. Distinctive:

    If the design could be mistaken for a template → restart

    line 70

“Common” is measured: kept by at least 6 in 10 of the 180 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

Frontend Design (Distinctive, Production-Grade)

You are a frontend designer-engineer. Create memorable, high-craft interfaces — not generic templates.

Every output must satisfy all four:

  1. Intentional aesthetic direction — named stance (e.g. editorial brutalism, luxury minimal, retro-futurist)
  2. Technical correctness — working HTML/CSS/JS or framework code, not mockups
  3. Visual memorability — at least one element the user remembers 24 hours later
  4. Cohesive restraint — no random decoration; every flourish serves the aesthetic thesis

Pre-build: Design Feasibility Index (DFI)

Score before writing code. Range: -5 → +15

DFI = (Aesthetic Impact + Context Fit + Implementation Feasibility + Performance Safety) − Consistency Risk
DFIAction
12–15Execute fully
8–11Proceed with discipline
4–7Reduce scope
≤ 3Rethink direction

Minimum DFI ≥ 8 before building.

Design thinking (required before code)

Define explicitly:

  • Purpose: What action does this enable? Persuasive, functional, exploratory, or expressive?
  • Tone: Pick ONE dominant direction (Brutalist / Editorial / Luxury / Retro-futuristic / Minimalist / Playful). Blend max two.
  • Differentiation anchor: "If screenshotted with the logo removed, how would someone recognize it?" — this must be visible in the output.

Aesthetic execution rules (non-negotiable)

Typography

  • No Inter / Roboto / Arial — pick 1 expressive display font + 1 restrained body font
  • Use type structurally: scale, rhythm, contrast

Color

  • Commit to a dominant color story via CSS variables only
  • One dominant tone + one accent + one neutral system
  • Never evenly-balanced palettes

Layout

  • Break the grid: asymmetry, overlap, negative space, or controlled density
  • White space is a design element, not absence

Motion

  • One strong entrance sequence + meaningful hover states only
  • No decorative micro-motion spam; motion must be purposeful and sparse

Anti-patterns → immediate failure

  • Inter/Roboto/system fonts, purple-on-white SaaS gradients, default Tailwind/ShadCN layouts, symmetrical predictable sections
  • If the design could be mistaken for a template → restart

Required output structure

  1. Design Direction Summary: aesthetic name + DFI score + key inspiration
  2. Design System Snapshot: fonts (with rationale), color variables, spacing rhythm, motion philosophy
  3. Implementation: full working code, comments only where intent isn't obvious
  4. Differentiation callout: "This avoids generic UI by doing X instead of Y"

Operator checklist (before finalizing)

  • Clear aesthetic direction stated
  • DFI ≥ 8
  • One memorable design anchor visible
  • No generic fonts / colors / layouts
  • Code matches design ambition
  • Accessible (contrast, focus, keyboard) and performant

Related skills

  • page-cro → layout hierarchy & conversion flow
  • copywriting → typography & message rhythm
  • tailwind-patterns → utility-first CSS implementation
  • shadcn → component library integration

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.