Detect and fix all project issues - lint, typecheck, tests, build errors
Detects and fixes all project issues by running linting, type checking, tests, and builds in parallel.
/plugin marketplace add leobrival/topographic-plugins-official/plugin install dev@topographic-plugins-officialComprehensive project health check: detect all validation commands, run them, fix issues, and verify fixes.
Identify the project type and available tooling:
Check for:
package.json - Node.js/TypeScript projectrequirements.txt / pyproject.toml - Python projectgo.mod - Go projectCargo.toml - Rust projectExtract information:
Scan package.json scripts (Node.js/TypeScript):
cat package.json | grep -E "lint|typecheck|type-check|test|build|format|validate"
Common command patterns to detect:
lint / eslint / biome lint - Lintingtypecheck / tsc --noEmit - Type checkingtest / vitest / jest - Unit testsbuild - Production buildformat / prettier - Code formattingCreate a comprehensive validation report by running all discovered commands.
Use parallel subagents to run:
For each command:
Group issues by priority:
Critical - Blocks build/deploy
High Priority - Code quality issues
Medium Priority - Maintainability
Prioritize fixes:
Fix issues systematically:
Read the problematic files first
Apply fixes one category at a time
Use appropriate strategies:
Auto-format after fixes:
pnpm format # or prettier --write .
After applying fixes, re-run all validation commands with parallel subagents.
Compare before/after results and report:
# Debug Session Complete
## Project Health: HEALTHY / NEEDS WORK / CRITICAL
**Stack detected:** [Framework info]
## Issues Fixed
- [List of fixed issues]
## Validation Results
- Linting: [status]
- Type checking: [status]
- Tests: [status]
- Build: [status]
## Next Steps
- [Recommendations]
# Basic usage
/debug
# After making changes
/debug