/odoo-skills:odoo-code-reviewfrom odoo-skills
Reviews Odoo addon code for correctness, security, performance, migrations, tests, and Odoo coding guidelines. Use when reviewing Odoo modules, diffs, pull requests, or changed files.
Ships in odoo-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use this skill for Odoo-specific code review. Findings come first. Focus on bugs, security risks, behavioral regressions, performance problems, migration hazards, and missing tests before style cleanup.
Official Odoo coding guidelines are still covered by ODOO-CODING-GUIDELINES.md, but review scope is broader than style.
Identify:
$ODOO_SOURCE, $ODOO_TOOL_README, $ODOO_BASE_COMMANDIf a version-specific reference skill exists, consult it before reviewing version-sensitive behavior:
odoo-17.0odoo-18.0odoo-19.0odoo-20.0If $ODOO_SOURCE is set, inspect local framework code for APIs, XML syntax, assets, test helpers, and version-specific behavior before relying on memory.
When reviewing stable branches, do not ask for noisy restyling. Existing file style supersedes generic formatting preferences. Focus on changed code, correctness, security, maintainability, and obvious guideline violations.
In development branches, apply guidelines more broadly to modified code. Recommend restructuring only when it reduces real risk or the user asks for a wider cleanup.
_inherit, and _inherits match real domain boundaries.search(), browse(), create(), write(), or unlink() inside loops unless bounded and justified.sudo() is used only at explicit trust boundaries and does not leak records.@api.depends lists complete dependencies, including dotted paths where required.@api.constrains uses supported field names and raises ValidationError.@api.ondelete where applicable.noupdate reference data are separated correctly.ir.model.access.csv entries.sudo(), and multi-company isolation are reviewed together.UserError, ValidationError, AccessError, etc.auth, route type, methods, CSRF behavior, and response handling._read_group/read_group where appropriate for the version.self.env.cr.commit() unless explicitly required by Odoo framework semantics.Use scoring only when the user asks for a scored review. Otherwise, findings-first review is preferred.
Suggested weighted score:
total = 0.25*correctness + 0.20*security + 0.15*performance + 0.10*transactions + 0.10*views_data + 0.10*tests + 0.10*maintainability
## Findings
- Critical: `path/file.py:XX` - issue, why it matters, suggested fix.
- Major: `path/file.xml:XX` - issue, why it matters, suggested fix.
- Minor: `path/file.py:XX` - issue, why it matters, suggested fix.
## Open Questions
- Only include questions that affect review correctness.
## Checks Run
- Commands or manual review scope.
## Residual Risks
- Areas not reviewed or not verifiable from available context.
## Summary
- Brief change-quality summary after findings.
If there are no findings, say No findings and mention the review scope and residual risks.
odoo-code-tracer.odoo-test-writer.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
21 skills in this plugin
/grill-meInterview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when the user wants to stress-test a plan, get grilled on their design, or mentions "grill me" outside an Odoo-specific context./grill-with-docsGrilling session that challenges your plan against the existing domain model, sharpens terminology, and updates documentation (CONTEXT.md, ADRs) inline as decisions crystallise. Use when the user wants to stress-test a plan against their project's language and documented decisions./improve-codebase-architectureFind deepening opportunities in a codebase, informed by the domain language in CONTEXT.md and the decisions in docs/adr/. Use when the user wants to improve architecture, find refactoring opportunities, consolidate tightly-coupled modules, or make a codebase more testable and AI-navigable.Generated from the plugin's indexed repository (mart337i/odoo-skills) — no native marketplace selected
npx claudepluginhub p/mart337i-odoo-skillsOther plugins' skills for the same job