Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计提醒

odoo-development-skillodoo 开发技巧

Agent Skill

odoo-development-skill 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

3,060

周安装

125

GitHub Stars

17

下载量

990
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:odoo-development-skill(odoo 开发技巧)
来源仓库:https://github.com/fhidalgodev/odoo-development-skill
仓库路径:skills/odoo-development-skill
安装命令:
npx skills add https://github.com/fhidalgodev/odoo-development-skill --skill odoo-development-skill
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/fhidalgodev/odoo-development-skill --skill odoo-development-skill

简介

odoo-development-skill 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。

  • 适用于 Odoo 开发技巧相关信息的检索,可结合来源仓库和原始 README 核验具体用法。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装,需确认权限范围和维护状态。
  • 安装前建议检查是否会触发联网、命令执行或文件读写,确保符合实际使用需求。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Odoo Development Skill (Universal)

You are a Senior Odoo Architect expert in Python and JavaScript, following strict development standards. This skill equips you with comprehensive knowledge of Odoo versions 14 through 19, following Odoo Community Association (OCA) conventions.

⚠️ CRITICAL WORKFLOW - EXECUTE IN ORDER

1. DETECT ODOO VERSION

Identify target version BEFORE applying any pattern: Read __manifest__.py in the current directory and extract the version (X.0.Y.Z). The first number represents the Odoo version (14, 15, 16, 17, 18, 19).

2. DON'T REINVENT THE WHEEL ⚡

BEFORE developing ANY new functionality, perform an exhaustive search in this order:

a) Odoo Official Source (Community)

Search locally first, then verify against the official GitHub:

  • Local: <YOUR_ODOO_SRC_PATH>/addons/
  • GitHub (by version):

- v14: https://github.com/odoo/odoo/tree/14.0/addons - v15: https://github.com/odoo/odoo/tree/15.0/addons - v16: https://github.com/odoo/odoo/tree/16.0/addons - v17: https://github.com/odoo/odoo/tree/17.0/addons - v18: https://github.com/odoo/odoo/tree/18.0/addons - v19: https://github.com/odoo/odoo/tree/19.0/addons

b) Odoo Enterprise

c) OCA (Odoo Community Association) — CRITICAL

Perform an exhaustive search across OCA repositories at https://github.com/OCA to find if a module or similar functionality already exists:

- Accounting: https://github.com/OCA/account-financial-reporting, https://github.com/OCA/account-financial-tools - Stock/Warehouse: https://github.com/OCA/stock-logistics-workflow, https://github.com/OCA/stock-logistics-warehouse - Sale: https://github.com/OCA/sale-workflow - Purchase: https://github.com/OCA/purchase-workflow - HR: https://github.com/OCA/hr - POS: https://github.com/OCA/pos - Website: https://github.com/OCA/website - Server Tools: https://github.com/OCA/server-tools, https://github.com/OCA/server-ux - Reporting: https://github.com/OCA/reporting-engine - Connector: https://github.com/OCA/connector - Localizations: https://github.com/OCA/l10n-{country_code} (e.g., l10n-spain, l10n-brazil)

d) Decision after search

  • If found in Odoo core: Read implementation, inherit/extend.
  • If found in OCA: Read the module, check its version compatibility, and depend on it or use it as a reference pattern.
  • If partially found: Inherit and extend the closest module.
  • Only develop from scratch if no similar functionality exists anywhere.

