Fix Sonar
Testing & Qualityfix-sonarFix Sonar is an Agent Skill for testing & quality published in the erxes/erxes repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Fix Sonar, lint, or TypeScript issues in erxes with minimal behavior-preserving edits. Use when addressing static-analysis findings.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/erxes/erxes/blob/HEAD/.agents/skills/fix-sonar/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/fix-sonar, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
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