Skip to content

EL4CTEO/blender-skills / skills/blender-addon-development

blender-addon-development

Verified

Write Blender 5.3 add-ons as extensions - blender_manifest.toml, operators/panels/menus/property groups/preferences, bpy.props rules after 5.0, undo/redo, modal and timer patterns, gpu drawing (no bgl), bundling Python wheels, CLI validate/build/install, testing headless, extensions platform publishing. Use when creating or fixing a Blender add-on, tool, or UI.

assets/addon_template/ui.py

View on GitHub
import bpy


class MYTOOL_PT_main(bpy.types.Panel):
    bl_label = "My Tool"
    bl_idname = "MYTOOL_PT_main"
    bl_space_type = "VIEW_3D"
    bl_region_type = "UI"
    bl_category = "My Tool"  # sidebar (N) tab

    def draw(self, context):
        s = context.scene.my_tool
        col = self.layout.column(align=True)
        col.use_property_split = True
        col.prop(s, "distance")
        col.prop(s, "axis")
        self.layout.operator("my_tool.offset_selected", icon="ORIENTATION_GLOBAL")


class MYTOOL_AP_preferences(bpy.types.AddonPreferences):
    bl_idname = __package__  # extensions: package name, never a hard-coded string

    verbose: bpy.props.BoolProperty(name="Verbose reports", default=False)

    def draw(self, context):
        self.layout.prop(self, "verbose")


def menu_func(self, context):
    self.layout.operator("my_tool.offset_selected")
finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the workStars: 322kUpdated Claude CodeCodexVerifiedInstall
systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesStars: 322kUpdated Claude CodeCodexVerifiedInstall
test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation codeStars: 322kUpdated Claude CodeCodexVerifiedInstall
skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.Stars: 198kUpdated Claude CodeCodexVerifiedInstall