name: fix-sonar description: Fix Sonar, lint, or TypeScript issues in erxes with minimal behavior-preserving edits. Use when addressing static-analysis findings.
Skill: Fix Sonar Issues
Workflow
- Fix issue with minimal changes
- Preserve existing behavior
- Avoid unnecessary refactors
- Preserve naming consistency
- Verify TypeScript types
- Run focused validation for the touched project, usually
pnpm nx lint <project>andpnpm nx build <project>
Important
- Never rewrite working architecture just to satisfy Sonar
- Prefer minimal safe fixes
- Preserve repository patterns