Lint: Auto-fix and Resolve Linting Issues
Instruction Claude Claude Haiku
Runs linter with auto-fix enabled and resolves any remaining errors that require manual intervention
- π‘ Use Case:
- Cleaning up code style issues and ensuring code passes lint checks before commits
- π€ Expected Output:
- Clean lint output with all issues resolved
Prompt Content
description: Auto-fix linting issues and resolve remaining errors allowed-tools: Bash(pnpm run lint), Bash(pnpm run lint:fix), Bash(eslint) model: haiku
Lint and Fix
I have already run the linter with the fix flag. Here are the results:
<lint_results>
!pnpm run lint:fix || true
</lint_results>
Instructions
- Analyze the
<lint_results>above.- If the output shows βNo errorsβ or is empty, respond with βNo lint errors found.β and stop - no further action needed.
- If errors remain, they require manual intervention.
- Fix remaining errors by editing the referenced files.
- Verify by running the lint command one last time.