agentleFS
fmindfmind/dot/skills/web-frontend/SKILL.md

web-frontend

Skill10 starsChanged 56 days agoMITView on GitHub

Build browser UIs with HTML, CSS, JavaScript, and Tailwind.

4 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 2

    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. Distinctive:

    Retrieve guidance: search curated web platform recipes, then fetch a guide's implementation details and browser baselines by identifier:

    line 19
  2. Distinctive:

    Verify baseline compatibility: Check baseline availability and browser support before adopting newly standardized APIs.

    line 25
  3. Very specific:

    Compile Tailwind: use the standalone Tailwind workflow when the project selects Tailwind.

    line 26

“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

Build browser interfaces with native HTML, CSS, and JavaScript. Preserve an existing frontend stack and use Tailwind when the project selects it. python-web owns server applications, including server rendering, APIs, and application tests through litestar or django; product-design-review owns interface critique, and playwright owns browser automation.

Workflow

  1. Retrieve guidance: search curated web platform recipes, then fetch a guide's implementation details and browser baselines by identifier:
    npx --yes modern-web-guidance@0.0.190 search "<topic or api>"
    npx --yes modern-web-guidance@0.0.190 retrieve "<guide-id>"
  2. Prefer web platform primitives: Prioritize native elements (<dialog>, <details>, popover API, subgrid, container queries, CSS nesting) over third-party component libraries or custom script wrappers.
  3. Verify baseline compatibility: Check baseline availability and browser support before adopting newly standardized APIs; fall back progressively without blocking core experiences.
  4. Compile Tailwind: use the standalone Tailwind workflow when the project selects Tailwind; preserve an existing asset pipeline. tailwindcss owns CSS compilation, while npx runs only the guidance CLI above.
  5. Audit with DevTools: Validate rendering, performance, and accessibility against live browser sessions using chrome-devtools and quality-assurance.

Gotchas

  • Verify preview guidance against MDN: Modern Web Guidance is an evolving catalog; always verify API signatures and baseline status against authoritative MDN documentation.
  • Bump both pins together: both commands share one review pin; bump them together only to the latest stable release past npm's min-release-age cooldown, after qualifying it, and never disable that policy to pass a freshness check.
  • Manage focus for top-layer elements: Native dialogs, popovers, and top-layer elements require careful focus and accessibility management; verify keyboard navigation.

Official Skills

Upstream: GoogleChrome/modern-web-guidance; follow the shared vendor-skill policy and select the relevant platform guidance.

Documentation

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.