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
- fmind/dottheir own version, first seen Oct 5, 2026
- lawless-m/claude-skillstheir own version, first seen Oct 4, 2026
- yeaboi-ai/yeaboi.aitheir own version, first seen Sep 20, 2026
- vorlaxen-labs/Agent-Skillstheir own version, first seen Sep 2, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- fmind/dot★ 10same name
- lawless-m/claude-skills★ 6same name
- vorlaxen-labs/Agent-Skills★ 6same name
- 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.
- launchkitSkill
- web-accessibilitySkill
- web-designSkill
- web-legalSkill
- web-product-specSkill
- web-seoSkill
- web-ui-uxSkill
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
- Very specific: line 17
Use real elements: <header> <nav> <main> <button> <a>.
- Distinctive: line 31
Don't ship huge images or unused JS.
- Distinctive: line 32
Avoid layout shift; reserve space for media.
- Distinctive: line 36
No dead code, no unused/broken imports — verify a component exists before importing it.
- Distinctive: line 37
Run the build before you call it done.
“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.
Files
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-widthbreakpoints. - Fluid layouts (flex/grid), relative units,
max-widthcontainers. 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
anyas 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 hardleft/rightso 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
dirandlangoff the active locale (see v3web-i18n-rtl).
🔌 Power-ups (installed skills)
frontend-design— high-quality component and page code.mastering-typescript— type-safe patterns, no looseany.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/langset, logical CSS props, LTR runs wrapped
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
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.

