verified-frontend
Skill68 starsChanged 5 months agoMITView on GitHub
Helps an agent and human turn Chip Huyen's verified frontend pattern into a local skill matched to their browser tools, development environments, visual standards, and evidence workflow. Use when setting up or adapting visual verification for frontend changes.
In this repository27 other files it gives its agents.
- 8-bit-video-genSkill
- anki-connectSkill
- explainSkill
- formatting-notion-pagesSkill
- github-replySkill
- goal-rider-authorSkill
- here-nowSkill
- hermes-workflows-creatingSkill
- high-signal-chart-workflowSkill
- impeccableSkill
- loreSkill
- magazine-explainerSkill
- marimo-pairSkill
- mutation-testingSkill
- pre-mortemSkill
- project-planningSkill
- prompt-refinementSkill
- remotion-videoSkill
- researchSkill
- resend-emailSkill
- ship-itSkill
- thread-postmortemSkill
- try-exceptSkill
- wikipedia-discoverySkill
- writing-revisionSkill
- writing-styleSkill
- youtube-watch-later-gist-summariesSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 9 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
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 23
Do not turn this into a generic questionnaire.
- Distinctive: line 27
If the browser mechanism changes by environment, encode that choice in a script or configuration the project can run reliably.
- Distinctive: line 36
Keep credentials, machine-specific paths, and private URLs out of the skill.
- Distinctive: line 42
Run the application in the appropriate environment.
- Distinctive: line 48
Run the project's normal code, test, and accessibility checks.
- Distinctive: line 50
Never report a page as visually verified when no browser inspection occurred.
- Distinctive: line 56
Do not use a screenshot as proof of behavior the image cannot show.
- Distinctive: line 60
Create the project-specific skill with the human's chosen name and location.
- Distinctive: line 70
Run the local skill on one small frontend change.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Build a local verified frontend skill
This is the shape of a skill, not Chip Huyen's original skill and not a universal set of commands. Work with the human to build the version that fits their project. Do not pretend the example decisions below are already true in their environment.
Start with the project
Inspect the repository before asking questions. Find the frontend framework, start command, local URL, existing browser or end-to-end test tools, CI setup, contribution guidance, and any visual or accessibility standards already recorded.
Bring the human concrete findings and ask only for the decisions the repository cannot answer:
- Which interfaces, routes, and states need visual verification?
- Which environments do they use, such as a desktop agent, terminal, remote runner, or CI?
- Which browser tool should the agent use in each environment?
- Which viewport sizes or breakpoints matter?
- What should the agent look for beyond obvious breakage?
- Which screenshots should be returned, and where should they go?
Do not turn this into a generic questionnaire. Build the first version around one real frontend change and refine it with the human.
Make environment selection deterministic
If the browser mechanism changes by environment, encode that choice in a script or configuration the project can run reliably. Do not make every agent infer the environment from prose on every task.
The local version should name:
- How to identify each supported environment.
- How to start or connect to the application.
- How to open and control a browser there.
- What to do when the required browser is unavailable.
Keep credentials, machine-specific paths, and private URLs out of the skill.
Define the verification loop
For every task that changes a user-facing interface:
- Run the application in the appropriate environment.
- Open each affected route and state at the required viewports.
- Inspect the rendered result, including layout, spacing, type, color, overflow, clipping, loading, empty, error, and interactive states that the change affects.
- Fix visible problems in the implementation.
- Render and inspect the page again after each material fix.
- Capture the evidence agreed with the human.
- Run the project's normal code, test, and accessibility checks.
Never report a page as visually verified when no browser inspection occurred. If the page cannot be opened or a required state cannot be reached, report that plainly.
Define the evidence
Agree on an evidence format that makes review quicker. For each screenshot, record the route or state, viewport, and what changed. Use before-and-after images only when the comparison helps the reviewer. Attach or link the evidence where the human already reviews work, such as a pull request.
Do not use a screenshot as proof of behavior the image cannot show. Interactive behavior still needs an appropriate browser check or test.
Write and test the local skill
Create the project-specific skill with the human's chosen name and location. It should contain:
- The trigger for frontend work.
- The exact setup and browser commands.
- Deterministic environment selection.
- The routes, states, and viewports to inspect.
- The project's visual and accessibility checks.
- The required evidence and where to put it.
- Clear stop conditions when verification is blocked.
Run the local skill on one small frontend change. Show the human the rendered result and evidence, ask what was missing or unnecessary, then revise the skill. The finished local skill should describe what the project actually supports, not what this shape happened to suggest.
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.

