web
Skill221 starsChanged 6 days agoMITView on GitHub
Rules for working on the web components in packages/web, so far that their tests must pass in Chromium, Firefox and WebKit. Use when changing or adding anything under packages/web, or when a test there fails in one browser only.
13 other projects use a version of this.
Adopted by
Most recently taken up by
- G4bar/web-clitheir own version, first seen Nov 15, 2026
- tyler-berggren/tb-claude-kittheir own version, first seen Nov 12, 2026
- MysterionRise/ctf-kittheir own version, first seen Oct 13, 2026
- arch3rPro/ark-spacetheir own version, first seen Oct 11, 2026
- kjsa7412/claude_code_newslettertheir own version, first seen Oct 9, 2026
- jircdev/crew-plugintheir own version, first seen Oct 8, 2026
Other versions13 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 13
- MysterionRise/ctf-kit★ 12same name
- Agents4Academia-AI/UReKA★ 9same name
- LocalKinAI/kinclaw★ 9same name
- Shad0wMazt3r/The-Scaffolding★ 3same name
- jircdev/crew-plugin★ 2same name
- tyler-berggren/tb-claude-kit★ 2same name
- arch3rPro/ark-space★ 1same name
- Boxline-dev/examples★ 1same name
- kjsa7412/claude_code_newsletter★ 1same name
- toannhu96/korean-interview-coach-skill★ 1same name
3 more not listed
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 repository4 other files it gives its agents.
- cli-generated-filesSkill
- designsystemetSkill
- figmaSkill
- www-contentSkill
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 12 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
- Distinctive: line 11
Before pushing, run the tests for what you changed in all three browsers, so a failure in one browser is not first found in CI.
- Very specific: line 12
Don't call a change tested in all three browsers from a local Chromium run.
- Distinctive: line 14
Don't make a test pass by skipping a browser or loosening what it checks.
“Common” is measured: kept by at least 6 in 10 of the 12 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
Working on the web components (packages/web)
Tests must pass in all three browsers
- A change is done when the test check on the pull request is green. It runs every test in Chromium, Firefox and WebKit; WebKit is how we test Safari.
- Before pushing, run the tests for what you changed in all three browsers, so a failure in one browser is not first found in CI. You don't need to run the whole suite locally.
- Don't call a change tested in all three browsers from a local Chromium run. Say what you ran, and check the result of the check with
gh pr checks. packages/web/vitest.config.tsruns every test five times: in the three browsers (thePlaywrightproject), and inJSDOMandHappy DOM. CI runs all of them and fails if one does; see.github/workflows/test.yml.- Don't make a test pass by skipping a browser or loosening what it checks. If the browsers behave differently, the component must handle it, or the difference is a bug to report.
Running them locally
pnpm test:web --run <name>runs the test files whose path has<name>, e.g.popover. Without a name it runs everything; without--runit watches.- The browsers must be installed first:
pnpm exec playwright install chromium firefox webkit. - Each Playwright version needs its own browser builds. If a run fails with "Executable doesn't exist", Playwright has been updated: run the install again. It is not a failing test.
- For one browser:
pnpm test:web --run --project Playwright --browser=firefox.
Tests that need a real browser
- JSDOM and Happy DOM lack things like layout, focus handling and popovers. A test that needs them is marked so it only runs in the browsers:
- a whole file is named
<name>.browser.test.ts - a single test gets
tags: ['browser']
- a whole file is named
- Mark only what needs it. A test that can run in JSDOM and Happy DOM should, as they are much faster.
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.

