Files
trackgo-fe/.cursor/commands/build-fix.md
T
shancheas f2f0be111a chore: update .gitignore and improve coding standards documentation
- Added .cursor/sessions/* to .gitignore to prevent session files from being tracked.
- Enhanced coding standards in SKILL.md by adding semicolons to TypeScript examples for consistency.
- Improved formatting in continuous learning, detail layout, and other SKILL.md files for better readability.

These changes aim to streamline development processes and maintain code quality across the project.
2026-08-25 17:50:17 +07:00

600 B

Build and Fix

Incrementally fix TypeScript and build errors:

  1. Run pnpm typecheck or pnpm build (this repo uses pnpm + Turbo + Vite)

  2. Parse error output:

    • Group by file
    • Sort by severity
  3. For each error:

    • Show 5 lines of context
    • Explain the issue
    • Apply a minimal fix
    • Re-run the failing command
  4. Stop if:

    • The fix introduces new errors
    • The same error persists after 3 attempts
    • The user asks to pause
  5. Show summary of fixed / remaining / new errors

Fix one error at a time. Do not refactor. Invoke build-error-resolver when useful.