Check my dev in web
Skill OpenSIN-AI/OpenSIN-Skills/operations/browser-automation/check-my-dev-in-web
Fast web-app verification workflow for local dev, preview deployments, and static builds without heavy browser automation. Prioritizes cheap checks first: diagnostics, build, HTTP smoke, asset verification, webhint, and Lighthouse. Escalate to a real browser only when cheaper signals cannot explain the failure.From its SKILL.md
npx -y skills add OpenSIN-AI/OpenSIN-Skills --skill check-my-dev-in-webAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its file declares
Copied from the file, not written here
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
7.8 KB, ~1.8k tokens by cl100k_base, as published. Nobody here has run it
Check My Dev In Web
Cheap signals first. Heavy browser last.
Use this skill when a user wants to know whether a web app, preview deployment, or local build is actually healthy without wasting time on full browser automation too early.
This skill is designed for cases like:
- blank page after deploy
- broken assets or routes
- local preview sanity checks
- "is my dev build actually working?"
- pre-PR web validation
It is not the right tool for:
- anti-bot bypass work
- authenticated E2E business flows
- click-every-button UX audits across a huge app
- stealth browsing or CAPTCHA-heavy automation
In those cases use a browser-heavy skill only after this fast lane is exhausted.
Best-Practice Principles
These are the core practices this skill follows:
-
Build the exact artifact you ship
- Validate production build output, not only the dev server.
- Source: Lighthouse CI / Halodoc guidance emphasizes isolated build validation before merge.
-
Prefer deterministic HTTP and static checks first
- Fetch HTML.
- Verify referenced JS/CSS/image assets return
200. - Check critical routes and SPA rewrites.
- Source: webhint local-server workflow and general static-host debugging practice.
-
Use local-server audits before full browser automation
- Run
webhintagainst a local server for standards, broken links, headers, manifest, viewport, and related web issues. - Source: webhint docs.
- Run
-
Use Lighthouse as a gated quality check, not as your first debugger
- Lighthouse is great for best-practices / performance / accessibility / SEO once the app actually boots.
- Source: Lighthouse CI / Halodoc / Unlighthouse guidance.
-
Escalate to a real browser only when cheap signals cannot explain the failure
- Example: HTML and assets all return
200, but runtime render is still blank. - Then inspect runtime JS errors.
- Example: HTML and assets all return
Validation Ladder
Always execute in this order.
Phase 0 — Repo and runtime basics
- Inspect project state:
git status
git diff --stat
- Detect the stack:
test -f package.json && node -e "const p=require('./package.json'); console.log(JSON.stringify({name:p.name,scripts:p.scripts},null,2))"
- Prefer language-server diagnostics before running anything expensive:
- Use
lsp_diagnosticson the project root or relevant source directory.
Phase 1 — Static quality gates
Run the cheapest project-native checks that exist.
Typical order:
npm run lint
npm run typecheck
npm run build
Rules:
- If a script does not exist, skip it.
- Do not invent replacement scripts.
- If
buildfails, stop here and fix the build before any browser work.
Phase 2 — Local HTTP smoke
Serve the built output or preview server and verify plain HTTP behavior.
For static dist/:
python3 -m http.server 4173 --directory dist
For framework preview:
npm run preview -- --host 127.0.0.1 --port 4173
Then run the smoke script:
python3 "$HOME/.config/opencode/skills/check-my-dev-in-web/scripts/check_my_dev_in_web.py" \
--url http://127.0.0.1:4173 \
--route / \
--route /about
What this proves:
- HTML is reachable
- referenced JS/CSS assets are reachable
- route responses are not tiny error pages
- the preview host is actually serving what the HTML references
Phase 3 — Standards and hinting (webhint)
If the project is publicly reachable locally and Node is available:
npx hint http://127.0.0.1:4173
Use this when you need fast checks for:
- broken links
- missing viewport / manifest / metadata
- header issues
- basic accessibility and best-practices hints
webhint is ideal here because it is faster and more structured than jumping straight into a full browser-debug session.
Phase 4 — Lighthouse / LHCI
Once the page actually boots, use Lighthouse for scored audits.
For static output:
npx @lhci/cli autorun --collect.staticDistDir=./dist
For a running local server:
npx @lhci/cli autorun --collect.url=http://127.0.0.1:4173/
Recommended assertions:
- accessibility >= 0.90
- best-practices >= 0.90
- SEO >= 0.90
- performance threshold depends on app type; do not overfit marketing-site budgets onto dashboards
Phase 5 — Browser escalation (last resort)
Only escalate when all of the following are true:
- HTML is reachable
- assets return
200 - build is green
- yet the app still renders blank or obviously broken
Then inspect runtime errors with the cheapest viable browser/devtools path.
Do not start here.
Fast Decision Rules
If the issue is a blank page
Use this order:
- Build succeeds?
- HTML returns
200? - Referenced JS/CSS assets return
200? - Route fallback works for SPA paths?
- If yes to all and still blank → inspect runtime JS exception.
If the issue is broken routing
Use this order:
- Fetch the domain with
curl -Iandcurl -L - Confirm the HTML title / canonical / app shell belong to the expected project
- Confirm asset hostnames match the expected deployment
- Confirm DNS / host binding / deployment target is the intended project
- Only then inspect router code or rewrite rules
If the issue is "works locally, broken after deploy"
Prefer:
- production build
- local static server from built output
- asset + route smoke
- Lighthouse against the built artifact
- only then compare to live deployment
Anti-Patterns
Never do these first:
- open a heavyweight browser automation session just to see whether
/assets/*.jsreturns200 - click around manually before verifying build output and route rewrites
- run Lighthouse before the app can even mount
- debug routing before checking whether the domain is bound to the wrong deployment
- assume a runtime crash is a network issue without checking the JS exception
Minimal Command Pack
These commands cover most cases fast.
1. Build
npm run build
2. Serve built output
python3 -m http.server 4173 --directory dist
3. Smoke-check HTML + assets + routes
python3 "$HOME/.config/opencode/skills/check-my-dev-in-web/scripts/check_my_dev_in_web.py" \
--url http://127.0.0.1:4173 \
--route / \
--route /pricing \
--route /docs
4. webhint
npx hint http://127.0.0.1:4173
5. Lighthouse
npx @lhci/cli autorun --collect.url=http://127.0.0.1:4173/
Output Format
When using this skill, report results in this structure:
## check-my-dev-in-web result
### Phase 1 — Build
- PASS/FAIL
- command:
- key output:
### Phase 2 — HTTP smoke
- PASS/WARN/FAIL
- HTML status:
- assets checked:
- broken assets:
- routes checked:
### Phase 3 — webhint
- PASS/WARN/FAIL
- top findings:
### Phase 4 — Lighthouse
- PASS/WARN/FAIL
- performance:
- accessibility:
- best-practices:
- seo:
### Escalation
- was browser debugging needed?
- if yes, why cheaper checks were insufficient
### Verdict
- READY / NOT READY / NEEDS FIXES
References
- webhint local-server integration: https://webhint.io/docs/user-guide/development-flow-integration/local-server/
- Lighthouse CI GitHub Actions guide: https://unlighthouse.dev/learn-lighthouse/lighthouse-ci/github-actions
- Halodoc: automated Lighthouse checks in CI/CD: https://blogs.halodoc.io/automating-web-performance-testing-ci-cd-lighthouse/
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.