check-errors
Skill4 starsChanged 6 months agoMITView on GitHub
Drive a flow and fail if any console error or failed network request occurs. Thin wrapper over verify_ui_flow with strict error-only assertions. Use to gate merges on "no regressions during this flow".
In this repository8 other files it gives its agents.
- audit-a11ySkill
- audit-page-budgetSkill
- audit-seoSkill
- discover-flowsSkill
- measure-cwvSkill
- scaffold-e2eSkill
- verify-uiSkill
- visual-diffSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 4 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
Use after /verify-ui confirms the feature works, OR as a fast smoke check before merging.
- Distinctive: line 17
After feature work, to gate "did I introduce a regression somewhere?"
- Distinctive: line 19
After dependency upgrades, to catch a quiet console break.
- Distinctive: line 20
After CSP / CORS / API auth changes — common cause of silent 4xx/5xx.
- Very specific: line 59
When the run is tracing a reported error (debugging context — the user is hunting a bug, not gating a merge), add "phase": "debug" so the …
- Distinctive: line 120
Run artifacts are saved under:
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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
/check-errors
Thin wrapper over verify_ui_flow focused on the question:
Does this flow run cleanly — no console errors, no failed requests?
Use after /verify-ui confirms the feature works, OR as a fast smoke
check before merging.
When to use
- After feature work, to gate "did I introduce a regression somewhere?"
- During PR review, to confirm the happy path doesn't spew errors.
- After dependency upgrades, to catch a quiet console break.
- After CSP / CORS / API auth changes — common cause of silent 4xx/5xx.
When NOT to use
- You want to assert specific UI text — use
/verify-uiinstead. - You only care about visual regression — use
/visual-diff. - You want a11y compliance — use
/audit-a11y. - Backend-only diff with no UI surface.
Inputs
url— entry point.steps(optional) — drive the flow. Same shape as/verify-uisteps.exclude_console_patterns(optional) — substrings; matching console errors are ignored. Useful for third-party SDKs that always log noise (e.g.["facebook.com", "googletagmanager"]).exclude_request_patterns(optional) — same idea for URLs.allow_4xx(optional, default false) — if true, only 5xx counts as a failure. Useful when 4xx is part of the auth happy path.phase(optional) — Extension Protocol phase hint for the emittedmanifest.json. Defaultverify.
Process
Call verify_ui_flow with:
{
"mode": "assert",
"open": { "platform": "web", "url": "<url>" },
"steps": [ ...user-provided... ],
"expect": [
{ "kind": "no_console_errors", "exclude_patterns": [...] },
{ "kind": "no_failed_requests", "exclude_patterns": [...], "allow_4xx": false }
],
"capture": ["screenshot", "console", "har"]
}When the run is tracing a reported error (debugging context — the user
is hunting a bug, not gating a merge), add "phase": "debug" so the
evidence lands with the parent's debug-issue skill instead of the verify
report. For the default merge-gate / smoke use, omit it (defaults to
verify).
Surface the result. On passed: false, point the user at console.json
and network.har in evidence_paths so they can drill in.
Outputs
Same shape as /verify-ui:
passed: booleanfailure_reason— e.g.Expectations failed: expect[0] no_console_errorsevidence_paths.console— JSON dump of console messagesevidence_paths.har— full HAR file
Examples
Smoke check — landing page
User: "Open https://app.example.com and confirm no errors fire."
{
"open": { "platform": "web", "url": "https://app.example.com" },
"steps": [],
"expect": [
{ "kind": "no_console_errors" },
{ "kind": "no_failed_requests" }
],
"capture": ["screenshot", "console", "har"]
}Drive a flow then assert clean
User: "Sign in then dashboard — make sure no console errors."
{
"open": { "platform": "web", "url": "https://app.example.com/login" },
"steps": [
{ "kind": "fill_form", "fields": [
{ "query": "Email", "value": "test@example.com" },
{ "query": "Password", "value": "..." }
]},
{ "kind": "click", "query": "Sign in" },
{ "kind": "wait_for", "condition": { "kind": "url_matches", "pattern": "dashboard" } }
],
"expect": [
{ "kind": "no_console_errors", "exclude_patterns": ["sentry.io"] },
{ "kind": "no_failed_requests", "exclude_patterns": ["/analytics"] }
],
"capture": ["screenshot", "console", "har"]
}Evidence routing
Run artifacts are saved under:
- Standalone:
.rolepod-uiproof/artifacts/<prefix>_<ts>_<uuid>/ - With
rolepodparent (detected via the marker file<git-root>/.rolepod/parent-activewritten by the parent's SessionStart hook):<git-root>/.rolepod/evidence/<ts>-rolepod-uiproof-<skill>/
Either way the run directory contains a manifest.json per Extension Protocol v1. Because /check-errors wraps verify_ui_flow, the manifest is written by the underlying composite tool — same shape, same fields. When invoked with "phase": "debug" the manifest is tagged for the parent's debug-issue pickup instead of check-work's verify report.
If the tool is unavailable
The
/check-errorsskill needs the rolepod-uiproof MCP server, which is not currently available. Confirm the plugin is installed and try again, or check thatnpx -y @rolepod/uiproofis reachable.
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.

