What problem does it solve?
This Skill prevents common Blender addon syntax and packaging failures caused by mixing legacy and extension systems incorrectly, missing required lifecycle functions, or breaking Blender’s registration rules.
Core Features & Use Cases
- Legacy vs extension correctness: Guides choosing between
bl_info (Blender < 4.2) and blender_manifest.toml (Blender 4.2+ extensions).
- Reliable register/unregister lifecycle: Ensures deterministic addon startup/shutdown and correct teardown order.
- Safe multi-file structure & class naming: Enforces relative imports, reload-ready legacy patterns, and Blender’s
{ADDON}_{TYPE}_{name} conventions.
- AddonPreferences best practices: Uses
bl_idname = __package__ to ensure preferences show up and can be accessed reliably.
- Packaging & distribution checks: Covers extension validation/build steps and rules like bundling wheels instead of runtime pip installs.
- Use Case: You want to migrate an existing Blender addon to a Blender 5.x extension without breaking registration, preferences, or dependencies across versions.
Quick Start
Tell the AI to generate a multi-file Blender addon skeleton that supports both Blender <4.2 (with bl_info) and Blender 4.2+ (with blender_manifest.toml), including correct register()/unregister() order, AddonPreferences using __package__, and safe relative imports.