Skip to main content
ZICQ

Skills ZICQ category:Agent Workflows python-odoo-cursor-rules

Python Odoo Cursor Rules

Guidelines for Python and Odoo enterprise application development with ORM, XML views, and module architecture best practices.

750 installs

Official URL:skills.sh

What this skill does

Intro in this page language first. The official description stays in its original wording; we do not rewrite SKILL.md.

What it does

Guidelines for Python and Odoo enterprise application development with ORM, XML views, and module architecture best practices.

When to use it

The official description does not include a separate “Use when”. Per the spec, agents activate this skill when the task matches keywords in that description.

How agents load it

Per Agent Skills progressive disclosure: name and description load at startup (~100 tokens); the full SKILL.md body loads when the skill activates; scripts/, references/, and assets/ load only as needed. This file's sections: Python and Odoo Development; Key Principles; Odoo/Python Guidelines; Error Handling and Validation; Odoo-Specific Guidelines; Performance Optimization.

File analysis

File analysis: instruction-only skill (SKILL.md). The agent loads the full body when activated.

Python and Odoo DevelopmentKey PrinciplesOdoo/Python GuidelinesError Handling and ValidationOdoo-Specific GuidelinesPerformance OptimizationKey Conventions

Source category:skills.sh agent-skill

SKILL.md & Agent activation

Official spec ↗
name
python-odoo-cursor-rules
description
Guidelines for Python and Odoo enterprise application development with ORM, XML views, and module architecture best practices.
  1. DiscoverThe client exposes names and descriptions to the agent.
  2. ActivateYour request or the task context selects the skill and loads its instructions.
  3. Load resourcesReferenced scripts, documentation and assets are used when needed.

Invocation syntax and available tools depend on your Agent client. Client integration guide ↗

Install this skill

Skills CLI ↗

Choose the target agent and installation scope, keep referenced package files, then verify the skill appears in the client's catalog.

Ask your Agent to install

Copy these instructions to a compatible agent and confirm the target directory matches your client.

Install the agent skill "python-odoo-cursor-rules" into my project. The full SKILL.md and official description are at https://zicq.com/en/skills/skl-7e2fab612c1df93e-Python-Odoo-Cursor-Rules.html
Save it as .cursor/skills/python-odoo-cursor-rules/SKILL.md or .claude/skills/python-odoo-cursor-rules/SKILL.md and keep the frontmatter name and description exactly as-is.

Full package on GitHub ↗

Install from the terminal · Skills CLI

Requires Node.js and npx. First inspect the repository's skill list to confirm the name.

npx skills add 'https://github.com/mindrally/skills' --list

npx skills add 'https://github.com/mindrally/skills' --skill 'python-odoo-cursor-rules'

The CLI lets you choose the agent interactively. The default scope is the project; use -g for user scope. Confirm package availability with the discovery command, then use npx skills list to inspect installed skills.

Readable layout
--- name: python-odoo-cursor-rules description: Guidelines for Python and Odoo enterprise application development with ORM, XML views, and module architecture best practices. --- # Python and Odoo Development You are an expert in Python, Odoo, and enterprise business application development. ## Key Principles - Write clear, technical responses with precise Odoo examples in Python, XML, and JSON - Leverage Odoo's built-in ORM, API decorators, and XML view inheritance - Prioritize readability and maintainability; follow PEP 8 - Use descriptive model, field, and function names - Structure modules with separation of concerns: models, views, controllers, data, security ## Odoo/Python Guidelines - Define models using Odoo's ORM by inheriting from `models.Model` - Use API decorators: `@api.model`, `@api.multi`, `@api.depends`, `@api.onchange` - Create and customize UI views using XML for forms, trees, kanban, calendar, and graph views - Use XML inheritance (via ``, ``, etc.) to extend existing views - Implement web controllers using the `@http.route` decorator - Organize modules with well-documented `__manifest__.py` files - Leverage QWeb for dynamic HTML templating in reports ## Error Handling and Validation - Use Odoo's built-in exceptions (`ValidationError`, `UserError`) - Enforce data integrity with `@api.constrains` - Use try-except blocks for business logic and controller operations - Use Odoo's logging system (`_logger`) for debug and error details - Write tests using Odoo's testing framework ## Odoo-Specific Guidelines - Use XML for defining UI elements and configuration files - Define robust ACLs and record rules in XML for security - Enable i18n by marking translatable strings with `_()` - Use automated actions and scheduled actions for background processing - Extend using Odoo's inheritance mechanisms rather than modifying core code ## Performance Optimization - Optimize ORM queries with domain filters, context parameters, and computed fields - Utilize caching for static or rarely updated data - Offload long-running tasks to scheduled actions or async job queues - Simplify XML views by leveraging inheritance ## Key Conventions 1. Follow Odoo's "Convention Over Configuration" approach 2. Prioritize security with ACLs, record rules, and data validations 3. Maintain modular structure separating models, views, controllers 4. Write comprehensive tests and clear documentation 5. Use Odoo's built-in features and extend through inheritance

Related skills

Agent Workflows

Skill Creator

Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that exte…

Agent Workflows

Clawdhub

Use the ClawdHub CLI to search, install, update, and publish agent skills from clawdhub.com. Use when you need to fetch new skills on the fl…

Agent Workflows

Agent Team Orchestration

Orchestrate multi-agent teams with defined roles, task lifecycles, handoff protocols, and review workflows. Use when: (1) Setting up a team …

Agent Workflows

Superpowers

Spec-first, TDD, subagent-driven software development workflow. Use when: (1) building any new feature or app — triggers brainstorm → plan →…