agentleFS
ariaxhanariaxhan/kernel-claude/skills/frontend/SKILL.md

frontend

Skill13 starsChanged 4 months agoMITView on GitHub

Context-led frontend design: art direction derived from product, audience, brand and the existing system, not generic defaults. Named mood variants listed inside. Triggers: frontend, UI, CSS, styling, visual, theme, component, layout, responsive, accessibility, animation.

37 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use backend, programming and 7 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.
  • xiaobei930Skill

    backend

    Backend development patterns for services, error handling, logging, caching. Use when building backend services, APIs, or microservices.

    Also in 10 projects that use this

  • Xia-AtaraxiaSkill

    programming

    Guides correctness-first, type-strict Python and TypeScript implementation. Use when asked to write a `.py` or `.ts` file, scaffold a Python/TypeScript project, add strict types, assess an implementation diff for correctness or type holes, or fix a reproducible defect. Not for smell-only assessment or behavior-preserving restructuring — use refactor; not for suite-level test architecture — use testing.

    Also in 3 projects that use this

  • iankikuSkill

    data

    (forwward) Designs analytics systems, writes SQL queries, plans event tracking, and builds dashboards for product and user metrics. Triggers on SQL, analytics, dashboards, tracking, data pipelines, or user behavior analysis.

    Also in 3 projects that use this

  • 0xSeroSkill

    security

    Also in 7 projects that use this

  • xiaobei930Skill

    database

    Database design, query optimization, migrations, and indexing. Use when designing schemas, writing queries, or managing migrations.

    Also in 3 projects that use this

  • mrgoonieSkill

    devops

    Deploy to Cloudflare (Workers, R2, D1), Docker, GCP (Cloud Run, GKE), Kubernetes (kubectl, Helm). Use for serverless, containers, CI/CD, GitOps, security audit.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

9 rules. 0 are common, 7 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 29 edited versions we read keep these.

  • 7

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before styling, recover the evidence already present in the task and repository:

    line 21
  2. Distinctive:

    Write a tiny direction before implementation:

    line 36
  3. Distinctive:

    No choice is universally premium.

    line 43
  4. Distinctive:

    When the brief is open and distinctiveness matters, run a small tournament: generate 2-3 divergent interpretations of the same mood x …

    line 70
  5. Distinctive:

    Use the smallest structure the product needs.

    line 91
  6. Distinctive:

    Before finishing, name the most dominant visual decision and ask:

    line 102
  7. Distinctive:

    Do visual QA on rendered output, not source alone.

    line 115
  8. Very specific:

    Read skills/frontend/reference/design-research.md when deeper rationale is useful.

    line 124
  9. Very specific:

    Read skills/frontend/reference/component-sources.md before pulling any third-party animated component or effect: it lists vetted …

    line 125

“Common” is measured: kept by at least 6 in 10 of the 29 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
<skill id="frontend"><purpose> Make interfaces feel intentional because their visual choices fit the actual product. Distinctiveness is not a pile of effects. It is a coherent point of view with fewer unexamined defaults. </purpose><context-fit> Before styling, recover the evidence already present in the task and repository:
  1. Product: what the interface does and which action matters most.
  2. Audience and use context: device, environment, familiarity, urgency, accessibility needs.
  3. Brand: existing tokens, logo, type, imagery, voice, screenshots, and reference qualities.
  4. Content: real density, length, hierarchy, empty/error/loading states, and localization risk.
  5. Technical constraints: current stack, component library, performance budget, supported browsers.

Preserve and extend the existing design system when one exists. Do not replace a coherent brand because a variant or personal preference is louder. If the evidence is incomplete, make the smallest reversible assumption and state it; ask only when the answer changes the product direction. </context-fit>

<art-direction> Write a tiny direction before implementation:
  • desired feeling in 2-3 plain words;
  • one dominant visual idea;
  • typography, color, layout, imagery, and motion choices tied to evidence;
  • 2-3 defaults to avoid for this specific project.

No choice is universally premium. A system font can be correct for speed or platform familiarity. Symmetry can communicate calm. Flat color can be the strongest choice. Huge type, gradients, glass, noise, asymmetry, and animation are tools—not proof of taste. </art-direction>

<variants> Optional lenses: abyss, spatial, verdant, substrate, ember, arctic, void, patina, signal. Load `variants/{name}.md` when the user names one or when exploration genuinely benefits. Variants describe mood, never mandatory components, fonts, palettes, effects, or layouts. </variants><motion-languages> Optional motion lenses, orthogonal to mood variants: kinetic-type, haunted-machine, cursor-field, real-weight, one-surface, liquid-material, held-breath, grand-tour. Load `motion/{name}.md` when the user names one, when animation is central to the ask, or when exploration genuinely benefits. A motion language defines how the page moves — its dominant idea, signature move families, prohibitions, and reduced-motion degrade — never specific components, libraries, durations, or easing values.

Compose freely: any mood x any motion language, either alone, or neither. Context-fit always wins over any lens; a lens bends to the content, never the reverse. Each language's prohibition list is binding while that language is active — bans differentiate more than moves do. All languages inherit the reduced-motion hard bar: every design must survive with its motion stripped. </motion-languages>

<exploration> When the brief is open and distinctiveness matters, run a small tournament: generate 2-3 divergent interpretations of the same mood x motion pick (or different picks), compare rendered results, fork the winner. A lens is a direction vector, not a template — two runs of the same pick on different products should rhyme, never match. </exploration><hard-bars> - Hierarchy: the primary action and reading order are obvious without explanation. - Responsive: content fits and remains usable at the project breakpoints; touch targets are at least 44px where touch is expected. - Accessible: semantic structure, keyboard operation, visible focus, useful labels/alt text, AA contrast, reduced-motion support, and no meaning encoded by color alone. - Content-real: test realistic long/short copy plus empty, error, loading, and disabled states when the interface has them. - Performance: avoid decorative weight that delays the main content; size images, subset or avoid webfonts, and use JavaScript only for behavior that needs it. - System-fit: reuse the repository's components, tokens, naming, and state patterns unless the task explicitly includes changing the system. </hard-bars><implementation> Use the smallest structure the product needs. Reusable components should follow the existing stack; a one-off static section does not need a component framework. Centralize repeated visual decisions in tokens. Prefer CSS for presentation, semantic HTML for structure, and progressive enhancement for interaction.

Motion must explain change, guide attention, or provide feedback. If it does none of those, remove it. Decorative texture, depth, and unusual composition need the same justification. </implementation>

<anti-convergence> Generic output usually comes from an unexamined default, not from a forbidden ingredient. Before finishing, name the most dominant visual decision and ask:
  1. What evidence caused this choice?
  2. Is it inherited from the product, or copied from recent model habits?
  3. Would removing it make the interface clearer or more specific?

Common warning signs—not automatic bans—include purple gradient startup pages, identical rounded cards, default component-library styling, ornamental dashboards, centered-everything layouts, decorative blobs, fake testimonials, and a fashionable font with no brand reason. Change a warning sign when it is unexamined; keep it when the context earns it. </anti-convergence>

<verification> Do visual QA on rendered output, not source alone. Inspect screenshots at the task's target sizes (for a general web page, start with 375, 768, and 1440 widths), then exercise keyboard, focus, hover/touch, overflow, and reduced motion. While tabbing, check that sticky headers, footers, and overlays never completely hide the focused control (WCAG 2.2 SC 2.4.11 AA). Fix the largest hierarchy or usability problem first and re-check. Never claim visual completion without seeing the rendered result. </verification><reference> Read `skills/frontend/reference/design-research.md` when deeper rationale is useful. Read `skills/frontend/reference/component-sources.md` before pulling any third-party animated component or effect: it lists vetted open-source libraries, per-library licenses, a do-not-use ledger, and the binding rule — pull the primitive, restyle it to the active direction, never ship it stock. </reference>

<on_complete> Report the art direction, evidence behind the dominant choices, sizes/states visually checked, and any accessibility or performance bar not verified. </on_complete>

</skill>

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.