- 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.
28 lines
600 B
Markdown
28 lines
600 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.
|