odoo-test-writer SKILL.md skillA

odoo-test-writer from mart337i/odoo-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add mart337i/odoo-skills/odoo-test-writer@git:20260925.1a7f303

Pins git:20260925.1a7f303 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
mart337i/odoo-skills
Path
skills/odoo-test-writer/SKILL.md
Versions recorded
3
Latest version
git:20260925.1a7f303, committed Sep 25, 2026
First version recorded
May 3, 2026
Size
3,631 bytes
Repository stars
58
License
none declared

Create and improve Odoo custom module tests using the Odoo test framework. Use when the user asks to add tests, create TransactionCase/HttpCase tests, test Odoo business logic, mock external APIs, use Form helper, test access rules, test workflows, or improve Odoo test coverage.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Odoo Test Writer

Use this skill to add practical tests for Odoo custom modules. Prefer tests at the Odoo behavior seam: ORM flows, constraints, computes, access rules, controllers, reports, forms, workflows, and integration boundaries.

## First Move

Before writing tests:

- Identify the addon/module and target Odoo version.
- Inspect `__manifest__.py`, `models/`, `views/`, `security/`, `controllers/`, `report/`, `static/src/`, existing `tests/`, and relevant docs.
- If `$ODOO_SOURCE` is set, inspect local test helpers and framework behavior instead of guessing.

## Choose The Test Type

- Use `TransactionCase` for most model/business-logic tests. Each test runs in a savepoint and rolls back.
- Use `AccountTestInvoicingCommon` for accounting tests needing companies, products, partners, taxes, journals, or invoices.
- Use `Form` helper when testing default values, onchanges, form validations, One2many/Many2many form behavior, or user-like form flows.
- Use `HttpCase` for browser, tour, website, portal, controller, or full UI flows.
- Use `SingleTransactionCase` only for read-only suites or expensive setup where cross-test state is acceptable.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add mart337i/odoo-skills/odoo-test-writer@sha256:edc330f4162d7d5f

The line at the top of this page pins the label git:20260925.1a7f303, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_cnqc52et5ayuwpgr.svg)](https://markdownregistry.com/a/art_cnqc52et5ayuwpgr)

4 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 3 versions of this file, between May 3, 2026 and Sep 25, 2026, about one every 72 days.

versioncommittedcommitsizeaudit
git:20260925.1a7f303 latest2026-09-25 1a7f303 3,631 BA view · diff
git:20260506.53396972026-05-06 5339697 3,498 BA view · diff
git:20260503.37c51262026-05-03 37c5126 4,077 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (3631 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

mart337i/odoo-skills · 58 stars · license none declared · pushed 2026-10-01 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_cnqc52et5ayuwpgr
GET https://markdownregistry.com/api/v1/resolve?ref=mart337i/odoo-skills/odoo-test-writer
GET https://markdownregistry.com/api/v1/blob/edc330f4162d7d5fc0ce2bf2cf1aa5500cb8b803ee51c872874ca95e0ede4d62

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from mart337i/odoo-skills

AGENTS.md AGENTS.md file
mart337i/odoo-skills · AGENTS.md
git:20260925.1a7f303 · audit A · 58 stars
CLAUDE.md CLAUDE.md file
mart337i/odoo-skills · CLAUDE.md
git:20260503.a2b7250 · audit A · 58 stars
grill-me SKILL.md skill
mart337i/odoo-skills · skills/grill-me/SKILL.md · Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of…
git:20260509.57ec9e4 · audit A · 58 stars
grill-with-docs SKILL.md skill
mart337i/odoo-skills · skills/grill-with-docs/SKILL.md · Grilling session that challenges your plan against the existing domain model, sharpens terminology, and updates…
git:20260509.57ec9e4 · audit A · 58 stars
improve-codebase-architecture SKILL.md skill
mart337i/odoo-skills · skills/improve-codebase-architecture/SKILL.md · Find deepening opportunities in a codebase, informed by the domain language in CONTEXT.md and the decisions in…
git:20260509.57ec9e4 · audit A · 58 stars
odoo-17.0 SKILL.md skill
mart337i/odoo-skills · skills/odoo-17.0/SKILL.md · Odoo 17 development reference for Python models and ORM (search, domain, read_group, compute fields), XML/CSV data and…
git:20260925.1a7f303 · audit A · 58 stars
odoo-18.0 SKILL.md skill
mart337i/odoo-skills · skills/odoo-18.0/SKILL.md · Odoo 18 development reference for Python models and ORM (search, domain, read_group, compute fields), XML/CSV data and…
git:20260925.1a7f303 · audit A · 58 stars
odoo-19.0 SKILL.md skill
mart337i/odoo-skills · skills/odoo-19.0/SKILL.md · Odoo 19 development knowledge base covering actions, controllers, data files, API decorators, SQL constraints, indexes…
git:20260925.1a7f303 · audit A · 58 stars
odoo-20.0 SKILL.md skill
mart337i/odoo-skills · skills/odoo-20.0/SKILL.md · Odoo 20 development knowledge base covering actions, controllers, data files, API decorators, SQL constraints, indexes…
git:20261001.634b2db · audit A · 58 stars
odoo-code-review SKILL.md skill
mart337i/odoo-skills · skills/odoo-code-review/SKILL.md · Review Odoo addon code for correctness, security, performance, migrations, tests, and official Odoo coding guidelines…
git:20260925.1a7f303 · audit A · 58 stars
odoo-code-tracer SKILL.md skill
mart337i/odoo-skills · skills/odoo-code-tracer/SKILL.md · Trace Odoo execution flow from an entry point through controllers, button actions, cron jobs, model methods, overrides…
git:20260925.1a7f303 · audit A · 58 stars
odoo-grill-me SKILL.md skill
mart337i/odoo-skills · skills/odoo-grill-me/SKILL.md · Odoo-specific grilling session that stress-tests addon plans, migrations, model/view/security designs, OWL frontend…
git:20260509.57ec9e4 · audit A · 58 stars

Every file in mart337i/odoo-skills

Other files named odoo-test-writer

odoo-test-writer SKILL.md skill
immoderate-humulin783/odoo-skills · skills/odoo-test-writer/SKILL.md · Create and improve Odoo custom module tests using the Odoo test framework. Use when the user asks to add tests, create…
git:20260506.5339697 · audit A · 4 stars

Browse by kind, by grade A, or by owner.