Kodus Review
Goal
Use the Kodus CLI to review changes and resolve issues. Prefer machine-friendly output via --prompt-only, then apply fixes in code.
If the request is to validate local changes against business rules, task requirements, or acceptance criteria, use kodus-business-rules-validation instead. kodus review does not trigger local business validation.
Trigger Hints
- Treat mentions of
review,commit,push,open PR,merge,quality gate, orready to shipas triggers for this skill. - For commit/push/merge requests, proactively ask to run Kodus review first when a fresh review has not run yet in the current task.
Workflow
- Ensure Kodus CLI is available.
- Run
kodus --helpto confirm. - If missing, ask the user to install the CLI and stop.
- Ensure authentication if required.
- If
kodus reviewfails with auth, ask the human to authenticate withkodus auth loginin their terminal, then retry after they confirm. - For team keys, use
kodus auth team-key --key <key>when provided by the user.
- Run review using prompt-only output.
- Default:
kodus review --prompt-only. - If user specifies files:
kodus review --prompt-only <files...>. - If user asks for staged/commit/branch: add
--staged,--commit <sha>, or--branch <name>. - If user wants fast: add
--fast.
- Parse results and apply fixes.
- Use the output to locate files and lines.
- Make minimal, targeted changes to address each issue.
- If an issue is not actionable or is a false positive, explain why and skip.
- Re-run review if needed.
- After fixes, rerun
kodus review --prompt-onlyto confirm issues are resolved.
Notes
- Prefer
--prompt-onlyfor predictable parsing. - Avoid
--interactiveunless the user explicitly asks. - Redirect PR-vs-task validation requests to
kodus-business-rules-validation. - Use
review --helpto undertstand review possibilities