ca-sonarit
Pack primary-file context for SonarQube-style quality-gate preparation, returning related files, suggested test paths, and quality gap cues.
Instructions
Fast primary-file context pack for SonarQube-style quality-gate preparation.
focus: optional free-form guidance (theme focus, rewrite tests, skips).
Trailing text after /ca-sonarit becomes focus.
Returns related_files, suggested_test_path, optional quality_report_summary and
quality_gap_cues (including local GitLab Code Quality/ESLint formats),
change_hints, verify_hints, prep_themes, iterate_policy, apply_policy, and
source_change_hints. Sonarit is NOT SonarQube and does NOT prove gate pass —
agent authors a source-first prep prompt, asks all-or-nothing proceed (source
edits then tests), then may run evidence-gated report-driven improve→recheck
(default max 3 rounds; pause/resume on missing tools; MCP never runs Sonar).
Not a smellit quality-depth campaign — use ca-smellit for that. MCP does not
write files, call an LLM, or run SonarQube.
analyzer_mode: none (default, instant) | lint (quick) | all (full suite, slow).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| focus | No | ||
| analyzer_mode | No | ||
| workspace_root | No |