qodana-local-review
PREFERRED METHOD for Qodana scans. Always delegate to local-qodana-reviewer sub-agent when user mentions Qodana, code quality scan, static analysis locally, or requests to run Qodana. Do NOT run qodana commands directly.
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
Qodana Local Review Skill
This skill automates local Qodana static code analysis scans using the Qodana CLI in native mode (without Docker).
When This Skill Activates
Common trigger phrases:
- "Run local qodana scan"
- "Do a local qodana review"
- "Qodana scan"
- "Run qodana locally"
- "Analyze code with qodana"
Key indicators:
- Mentions "qodana" or "qodana scan"
- Indicates local analysis (not CI/CD)
- Does NOT include a PR number (would be for PR workflow)
What This Skill Does
When activated, immediately delegate to the specialized sub-agent:
Use the Task tool with:
- subagent_type: "local-qodana-reviewer"
- description: "Run local Qodana review"
- prompt: "Run a local Qodana static code analysis scan using Qodana CLI in native mode.
Scan all code, analyze results, present a plan for fixes, apply changes, run tests,
and commit only if all tests pass."
Why Delegate to Sub-agent?
The local-qodana-reviewer sub-agent will:
- Execute Qodana CLI scan in native mode (no Docker)
- Parse SARIF output for issues
- Categorize by severity (error, warning, suggestion)
- Present a comprehensive plan before making any changes
- Apply fixes systematically
- Run tests to validate changes
- Commit only if all tests pass
- Generate detailed report
Features
-
Native Qodana CLI: Uses
qodana scanwithout Docker overhead - Safety-first: Never commits if tests fail
- Transparency: Always presents plan before applying fixes
- Comprehensive: Handles all issue severities
- Smart parsing: Extracts actionable items from SARIF format
See Also
- README.md - Detailed documentation and examples
- ~/.claude/agents/local-qodana-reviewer.md - Sub-agent implementation
- Project CLAUDE.md - Qodana configuration and usage
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-01-20
- 索引更新时间
- 2026-01-26
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!