This skill may not reflect the latest upstream change
Next.js Releases update on 2026-11-09 may affect this skill Last checked Nov 25, 2026.
python-odoo-cursor-rules
Guidelines for Python and Odoo enterprise application development with ORM, XML views, and module architecture best practices.
Install this skill
No account required. Pick your tool, or use the command that detects it for you.
Run in your terminal. It detects your AI tool.
npx @skills-hub-ai/cli install mindrally-python-odoo-cursor-rulesManual setup by platform
Claude Code
~/.claude/skills/mindrally-python-odoo-cursor-rules/SKILL.md
Signing
SignedSLSA L2- Signed by
- skills-hub.ai distributor
- Method
- Distributor-signed by skills-hub.aiSigned with the skills-hub.ai Ed25519 distributor key over this exact slug, version and content. Check it with `npx @skills-hub-ai/cli verify`.
- Key
- skills-hub-ed25519-2026-11
- Signed
Instructions
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
<xpath>,<field>, etc.) to extend existing views - Implement web controllers using the
@http.routedecorator - Organize modules with well-documented
__manifest__.pyfiles - 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
- Follow Odoo's "Convention Over Configuration" approach
- Prioritize security with ACLs, record rules, and data validations
- Maintain modular structure separating models, views, controllers
- Write comprehensive tests and clear documentation
- Use Odoo's built-in features and extend through inheritance
Security
Reviews (0)
Related skills
Browse all →More from Mindrally Skills
View source →More Build skills
Browse category →Frequently asked questions about python-odoo-cursor-rules
What does the python-odoo-cursor-rules skill do?
Guidelines for Python and Odoo enterprise application development with ORM, XML views, and module architecture best practices. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.
How do I install the python-odoo-cursor-rules skill?
Run `npx @skills-hub-ai/cli install mindrally-python-odoo-cursor-rules` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/mindrally-python-odoo-cursor-rules/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.
Which AI tools does python-odoo-cursor-rules work with?
python-odoo-cursor-rules runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.
Is the python-odoo-cursor-rules skill free?
Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.
How do I use python-odoo-cursor-rules after installing it?
In Claude Code, type `/mindrally-python-odoo-cursor-rules` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.
Can I share the python-odoo-cursor-rules skill with my team?
Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.