debug-frontend
Skill16 starsChanged 3 days agoApache-2.0View on GitHub
Debug the Nuxt 3 admin UI using Playwright MCP for visual inspection, console error analysis, and network request tracing. Use when user says 'UI is broken', 'page not loading', 'frontend bug', 'console errors', 'API call failing in UI', 'component not rendering', 'blank page', 'verify my UI changes', or 'check the admin interface'. Do NOT use for static code quality audits (use audit-frontend), backend agent debugging (use debug-agent), or bot platform issues (use bot-framework).
We split this skill into the rules it gives an agent
23 rules. About 0 are common, 7 are distinctive, and 16 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
16
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 21
Use the Playwright MCP browser_navigate tool to open the page.
- Distinctive: line 34
Use these Playwright MCP tools to gather diagnostic information:
- Very specific: line 45
Check browser_network_requests for failed API calls
- Distinctive: line 46
Look at the request URL and response status
- Very specific: line 48
Check if the API server is running (curl http://localhost:8000/api/v1/active/docs)
- Very specific: line 53
Use browser_snapshot to check the DOM structure
- Distinctive: line 54
Look for missing data (composable not returning data)
- Very specific: line 55
Check if StructuralColumn has loading: true (blocks child rendering)
- Very specific: line 59
Check if redirected to /auth/login
- Very specific: line 60
Verify the OIDC plugin is configured: packages/web/plugins/oidc-client.ts
- Very specific: line 61
Check middleware/auth.global.ts for route guard logic
- Very specific: line 66
Look for raw key paths displayed instead of translated text (e.g., agent.title shown literally)
- Very specific: line 67
Check locale files: packages/web/i18n/locales/en.yaml
- Distinctive: line 68
Verify the key exists at the expected path
- Distinctive: line 72
Check Pinia-Colada query keys — mismatched keys prevent cache hits
- Very specific: line 73
Verify enabled flag on queries (must be true or a reactive ref)
- Very specific: line 74
Check if mutation calls queryCache.invalidateQueries() after success
- Very specific: line 75
Use browser_evaluate to inspect Vue component state if needed
- Distinctive: line 79
Use Playwright MCP to interact with the UI:
- Very specific: line 96
Check SDK types: packages/web/sdk/client/
- Distinctive: line 108
After applying the suggested fix, re-run Steps 1-2 to confirm:
- Very specific: line 112
Check browser_console_messages for remaining errors
- Very specific: line 113
Verify browser_network_requests shows successful API calls
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 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
Frontend Debugging Assistant
Debug the Nuxt 3 admin interface visually. Issue description or page URL via $ARGUMENTS.
Prerequisites
The admin UI must be running at http://localhost:3333. If not running:
cd packages/web && pnpm devStep 1: Navigate to the Page
Use the Playwright MCP browser_navigate tool to open the page. Common entry points:
- Dashboard:
http://localhost:3333/en(redirects into the user's tenant; admin pages live under/<locale>/<tenant>/service/...) - Agents:
http://localhost:3333/en/<tenant>/service/agents - Processes:
http://localhost:3333/en/<tenant>/service/processes - Threads:
http://localhost:3333/en/<tenant>/service/threads - Knowledge:
http://localhost:3333/en/<tenant>/service/knowledge - Users:
http://localhost:3333/en/<tenant>/service/users - Roles:
http://localhost:3333/en/<tenant>/service/roles
Step 2: Capture Page State
Use these Playwright MCP tools to gather diagnostic information:
browser_snapshot: Get the accessibility tree (DOM structure, interactive elements)browser_take_screenshot: Visual capture of the current statebrowser_console_messageswithlevel: "error": Check for JavaScript errorsbrowser_network_requests: Inspect API calls (failed requests, wrong payloads)
Step 3: Diagnose Common Issues
API Errors (4xx/5xx)
- Check
browser_network_requestsfor failed API calls - Look at the request URL and response status
- Cross-reference with SDK functions in
packages/web/sdk/client/ - Check if the API server is running (
curl http://localhost:8000/api/v1/active/docs)
Rendering Issues
- Take a screenshot to see the visual state
- Use
browser_snapshotto check the DOM structure - Look for missing data (composable not returning data)
- Check if
StructuralColumnhasloading: true(blocks child rendering)
Auth/Redirect Issues
- Check if redirected to
/auth/login - Verify the OIDC plugin is configured:
packages/web/plugins/oidc-client.ts - Check
middleware/auth.global.tsfor route guard logic - In dev mode, fake auth should bypass OIDC
i18n Missing Keys
- Look for raw key paths displayed instead of translated text (e.g.,
agent.titleshown literally) - Check locale files:
packages/web/i18n/locales/en.yaml - Verify the key exists at the expected path
Component Not Updating
- Check Pinia-Colada query keys — mismatched keys prevent cache hits
- Verify
enabledflag on queries (must betrueor a reactive ref) - Check if mutation calls
queryCache.invalidateQueries()after success - Use
browser_evaluateto inspect Vue component state if needed
Step 4: Interact and Reproduce
Use Playwright MCP to interact with the UI:
browser_click: Click buttons, links, menu itemsbrowser_type: Fill form fieldsbrowser_fill_form: Fill multiple form fields at oncebrowser_select_option: Select dropdown valuesbrowser_press_key: Keyboard shortcuts (Escape, Enter, Tab)
Reproduce the issue step by step and capture screenshots at each stage.
Step 5: Trace to Source Code
Once the issue is identified:
- Find the page component:
packages/web/pages/[tenant]/service/{resource}/ - Find composables:
packages/web/composables/{resource}/ - Find child components:
packages/web/components/{Resource}/ - Check SDK types:
packages/web/sdk/client/
Step 6: Report
Provide a structured report with:
- What was observed: Screenshot + console errors + failed network requests
- Root cause: Which file and line is responsible
- Suggested fix: Specific code change to resolve the issue
Step 7: Verify Fix
After applying the suggested fix, re-run Steps 1-2 to confirm:
- Navigate to the same page with
browser_navigate - Take a new screenshot with
browser_take_screenshot - Check
browser_console_messagesfor remaining errors - Verify
browser_network_requestsshows successful API calls
Examples
/debug-frontend the agents page shows a blank table-- Navigate to agents page, check network requests for API failures, inspect DOM for missing data bindings/debug-frontend console errors on the dashboard-- Open dashboard, capture console errors, trace to source component/debug-frontend verify my changes to the roles page-- Navigate to roles page, take screenshot, check for regressions
Troubleshooting Quick Reference
| Symptom | Likely Cause | Where to Look |
| Blank page | JavaScript error blocking render | browser_console_messages with level "error" |
| Spinner never stops | API call hanging or query enabled flag is false | browser_network_requests + composable enabled prop |
| 401 on API calls | Auth not configured for dev | plugins/oidc-client.ts, check dev mode fake auth |
| Missing translations | i18n key not in locale file | i18n/locales/en.yaml, search for the raw key |
| Stale data after mutation | Missing queryCache.invalidateQueries() | Composable mutation onSuccess callback |
| Component not found | Auto-import name mismatch | Verify component file path matches Nuxt auto-import convention |
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- yerdaulet-damir/vibe-coding-rules★ 10same 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 repository50 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- docs/CLAUDE.mdCLAUDE.md
- .github/actions/CLAUDE.mdCLAUDE.md
- arc42Skill
- audit-frontendSkill
- bot-frameworkSkill
- create-or-audit-claude-mdSkill
- create-or-audit-skillSkill
- create-or-audit-subagentSkill
- create-prSkill
- dagster-pipelinesSkill
- debug-agentSkill
- debug-pipelineSkill
- design-systemSkill
- docker-devSkill
- document-decisionSkill
- document-featureSkill
- explainSkill
- generate-sdkSkill
- i18nSkill
- implement-feedback-from-prSkill
- likec4-dslSkill
- lintSkill
- merge-mainSkill
- nats-eventsSkill
- plan-issueSkill
- pr-demo-videoSkill
- primevue-lookupSkill
- rclone-guideSkill
- reflectSkill
- review-diffSkill
- scaffold-agentSkill
- scaffold-api-endpointSkill
- scaffold-api-repositorySkill
- scaffold-api-serviceSkill
- scaffold-bot-handlerSkill
- scaffold-composableSkill
- scaffold-event-displaySkill
- scaffold-frontend-componentSkill
- scaffold-frontend-pageSkill
- scaffold-frontend-subpageSkill
- scaffold-pipelineSkill
- setup-bot-connectionSkill
- splice-issueSkill
- sync-agent-docsSkill
- test-scopeSkill
- update-docSkill
- verify-sdk-syncSkill
- write-docSkill
- write-issueSkill
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.

