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
- 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
- JoshBuildApp/launchkittheir own version, first seen Jun 1, 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
- yeaboi-ai/yeaboi.ai★ 4same name
- 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.
- AGENTS.mdAGENTS.md
- kill-ai-slopSkill
- globalSkill
- bar-jsSkill
- huk-jsSkill
- kargomucuz-sdkSkill
- web-backendSkill
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
- Distinctive: line 19
Never hallucinate: Do not invent components, hooks, routes, props, endpoints, or styling tokens.
- Distinctive: line 20
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.
- Distinctive: line 34
Required: read existing frontend code and match its patterns before writing anything.
- Distinctive: line 40
Required before creating anything new: search the repo for an existing component, hook, or utility.
- Distinctive: line 50
Required: follow the project's state management.
- Distinctive: line 66
If unsure which states apply: ask.
- Distinctive: line 104
Required: read existing types, schemas, or API calls first.
- Distinctive: line 112
Required: if performance work is needed beyond the task scope, describe it and ask before implementing.
- Distinctive: line 123
If unsure whether a change is in scope: stop and ask.
“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
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
- Never hallucinate. Do not invent components, hooks, routes, props, endpoints, or styling tokens. Read the codebase first.
- 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.
- Do not change the project's frontend stack unless the user explicitly asks.
- 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.
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.

