blender-rules SKILL.md skillA

blender-rules from tmhsdigital/blender-developer-tools is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add tmhsdigital/blender-developer-tools/blender-rules@git:20261012.5a56f5e

Pins git:20261012.5a56f5e in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
tmhsdigital/blender-developer-tools
Path
claude/skills/blender-rules/SKILL.md
Versions recorded
6
Latest version
git:20261012.5a56f5e, committed Oct 12, 2026
First version recorded
Oct 4, 2026
Size
5,943 bytes
Repository stars
17
License
a license file GitHub does not identify

Blender Python anti-pattern rules (bmesh leaks, bpy.ops in loops, deprecated context-copy overrides, bulk mesh writes, prop annotations and context guards, Extensions manifest, import scale, export modifiers, glTF/FBX axis RNA, the removed bgl module, the normals API removed in 4.1). Use when writing, reviewing or fixing any bpy / Blender add-on or script code.

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

# Blender Developer Tools rules (Claude Code)

<!-- Generated by scripts/build_claude_rules.py from rules/*.mdc. Do not edit. -->

Apply these when writing or reviewing Blender Python. Each rule links to the
full version with Wrong/Right examples.

## always-free-bmesh

Flag bmesh.new() calls without a paired bm.free() in a try/finally block. Blender frees an unreferenced BMesh only when its Python wrapper dies, which a traceback, global, closure or modal operator can delay for the whole session; an explicit free() in finally releases it deterministically.

Applies to: `**/*.py`. Full rule: [`rules/always-free-bmesh.mdc`](https://github.com/TMHSDigital/Blender-Developer-Tools/blob/main/rules/always-free-bmesh.mdc).

## no-bgl

Flag `import bgl` and any `bgl.` call. The `bgl` OpenGL wrapper was deprecated in 3.x and is gone in Blender 5.x (`importlib.util.find_spec('bgl')` is `None` on 5.0, 5.1 and 5.2), so an add-on that imports it fails to register. Draw with the `gpu` module, `gpu.state` and `gpu_extras.batch` instead; see the gpu-drawing-and-overlays skill.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add tmhsdigital/blender-developer-tools/blender-rules@sha256:b4dcd649835ec5d0

The line at the top of this page pins the label git:20261012.5a56f5e, 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_o5zk3dot64jnjsuu.svg)](https://markdownregistry.com/a/art_o5zk3dot64jnjsuu)

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

Versions

The registry has recorded 6 versions of this file, between Oct 4, 2026 and Oct 12, 2026, about one every 2 days.

versioncommittedcommitsizeaudit
git:20261012.5a56f5e latest2026-10-12 5a56f5e 5,943 BA view · diff
git:20261012.f62501d2026-10-12 f62501d 5,887 BA view · diff
git:20261012.83b09cf2026-10-12 83b09cf 5,360 BA view · diff
git:20261007.4636c252026-10-07 4636c25 4,868 BA view · diff
git:20261005.040e9942026-10-05 040e994 4,821 BA view · diff
git:20261004.cf881a72026-10-04 cf881a7 4,734 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 (5943 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

tmhsdigital/blender-developer-tools · 17 stars · license a license file GitHub does not identify · pushed 2026-10-18 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_o5zk3dot64jnjsuu
GET https://markdownregistry.com/api/v1/resolve?ref=tmhsdigital/blender-developer-tools/blender-rules
GET https://markdownregistry.com/api/v1/blob/b4dcd649835ec5d0d16b357836ef987cd88a8c3aac2fb1625815f60e1bd018d5

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 tmhsdigital/blender-developer-tools

AGENTS.md AGENTS.md file
tmhsdigital/blender-developer-tools · AGENTS.md
git:20261012.ed48f75 · audit A · 17 stars
CLAUDE.md CLAUDE.md file
tmhsdigital/blender-developer-tools · CLAUDE.md
git:20261012.2363c1f · audit A · 17 stars
AGENTS.md@exports AGENTS.md file
tmhsdigital/blender-developer-tools · exports/AGENTS.md
git:20261012.0663419 · audit A · 17 stars
live-blender-session SKILL.md skill
tmhsdigital/blender-developer-tools · live-session/skills/live-blender-session/SKILL.md · Work against the user's running Blender through the Blender Lab MCP server (the blender tools): read the scene with the…
git:20261012.98b5a40 · audit A · 17 stars
addon-scaffolding SKILL.md skill
tmhsdigital/blender-developer-tools · skills/addon-scaffolding/SKILL.md · Scaffold a Blender add-on as an Extensions Platform package: blender_manifest.toml, modular file layout…
git:20261012.96b6076 · audit B · 17 stars
ai-mesh-cleanup SKILL.md skill
tmhsdigital/blender-developer-tools · skills/ai-mesh-cleanup/SKILL.md · Ordered cleanup for an imported generated or scanned mesh before it goes to an engine: scene units, apply rotation and…
git:20261007.f59ff3f · audit B · 17 stars
bake-high-to-low SKILL.md skill
tmhsdigital/blender-developer-tools · skills/bake-high-to-low/SKILL.md · Cage-bake high-poly surface detail onto a low-poly target as a tangent-space normal map with bpy.ops.object.bake…
git:20261007.4636c25 · audit B · 17 stars
bl-info-migration SKILL.md skill
tmhsdigital/blender-developer-tools · skills/bl-info-migration/SKILL.md · Migrate a legacy bl_info add-on to the Extensions Platform in three steps, with a before/after diff and the dual-format…
git:20261012.96b6076 · audit B · 17 stars
custom-properties SKILL.md skill
tmhsdigital/blender-developer-tools · skills/custom-properties/SKILL.md · Define and bind custom properties with bpy.props annotations, PropertyGroup and PointerProperty, and choose where to…
git:20261012.96b6076 · audit B · 17 stars
depsgraph-and-evaluated-data SKILL.md skill
tmhsdigital/blender-developer-tools · skills/depsgraph-and-evaluated-data/SKILL.md · Read the evaluated geometry the user actually sees through the dependency graph instead of raw obj.data…
git:20261007.4636c25 · audit B · 17 stars
drivers-and-app-handlers SKILL.md skill
tmhsdigital/blender-developer-tools · skills/drivers-and-app-handlers/SKILL.md · Drive properties from expressions with the Driver API (driver_add, driver_namespace for custom Python functions) and…
git:20261007.4636c25 · audit B · 17 stars
engine-export-presets SKILL.md skill
tmhsdigital/blender-developer-tools · skills/engine-export-presets/SKILL.md · Export presets for Unity, Godot and Unreal. glTF is +Y up and meters by spec, so every engine gets export_yup=True with…
git:20261007.f59ff3f · audit B · 17 stars

Every file in tmhsdigital/blender-developer-tools

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