agentleFS
vorlaxen-labsvorlaxen-labs/Agent-Skills/skills/web/frontend/SKILL.md

web-frontend

Skill6 starsChanged 3 months agoMITView on GitHub

Frontend decision boundaries. Constrain decisions, not implementations. Use for web UI components, pages, forms, client-side state, and frontend 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. yeaboi-ai/yeaboi.ai★ 4same name
    4. JoshBuildApp/launchkit★ 0same 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

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

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 9

    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:

    Never hallucinate: Do not invent components, hooks, routes, props, endpoints, or styling tokens.

    line 19
  2. Distinctive:

    Match risk to action: Stop and ask for API contracts, state shape, or auth — not for UI placement when the project already has a pattern.

    line 20
  3. Distinctive:

    Required: read existing frontend code and match its patterns before writing anything.

    line 34
  4. Distinctive:

    Required before creating anything new: search the repo for an existing component, hook, or utility.

    line 40
  5. Distinctive:

    Required: follow the project's state management.

    line 50
  6. Distinctive:

    If unsure which states apply: ask.

    line 66
  7. Distinctive:

    Required: read existing types, schemas, or API calls first.

    line 104
  8. Distinctive:

    Required: if performance work is needed beyond the task scope, describe it and ask before implementing.

    line 112
  9. Distinctive:

    If unsure whether a change is in scope: stop and ask.

    line 123

“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

Core Principle

Constrain decisions, not implementations.

These rules add frontend decision boundaries on top of global standards.

They do not prescribe components, hooks, state libraries, or styling approaches. Follow the project.


Hard Rules — Read First

  1. Never hallucinate. Do not invent components, hooks, routes, props, endpoints, or styling tokens. Read the codebase first.
  2. Match risk to action. Stop and ask for API contracts, state shape, or auth — not for UI placement when the project already has a pattern. Read first, then proceed or ask.
  3. Do not change the project's frontend stack unless the user explicitly asks.
  4. These rules constrain decisions only. Implementation style comes from the existing codebase.

Decision: Stack & Patterns

Forbidden without explicit user request:

  • Introducing a new framework, UI library, or styling system
  • Introducing a second state management system
  • Introducing a second validation or data-fetching approach

Required: read existing frontend code and match its patterns before writing anything.


Decision: Reuse vs Create

Required before creating anything new: search the repo for an existing component, hook, or utility.

Forbidden: duplicating something that already exists in the project.


Decision: State Ownership

Forbidden: adding global state for data that belongs to a single component or page.

Required: follow the project's state management. If unknown, read existing components first.


Decision: User-Facing Async Features

Required outcome: the user must never be left without feedback.

For async user-facing features, you must account for:

  • In-progress state
  • Failure state
  • Empty state (when applicable)

Not your decision: how loading spinners, skeletons, or error UI look — follow the project.

If unsure which states apply: ask.


Decision: Forms

Required outcomes:

  • Input is validated before submission
  • Errors are visible to the user
  • Duplicate submission is prevented during in-flight requests
  • User input is preserved on validation failure

Not your decision: which validation library or form pattern to use — follow the project.

If validation approach is unknown: find it in the codebase before writing.


Decision: Accessibility

Required outcome: user-facing UI must be accessible.

Forbidden: shipping interactive UI that is keyboard-inaccessible or lacks proper labels/semantics.

Not your decision: specific ARIA patterns or component structure — follow the project and web standards.


Decision: API Integration

Required outcomes:

  • Network failures show user-visible feedback
  • Raw API errors are not shown to users

Forbidden: inventing API endpoints or response shapes.

Required: read existing types, schemas, or API calls first.


Decision: Performance Optimizations

Forbidden without clear need: adding memoization, virtualization, pagination, or debouncing.

Required: if performance work is needed beyond the task scope, describe it and ask before implementing.


Decision: Scope

Forbidden without approval:

  • Refactoring unrelated components
  • Migrating the frontend to a new pattern or stack

If unsure whether a change is in scope: stop and ask.

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.