跳到正文
cccskills
免费在 GitHub 公开

odoo-website

Odoo website and portal engineering guidance for QWeb templates, public and portal controllers, website models, frontend assets, and route integration. Use when working on Odoo website pages, portal flows, public forms, QWeb, website templates, portal access, or frontend behavior outside a pure OWL component.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(3)

  • SKILL.md2.1 KB
  • references/QWEB-PATTERNS.md1.9 KB
  • references/WEBSITE-PATTERNS.md2.4 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Odoo Website

Use this skill for Odoo website, portal, and public-facing addon work. Compose it with odoo-owl for reactive components, odoo-web-security for trust-boundary review, and the matching version skill for version-sensitive APIs.

First Move

Identify the Odoo version and inspect:

  • website, portal, and other relevant manifest dependencies.
  • Existing controllers, routes, templates, and portal mixins.
  • auth, route type, CSRF behavior, and ownership checks on nearby routes.
  • Website asset bundles and template inheritance anchors.
  • Existing tests for anonymous, portal, and internal users.

If $ODOO_SOURCE is set, verify controller, QWeb, asset, and portal behavior against the local source. Otherwise use the official documentation for the detected version and state any uncertainty.

Route The Task

  • Public or portal page flow: read WEBSITE-PATTERNS.md.
  • QWeb or template inheritance: read QWEB-PATTERNS.md.
  • Access, identity, or unsafe input: compose with odoo-web-security.
  • OWL component or web-client registry work: compose with odoo-owl.
  • Browser or controller verification: compose with odoo-web-testing.

Always Apply

  • Reuse the closest standard Odoo controller, template, mixin, and route convention.
  • Treat every public or portal parameter as untrusted; validate record ownership before rendering or mutating data.
  • Keep sudo() at explicit, narrow trust boundaries and never use it as an access check.
  • Prefer t-out and safe structured values; treat raw HTML and Markup as security-sensitive.
  • Use stable template anchors and preserve translations, responsive behavior, and asset ordering.
  • Test the route as each relevant user type, including unauthenticated users when the route is public.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

grill-me

免费

Interview 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.

中文简介正在准备中。当前显示原文说明。

mart337i/odoo-skills592026年10月2日 更新

Grilling 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.

中文简介正在准备中。当前显示原文说明。

mart337i/odoo-skills592026年10月2日 更新

Find 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.

中文简介正在准备中。当前显示原文说明。

mart337i/odoo-skills592026年10月2日 更新

odoo

免费

Odoo engineering workflows for addon development, codebase exploration, debugging, architecture/refactor review, manifest/docs sync, and routing to migration work. Use when the user mentions Odoo, addons, modules, manifests, models, XML views, security CSVs, record rules, Odoo shell, OWL/QWeb/assets, or when an Odoo codebase is detected.

中文简介正在准备中。当前显示原文说明。

mart337i/odoo-skills592026年10月2日 更新

odoo-17.0

免费

Odoo 17 development reference for Python models and ORM (search, domain, read_group, compute fields), XML/CSV data and views, OWL/JS client code, QWeb reports, security (ACL, record rules, groups), cron and server actions, migrations and module upgrades, tests, i18n, and performance. Use this skill whenever work involves Odoo 17 or custom addons, including traceback diagnosis, addons, manifests, XML errors, HTTP controllers, business rules, feature work, refactoring, or reviews.

中文简介正在准备中。当前显示原文说明。

mart337i/odoo-skills592026年10月2日 更新

odoo-18.0

免费

Odoo 18 development reference for Python models and ORM (search, domain, read_group, compute fields), XML/CSV data and views, OWL/JS client code, QWeb reports, security (ACL, record rules, groups), cron and server actions, migrations and module upgrades, tests, i18n, and performance. Use this skill whenever work involves Odoo 18 or custom addons, including traceback diagnosis, addons, manifests, XML errors, HTTP controllers, business rules, feature work, refactoring, or reviews.

中文简介正在准备中。当前显示原文说明。

mart337i/odoo-skills592026年10月2日 更新

查看 mart337i 的全部技能

报告此技能的问题