Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Blender Python add-on rules for operators, panels, properties, registration, testing, and API-safe scripting
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-05 | ✗→✓ | ▲ Improved | 27% | 0% |
| case-01 | ✗→✓ | ▲ Improved | -24% | 0% |
| case-08 | ✗→✓ | ▲ Improved | 23% | 0% |
| case-12 | ✗→✓ | ▲ Improved | 1% | 0% |
| case-15 | ✗→✓ | ▲ Improved | 39% | 0% |
Blender Python add-on rules for operators, panels, properties, registration, testing, and API-safe scripting
Synced from https://github.com/PatrickJS/awesome-cursorrules/tree/main/rules/blender-python-addon.mdc.
__init__.py with clear register() and unregister() functions.bl_info or blender_manifest.toml according to the Blender version and packaging target.bpy.types.Operator for actions, bpy.types.Panel for UI, and bpy.types.PropertyGroup for grouped settings.bl_idname, bl_label, and bl_options explicitly.poll() before enabling operators.invoke() for interactive setup and execute() for the actual operation.{'FINISHED'} or {'CANCELLED'} consistently.PropertyGroup classes instead of loose global state.AddonPreferences.PointerProperty, CollectionProperty, and typed properties with names and descriptions.unregister().bmesh when editing mesh data programmatically.self.report() for user-facing operator feedback.draw() methods.Other measured skills in the registry, with their headline benchmark lift.