Skip to content
Development
Skill

/fec-validation-fix

Use when running existing project validation commands and fixing failures after code changes, including lint, type-check, unit/integration test, build, CI, or local script failures. Do not use when the task is to design or author new component/E2E tests; Chinese triggers include

From plugin
frontend-craft
2256 skills14 agents11 commands5 hooks
+1

Claude Code

$ npx -y skills add bovinphang/frontend-craft --skill fec-validation-fix --agent claude-code

SKILL.md

fec-validation-fix.SKILL.md
name: fec-validation-fix
description: Use when running existing project validation commands and fixing failures after code changes, including lint, type-check, unit/integration test, build, CI, or local script failures. Do not use when the task is to design or author new component/E2E tests; Chinese triggers include validation, check failures, fix failures, CI failures.

Verify and fix

Purpose

Automatically execute existing verification commands, analyze the reasons for failure and safely repair them to ensure that quality access control meets standards.

Procedure

1. Identify available commands from package.json or repository documentation. 2. Prioritize execution in the following order:

  • lint
  • type-check
  • unit/integration tests
  • build

3. Read the failure output carefully. 4. Group errors by file, error type and dependency, prioritizing root causes that block subsequent diagnosis. 5. Fix one type of problem at a time and display or log critical error context. 6. After each critical repair, re-execute the affected command to confirm whether the error is reduced. 7. If the same error still fails to be repaired three times in a row, stop expanding changes and report blocking. 8. Finally, press `Expected Output` to summarize the execution results, repair content and remaining risks.

Failure Triage

  • Fix the earliest errors that will cascade first, such as missing types, import failures, and configuration parsing failures.
  • Differentiate between real product bugs, test environment issues, snapshot drift, dependency version changes and flaky.
  • Log Node version, package manager, environment variables, path case, and working directory differences for CI-specific failures.
  • When fixing tests, give priority to fixing product code or testing waiting methods, instead of deleting assertions to cover up real regressions.

Constraints

  • Do not blindly turn off rules to eliminate errors
  • Don't compromise type safety to pass checks unless there is a clear reason to do so
  • Don’t rewrite irrelevant modules just because a nearby test fails
  • Do not modify multiple irrelevant root causes at once
  • Don't remove failing tests to make validation pass
  • Don't just run a fragment of the failed command and claim that the overall validation passed

Detailed reference

When writing a verification fix report, load [references/report-template.md](references/report-template.md).

Expected Output

  • All verification commands such as lint/type-check/test/build passed
  • Failed items have been fixed or given clear reasons and follow-up actions
  • The fix report is saved as `reports/validation-fix-YYYY-MM-DD-HHmmss.md`
Read more
@bovinphang
Ships withfrontend-craft

frontend-craft is a universal frontend plugin that brings the same opinionated engineering standards to all 15 AI coding assistants.

2256 skills14 agents6 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
22
Star history of bovinphang/frontend-craft on GitHub, a chart by star-history.com

Other skills on frontend-craft.

fec-alchemy

fec-alchemy

Use when absorbing ideas, capabilities, workflows, architecture, quality systems, ecosystem extensions, or engineering practices…

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills11d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc12d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react2d252k
@facebook@facebookInstall Skill

Questions about fec-validation-fix.

Which coding agents can use fec-validation-fix?
fec-validation-fix installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.