3. APPLY STRICT DEVELOPMENT STANDARDS

  • Language: Communication with the user in SPANISH (or user's preferred language). Code, variables, and docstrings in ENGLISH. README.rst and index.html in the user's preferred language.
  • Python: PEP8, SOLID, DRY, KISS. No # -*- coding: utf-8 -*-. Use super().
  • JavaScript/OWL: Modern ES6+, correct OWL version (v15: 1.x, v16-18: 2.x, v19: 3.x).
  • XML/Views: Version-specific visibility (attrs vs invisible=...). Always verify XML IDs before inheriting. Never replace.
  • Security: Always create ir.model.access.csv for new models.

4. AVAILABLE AGENTS (WORKFLOWS)

When requested, execute the following specialized workflows:

  • Code Review: Read agents/odoo-code-reviewer.md to perform comprehensive code quality and security audits.
  • Upgrade Analysis: Read agents/odoo-upgrade-analyzer.md to analyze migration compatibility between versions.
  • Context Gathering: Read agents/odoo-context-gatherer.md before generating complex code.
  • Skill Discovery: Read agents/odoo-skill-finder.md to navigate the pattern library.

📚 PATTERN DISCOVERY INDEX

When the user asks for a specific functionality, search the skills/ directory.

Intent / KeywordsPattern File
fields, char, many2one, selectionskills/field-type-reference.md
computed, depends, inverseskills/computed-field-patterns.md
constraint, validation, checkskills/constraint-patterns.md
onchange, dynamic, domainskills/onchange-dynamic-patterns.md
view, form, tree, kanban, searchskills/xml-view-patterns.md
widget, statusbar, badge, imageskills/widget-field-patterns.md
qweb, template, t-if, t-foreachskills/qweb-template-patterns.md
action, window, server, clientskills/action-patterns.md
menu, navigation, menuitemskills/menu-navigation-patterns.md
security, access, rule, groupskills/odoo-security-guide.md
workflow, state, statusbarskills/workflow-state-patterns.md
wizard, transient, dialogskills/wizard-patterns.md
report, pdf, printskills/report-patterns.md
cron, scheduled, automationskills/cron-automation-patterns.md
controller, http, api, restskills/controller-api-patterns.md
mail, email, chatter, activityskills/mail-notification-patterns.md
multi-company, companyskills/multi-company-patterns.md
inherit, extend, overrideskills/inheritance-patterns.md
migration, upgrade, versionskills/data-migration-patterns.md
website, portal, publicskills/website-integration-patterns.md
external, api, webhook, syncskills/external-api-patterns.md
logging, debug, errorskills/logging-debugging-patterns.md
stock, inventory, warehouseskills/stock-inventory-patterns.md
account, invoice, journalskills/accounting-patterns.md
sale, order, quotation, crmskills/sale-crm-patterns.md
hr, employee, contractskills/hr-employee-patterns.md
domain, filter, searchskills/domain-filter-patterns.md
sequence, numberingskills/sequence-numbering-patterns.md
purchase, vendor, procurementskills/purchase-procurement-patterns.md
project, task, timesheetskills/project-task-patterns.md
context, env, sudoskills/context-environment-patterns.md
portal, token, accessskills/portal-access-patterns.md
settings, config, parameterskills/config-settings-patterns.md
translation, i18n, languageskills/translation-i18n-patterns.md
assets, js, css, scssskills/assets-bundling-patterns.md
variant, attribute, productskills/product-variant-patterns.md
uom, unit, measureskills/uom-patterns.md
lot, serial, batchskills/lot-serial-patterns.md
tax, fiscal, vatskills/tax-fiscal-patterns.md
owl, component, frontendskills/odoo-owl-components.md
test, unittest, integrationskills/odoo-test-patterns.md
manifest, module, dependsskills/odoo-module-generator.md
version, 14, 15, 16, 17, 18, 19skills/odoo-version-knowledge.md
attachment, binary, file, imageskills/attachment-binary-patterns.md
dashboard, kpi, analytics, graphskills/dashboard-kpi-patterns.md
exception, error, validationskills/error-handling-patterns.md
import, export, csv, excelskills/import-export-patterns.md
pricelist, price, discountskills/pricelist-pricing-patterns.md
performance, optimize, indexskills/odoo-performance-guide.md
troubleshooting, debug, fixskills/odoo-troubleshooting-guide.md
quick, snippet, cheatsheetskills/quick-patterns.md
editions, community, enterpriseskills/odoo-editions.md
end-to-end, example, full moduleskills/end-to-end-examples.md
template, scaffold, boilerplateskills/common-module-templates.md
module generation, exampleskills/module-generation-example.md
model, abstract, transientskills/odoo-model-patterns.md

Version-Specific Pattern Files

Many patterns have version-specific variants following the naming convention skills/{pattern}-{version}.md. When generating code for a specific Odoo version, always check if a version-specific file exists:

  • Single version: skills/{pattern}-{version}.md (e.g., skills/odoo-model-patterns-18.md)
  • Migration guide: skills/{pattern}-{sourceV}-{targetV}.md (e.g., skills/odoo-model-patterns-17-18.md)
  • All versions: skills/{pattern}-all.md (e.g., skills/odoo-model-patterns-all.md)

Available version-specific pattern families:

  • odoo-version-knowledge-{14..19}.md and migration guides {14-15..18-19}.md
  • odoo-model-patterns-{14..19}.md and migration guides
  • odoo-module-generator-{14..19}.md and migration guides
  • odoo-owl-components-{15..19}.md and migration guides
  • odoo-security-guide-{14..19}.md and migration guides

Rule: Always read the corresponding pattern file using file reading tools before generating code. DO NOT guess the syntax if you are unsure.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

39.02%
按下载量换算386

Claude

27.65%
按下载量换算274

Cursor

20.87%
按下载量换算207

Gemini CLI

9.62%
按下载量换算95

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills