agentleFS
JoshBuildAppJoshBuildApp/launchkit/skills/web-frontend/SKILL.md

web-frontend

Skill0 starsChanged 6 months agoMITView on GitHub

Use when writing or reviewing the frontend code of a website — HTML/CSS/JS structure, component architecture, responsive layout, and code quality standards. Triggers: "build the frontend", "code this page/component", "make it responsive", "clean up the frontend code", "what stack should I use", implementing a design in code.

4 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions4 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 4

    1. fmind/dot★ 10same name
    2. lawless-m/claude-skills★ 6same name
    3. vorlaxen-labs/Agent-Skills★ 6same name
    4. yeaboi-ai/yeaboi.ai★ 4same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository7 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 4 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use real elements: <header> <nav> <main> <button> <a>.

    line 17
  2. Distinctive:

    Don't ship huge images or unused JS.

    line 31
  3. Distinctive:

    Avoid layout shift; reserve space for media.

    line 32
  4. Distinctive:

    No dead code, no unused/broken imports — verify a component exists before importing it.

    line 36
  5. Distinctive:

    Run the build before you call it done.

    line 37

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

Web frontend

Turn the design into clean, fast, maintainable code. Principles first — they outlive any framework.

Global default

Stack (flexible, not dogmatic)

  • A solid modern default: a component framework (React/Vue/Svelte) + Vite, styled with utility CSS (Tailwind) or plain modern CSS. For mostly-static sites, a static generator or even hand-written HTML/CSS is fine — don't over-engineer.
  • Pick what the maintainer can maintain. Match the stack to the spec (see web-product-spec), not the trend.

Semantic HTML

  • Use real elements: <header> <nav> <main> <button> <a>. A <div> with a click handler is not a button.
  • One <h1> per page; heading levels in order. This helps SEO and screen readers for free.

Structure

  • Small, single-purpose components. If a file does three things, split it.
  • Separate data fetching from presentation. Keep state close to where it's used.
  • Name things clearly. Match the conventions already in the codebase.

Responsive

  • Mobile-first CSS: base styles for phones, layer up with min-width breakpoints.
  • Fluid layouts (flex/grid), relative units, max-width containers. Test at 320px, 768px, 1280px.
  • Responsive images: correct sizes, srcset, loading="lazy" below the fold, modern formats (WebP/AVIF), set width/height to avoid layout shift.

Performance basics (deeper in v2 web-performance)

  • Don't ship huge images or unused JS. Lazy-load what's offscreen.
  • Avoid layout shift; reserve space for media.

Code quality

  • TypeScript or at least typed props where possible. No any as a habit.
  • No dead code, no unused/broken imports — verify a component exists before importing it.
  • Run the build before you call it done. A green build is the bar.

🇮🇱 Israel

  • RTL in code: set dir="rtl" on <html> (or per-section for mixed content). Prefer CSS logical properties (margin-inline-start, padding-inline-end, inset-inline) over hard left/right so layouts mirror automatically.
  • Load Hebrew-capable fonts (Heebo/Assistant/Rubik) and set lang="he".
  • Wrap LTR runs (phone numbers, English, code) with dir="ltr" / <bdi> so they don't scramble inside Hebrew.
  • For bilingual sites, drive dir and lang off the active locale (see v3 web-i18n-rtl).

🔌 Power-ups (installed skills)

  • frontend-design — high-quality component and page code.
  • mastering-typescript — type-safe patterns, no loose any.
  • mobile-first-responsive — the responsive layout system.
  • react-supabase-patterns + supabase — if the site has auth, a database, or real-time data.
  • Quality gates: test-driven-development, code-review, webapp-testing, systematic-debugging, verification-before-completion.
  • Branch hygiene: mastering-git, finishing-a-development-branch.
  • 🇮🇱 hebrew-tailwind-preset, hebrew-rtl-best-practices, hebrew-i18n, israeli-postgres-toolkit (Hebrew text indexing, ₪, Asia/Jerusalem).

Checklist

  • Stack matches the spec and the maintainer
  • Semantic HTML, one ordered heading structure
  • Small, single-purpose components; clear names
  • Mobile-first responsive, tested at 3+ widths
  • Responsive lazy images with set dimensions (no layout shift)
  • Typed props, no dead/broken imports
  • Build passes
  • (Israel) dir/lang set, logical CSS props, LTR runs wrapped

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.