agent-rules-skill-auth…
Maintain WebDev Agent Kit source rules, skills, metadata, and validators. Excludes upgrading installed copies.
Diagnose and fix frontend defects from evidence, including unclear UI/runtime errors, broken routes, styling regressions, and hydration or client issues. Reproduce before editing; exclude planned refactors and backend-only debugging.
$ npx -y skills add ytvee-dev/webdev-agent-kit --skill frontend-bugfix-debugger --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/frontend-bugfix-debuggerContext preview
The summary Claude sees to decide when to auto-load this skill.
Diagnose and fix frontend defects from evidence, including unclear UI/runtime errors, broken routes, styling regressions, and hydration or client issues. Reproduce before editing; exclude planned refactors and backend-only debugging.
name: frontend-bugfix-debugger
description: 'Diagnose and fix frontend defects from evidence, including unclear UI/runtime errors, broken routes, styling regressions, and hydration or client issues. Reproduce before editing; exclude planned refactors and backend-only debugging.'
id: 'agents.skills.frontend-bugfix-debugger.skill'
title: 'Frontend Bugfix Debugger'
doc_type: 'skill'
layer: 'skill'
status: 'active'
publishable: true
local_only: false
skill: 'frontend-bugfix-debugger'
tags:
- 'agents/skill-package'
- 'frontend/debugging'
- 'workflow/bugfix'
parent:
- '[[AGENTS|Canonical Agent Policy]]'
related:
- '[[common/debugging-evidence-rules|Debugging Evidence Rules]]'
- '[[common/agent-loop-policy|Agent Loop Policy]]'
- '[[common/bounded-retry-rules|Bounded Retry Rules]]'
- '[[common/verification-loop-rules|Verification Loop Rules]]'
- '[[common/typescript-discipline|TypeScript Discipline]]'
- '[[common/lightweight-routing-policy|Lightweight Routing Policy]]'
- '[[skills/frontend-linter-manager/SKILL|Frontend Linter Manager]]'
- '[[skills/frontend-visual-qa/SKILL|Frontend Visual QA]]'
- '[[skills/frontend-quality-reviewer/SKILL|Frontend Quality Reviewer]]'
depends_on:
- '[[AGENTS|Canonical Agent Policy]]'Fix frontend defects from symptoms and evidence while keeping the change small. When verification fails and repair is in scope, use a bounded retry loop instead of guessing repeatedly.
This skill must not turn a one-component presentation defect into a broad debugging, planning, visual QA, or full-repository verification workflow.
Use this skill when the user asks to fix a frontend runtime, console, hydration, routing, rendering, interaction, styling, responsive, TypeScript, or build defect that needs evidence.
Use the Micro UI Fix Fast Lane from `common/lightweight-routing-policy.md` when the defect is an isolated presentation issue that stays within the micro UI hard limits.
Do not use this skill for planned refactors, broad quality review, visual QA only, design intake, greenfield planning, backend-only debugging, package installation, or test creation.
If the task is a behavior-preserving refactor, use `frontend-refactor-surgeon`. If the user asks only for review, use `frontend-quality-reviewer`.
If the user only asks for options or an approach, answer with options first and do not edit files until implementation is requested or approved.
1. Read `AGENTS.md`. 2. Read `common/prompt-intent-routing-rules.md` when workflow level is unclear. 3. Read `common/lightweight-routing-policy.md` for micro UI fixes or other narrow code-changing tasks. 4. Read `common/debugging-evidence-rules.md` unless the defect is already explained by a narrow source inspection. 5. Read `common/agent-loop-policy.md`, `common/bounded-retry-rules.md`, and `common/verification-loop-rules.md` only when the user asks to continue until verification passes, repeated failure appears, or bounded retry is needed. 6. Read `common/typescript-discipline.md` for non-trivial TypeScript work. 7. Read relevant project overlays, especially `project/verification-profile.md` and path indexes, only when the task needs repository-specific verification commands or path facts. 8. Read the error, log, route, component, styles, or source files needed for the active bug hypothesis.
For a micro UI fix, default to the context budget in `common/lightweight-routing-policy.md`: owner component, adjacent styles, `package.json` only when dependency presence matters, config only after command failure, and no broad project scans.
For a micro UI fix:
1. Classify workflow level and keep one clear bug lightweight. 2. If the user asked for options or approach, answer first and stop before editing until implementation is requested or approved. 3. Determine whether the task qualifies for Micro UI Fix Fast Lane. 4. Record the symptom, reproduction path when available, and current evidence. 5. Form one bug hypothesis and inspect only files relevant to it. 6. Fix the smallest cause that explains the evidence. 7. Preserve existing project conventions, state ownership, accessibility, and TypeScript strictness. 8. Run the same failing command, interaction, route check, or visual check when possible. 9. If verification fails and the failure is related to the current change, apply `common/bounded-retry-rules.md`: record the failed attempt, identify the likely cause, change hypothesis or implementation strategy, avoid repeating the same patch, and retry only within the attempt limit. 10. If verification fails for likely pre-existing or unrelated reasons, document it separately and do not expand scope without approval. 11. Use `frontend-linter-manager` after code-c
A cross-platform frontend kit for Codex, Claude Code, Cursor, OpenCode, etc. It helps AI coding agents work predictably and safely with existing frontend projects.
Repo: ytvee-dev/webdev-agent-kit
Maintain WebDev Agent Kit source rules, skills, metadata, and validators. Excludes upgrading installed copies.
Inspect Figma links through MCP or browser computer use, or analyze screenshots and selected-layer properties. Produce frontend specs and clarify unresolved…
Create, resume, analyze, or converge standard and deep frontend execution plans with traceable slices, evidence, and stop/resume state. Skip lightweight…
Plan architecture and ownership for standard or deep React/Next.js work across routing, state, data, styling, forms, builds, migrations, and implementation…
Set subject-grounded visual direction for standard or deep UI work, redesign, polish, critique, anti-template review, or design handoff. Skip technical…
Review inspected designs or briefs for product-flow gaps and ask evidence-based user questions. Ground UI direction in audience, patterns, and UX risks;…