skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
odoo-ps/ps-ai-skills0 installs

odoo_coding_guidelines

Official Odoo coding standards for reviewing, checking, or writing Python, XML, JavaScript, and CSS/SCSS, plus module structure and a full-review checklist.

How do I install this agent skill?

npx skills add https://github.com/odoo-ps/ps-ai-skills --skill odoo-coding-guidelines
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    This skill provides comprehensive Odoo coding guidelines, including Python, XML, JavaScript, and CSS standards. It is a documentation-only skill with no executable code or risky instructions.

  • Socketpass

    No alerts

  • Snykpass

    Risk: LOW · No issues

What does this agent skill do?

Odoo Coding Guidelines

Use this skill when the user asks to review, check, write, or validate Odoo code against official coding standards. Source: https://www.odoo.com/documentation/19.0/contributing/development/coding_guidelines.html

Load sub-files based on what is being reviewed:

  • Python files, models, fields, methods → read python.md
  • XML views, data files, templates → read xml.md
  • JavaScript files → read javascript.md
  • CSS / SCSS files → read css.md
  • Full code review or checklist requested → read checklist.md
  • Module structure, file naming, directory layout → read structure.md

For mixed reviews (e.g. a whole module), load all relevant files.


General Principles

Language

  • All code must be in English: variable names, field names, method names, model names, comments, commit messages, XML IDs, and string literals used as technical identifiers.

Comments

  • Comments must explain WHY, never WHAT. The code itself should be readable enough to convey what it does.
  • If a comment is needed to explain what a block of code does, refactor the code until it is self-explanatory, then remove the comment.
  • Acceptable comments: hidden constraints, non-obvious invariants, workarounds for specific bugs, behavior that would surprise a reader.

Naming

  • Never truncate names to save keystrokes. Autocomplete makes long names free — short names cost readability.
    # ❌
    def comp_tot_amt(self): ...
    inv_dt = fields.Date(...)
    
    # ✅
    def _compute_total_amount(self): ...
    invoice_date = fields.Date(...)
    

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/odoo-ps/ps-ai-skills/odoo_coding_guidelines">View odoo_coding_guidelines on skillZs</a>