Build Fix

Workflow for incrementally fixing TypeScript and build errors. Triggers: "build error", "build error", "compile error", "tsc error", "type error", "build failure", "build fix" Anti-triggers: "runtime error", "test failure", "lint errors only", "deployment error"

jh941213 Updated 125 repo stars
세 터미널(Claude Code·Codex·Copilot CLI)이 의도·설계·계획·구현·검증·리뷰·출시·학습 여덟 단계의 무한 루프로 이어지는 그림

File contents

Build Error Fix

Incrementally fixes TypeScript and build errors.

Procedure

  1. Run Build

    npm run build
    # or
    pnpm build
    
  2. Analyze Errors

    • Group by file
    • Sort by severity
  3. Fix Each Error

    • Check error context (5 lines before and after)
    • Describe the problem
    • Suggest and apply fix
    • Re-run build
    • Confirm error is resolved
    • If one attempt does not resolve it, switch to the systematic-debugging skill's 4 phases (no repeated guess-based fixes)
  4. Stop Conditions

    • When a fix causes new errors
    • When the same error persists after 3 attempts
    • On user request
  5. Summary Output

    • Number of errors fixed
    • Number of remaining errors
    • Newly introduced errors

Principles

  • Fix only one error at a time
  • Always re-verify build after each fix
  • Consider rollback if new errors are introduced

jh941213/my-cc-harness commit 0878e93cb9

Frequently asked questions

npx get-skill add jh941213/build-fix-2