wpmoo-org/odoo-skills/odoo-oca

Claude Code and agent skill by wpmoo-org/odoo-skills

Trust tier 3
  • community
  • ext:[{"type":"hook","description":"Pre/post lifecycle hooks"},{"type":"plugin","description":"Custom plugin integration"}]
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when developing Odoo addons that should follow OCA-compatible repository layout, Odoo-version branches, manifests, linting, tests, porting, and review conventions.

Install

npx vskill@latest install wpmoo-org/odoo-skills/odoo-oca

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as wpmoo-org/odoo-skills/odoo-oca.

Odoo OCA-Compatible Addon Development

Use this skill when creating, editing, reviewing, testing, or porting Odoo addons that should stay compatible with OCA conventions.

Repository rules

  • Use one Git branch per Odoo major version: 13.0 through 19.0 in this

skill pack.

  • Keep each branch compatible with exactly one Odoo major version.
  • Keep environment, deployment, and generated DevOps files outside addon source repositories.
  • Keep each addon in its own top-level directory inside the addon repository.
  • Prefer small, composable addons over large modules with unrelated features.
  • Do not commit local databases, filestores, cache directories, logs, or secrets.

Manifest rules

  • Every addon must have __manifest__.py and __init__.py.
  • Manifest version must start with the Odoo branch version, for example 18.0.1.0.0 or 19.0.1.0.0.
  • Community addons should use LGPL-3 or AGPL-3 according to the repository policy.
  • The depends list must be minimal and explicit.
  • Community addons must not depend on private/pro addons.
  • Keep installable set to True only when the addon is ready to install for this Odoo version.

Example manifest skeleton:

python
{
"name": "My Addon",
"version": "19.0.1.0.0",
"category": "Productivity",
"summary": "Short functional summary",
"depends": ["base"],
"data": [
"security/ir.model.access.csv",
],
"installable": True,
"license": "LGPL-3",
}

Version routing

  • Load the matching version skill before changing syntax-sensitive code:

odoo-13, odoo-14, odoo-15, odoo-16, odoo-17, odoo-18, or odoo-19.

  • Odoo 13 and 14 use legacy frontend asset patterns.
  • Odoo 15 and 16 use manifest asset bundles but still use <tree> list views

and attrs/states modifiers.

  • Odoo 17 still uses <tree> but uses direct XML modifier expressions.
  • Odoo 18 and 19 use <list> list views and list,form action modes.
  • Odoo 19 has additional ORM/API changes such as models.Constraint and

JSON-RPC route naming.

Testing and quality checks

Before reporting completion, run the checks that are available in the current project. Prefer this order when configured:

bash
pre-commit run -a

Then install or update the touched addon in the matching Odoo version and run its tests. Use the project's runner, for example:

bash
./scripts/test.sh addon_name

or the equivalent Odoo command with --test-enable and --stop-after-init.

When a repository uses WPMoo tooling, keep command examples on the current standard:

  • Use npx @wpmoo/toolkit ... for day-to-day workspace commands.
  • Use ./moo ... inside generated Odoo development environments.
  • Start with doctor when environment state matters.
  • Use snapshot before risky local changes and restore-snapshot to return to

a saved local state.

  • Use resetdb for clean install/update checks.
  • Use lint for configured project quality checks.
  • Use pot when views, labels, help text, or other translated strings change.

Do not recommend @wpmoo/odoo or @wpmoo/odoo-dev except in explicit deprecated-compatibility documentation.

Porting rules

  • Port changes forward one Odoo branch at a time unless instructed otherwise.
  • Update manifest versions when porting to a new Odoo major version.
  • Review Odoo API, XML view, security, and dependency changes for the target version.
  • Keep migration compatibility notes in the PR or changelog when behavior changes.

Done criteria

  • Addon source is in the correct Odoo-version branch.
  • Manifest version, license, dependencies, and installable status are valid.
  • Community addons do not depend on private/pro addons.
  • Relevant install/update tests pass for the target Odoo version.
  • Generated documentation or README files are updated when module behavior changes.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Extension points

  • hookPre/post lifecycle hooks
  • pluginCustom plugin integration

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/wpmoo-org/odoo-skills/odoo-oca/badge)](https://verified-skill.com/skills/wpmoo-org/odoo-skills/odoo-oca)

Something wrong with this skill or its page? Tell us.