From frontend-craft
Provides an evidence-driven framework for diagnosing frontend build failures, runtime errors, UI anomalies, and API/data problems. Guides through classification, evidence collection, hypothesis, verification, and fix validation.
How this skill is triggered — by the user, by Claude, or both
Slash command
/frontend-craft:fec-debug-frameworkThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use an evidence-driven triage, collection, hypothesis, verification, and remediation process to locate front-end faults and avoid relying on intuition to expand the scope of changes.
Use an evidence-driven triage, collection, hypothesis, verification, and remediation process to locate front-end faults and avoid relying on intuition to expand the scope of changes.
All front-end problem diagnosis follows a unified process:
Identify problem type and scope of impact:
| Type | Judgment basis | Diagnosis entrance |
|---|---|---|
| build | Command exit is non-zero, stderr has error | → Build module |
| runtime | Console exception, white screen, function unavailable | → Runtime module |
| ui | Visual deviation, interaction not as expected | → UI module |
| api | Request status code exception, data inconsistency | → API module |
Cross-type problems (such as API failure leading to UI exceptions) start with the most superficial symptoms and drill down layer by layer.
Collect evidence by type (specific strategies for each module, see below).
Propose possible root causes based on evidence, ranked by likelihood:
Test the hypotheses one by one:
Collect: Run minimal failing commands, capture full stderr/stdout Assumptions: Grouped by error type (type error, import failure, configuration resolution, missing dependency), match known patterns Verification: Fix a type of root cause → rerun the command → confirm that errors are reduced Special handling:
Collect:
Assumptions:
Verification:
Collect:
Assumptions:
Verification:
Collect:
Assumptions:
Verification:
When writing a diagnostic report, load references/report-template.md.
reports/debug-YYYY-MM-DD-HHmmss.mdnpx claudepluginhub bovinphang/frontend-craftTriages, reproduces, and fixes full-stack bugs across frontend, API, DB, queues, and infra using multi-agent orchestration and git/docker checks. For runtime errors, failed flows, or Sentry/PostHog issues.
Guides systematic debugging for broken features, errors, failed deployments, or tests: reproduce bugs, gather git/logs diagnostics, read errors, diagnose root causes before fixes.
Diagnoses failures, fixes bugs, and investigates failing tests using systematic debugging: reproduce first, read before changing, assume nothing, find root cause.