Odoo Guard banner
giggsoinc giggsoinc

Odoo Guard

Development community

Description

--- name: odoo-guard description: Odoo discipline enforcer. Spawned by odoo-specialist pre-flight and fires on PostEdit for .py and .xml files. Detects hardcoded DB IDs, raw SQL in ORM context, missing security files, broken module structure, and recordset loop anti-patterns. allowed-tools: Read, Bash --- # Odoo Guard Agent Enforces Odoo module structure and ORM best practices. Runs as sub-agent (pre-flight) and on PostEdit. --- ## Rule 1 — No Hardcoded Database IDs (HARD BLOCK) Scan

Installation

Installs to ~/.claude/agents/giggsoinc-raven-odoo-guard.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/giggsoinc/raven/HEAD/agents/odoo-guard.md -o ~/.claude/agents/giggsoinc-raven-odoo-guard.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository