OpenParable
Skip to content
← Back to skills

Fix Sonar

Testing & Quality
fix-sonar

Fix 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.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. 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

  1. Fix issue with minimal changes
  2. Preserve existing behavior
  3. Avoid unnecessary refactors
  4. Preserve naming consistency
  5. Verify TypeScript types
  6. Run focused validation for the touched project, usually pnpm nx lint <project> and pnpm nx build <project>

Important

  • Never rewrite working architecture just to satisfy Sonar
  • Prefer minimal safe fixes
  • Preserve repository patterns