Files
trackgo-fe/.cursor/commands/build-fix.md
T
shancheas ff6814d038 feat: add new skills for coding standards, continuous learning, detail layout, form layout, project guidelines, security review, and verification loop
- Introduced coding standards for TypeScript and React in SKILL.md.
- Added continuous learning skill with configuration and evaluation scripts.
- Created detail layout guidelines for read-only pages.
- Established form layout rules for data-entry forms.
- Documented project guidelines for the frontend monorepo.
- Implemented security review checklist for frontend/Electron applications.
- Developed a verification loop skill for comprehensive session checks.

This commit enhances the skill set available for developers, ensuring adherence to best practices and improving code quality.
2026-08-25 16:58:10 +07:00

25 lines
597 B
Markdown

# 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.