willyu1007/template-skill-addon/fix-frontend-runtime-errors

Claude Code and agent skill by willyu1007/template-skill-addon

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Fix frontend runtime errors (console exceptions, blank screens) by capturing repro steps and diagnostics, applying a minimal targeted fix, and verifying user-visible behavior.

Install

npx vskill@latest install willyu1007/template-skill-addon/fix-frontend-runtime-errors

SKILL.md

The same SKILL.md was published earlier as willyu1007/template-skill-basic/fix-frontend-runtime-errors.

Fix Frontend Runtime Errors

Purpose

Resolve frontend runtime errors (console exceptions, blank screens, broken interactions) with a structured triage and evidence-backed verification.

When to use

Use this skill when:

  • The UI shows a runtime exception in the console
  • A page renders blank or crashes after navigation
  • A runtime error occurs after a data/backend change
  • Async errors are not handled gracefully (unhandled rejections)

Inputs

  • Error message + stack trace (copy/paste)
  • Steps to reproduce (route, clicks, input values)
  • Environment details (browser, build, feature flags)
  • Relevant network logs (redact secrets)

Outputs

  • Root cause analysis (where and why)
  • Minimal code fix (and optional improvement suggestions)
  • Verification evidence (what was tested and expected outcomes)

Steps

  1. Reproduce reliably
  • Confirm the reproduction steps and the exact error.
  1. Capture diagnostics
  • console error + stack trace
  • failing network request(s) and response shape
  • relevant UI state at time of failure
  • Use the bug report capture template to keep the evidence structured.
  1. Classify the failure mode
  • rendering error (null/undefined access)
  • data contract mismatch (backend response changed)
  • routing error (missing params)
  • async error handling (promise rejection)
  • environment/build mismatch (stale assets)
  1. Apply a minimal fix
  • add guards and safe defaults where appropriate
  • correct data mapping at boundaries (normalize inputs)
  • ensure error UI (error boundary or safe fallback) where needed
  • avoid “catch and ignore” patterns
  1. Verify
  • reproduction steps no longer fail
  • related flows still work
  • loading/error states render correctly
  • no new console errors introduced
  1. Regression prevention (recommended)
  • add a test (unit/integration/e2e) or a contract assertion near the boundary

Verification

  • [ ] Reproduction steps no longer produce the error
  • [ ] Root cause explains the stack trace and observed state
  • [ ] Fix is minimal and targeted (no unrelated refactors)
  • [ ] Related flows still work correctly
  • [ ] Loading states render appropriately
  • [ ] Error states render with user-safe messages
  • [ ] No new console errors introduced

Boundaries

  • MUST NOT swallow errors without visibility (log/track unexpected failures)
  • MUST NOT expose raw error details to end users
  • MUST NOT record secrets/tokens in bug evidence
  • SHOULD NOT guess at root cause without capturing diagnostics
  • SHOULD prefer user-safe error UI plus logging/tracking for unexpected failures

Included assets

  • Templates: ./templates/bug-report-template.md is a bug report capture format.
  • Examples: ./examples/ includes a null/undefined access regression walkthrough.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/willyu1007/template-skill-addon/fix-frontend-runtime-errors/badge)](https://verified-skill.com/skills/willyu1007/template-skill-addon/fix-frontend-runtime-errors)

Something wrong with this skill or its page? Tell us.