Onboard

From nicolaiprodromov/puree · View interactive version

Onboard is an AI agent skill from the GitHub repository nicolaiprodromov/puree. Design or improve Puree UI onboarding flows, empty states, and first-time user experiences. Helps users get started successfully and understand value quickly.

How to use this skill

Skill file

MANDATORY PREPARATION

Use the frontend-design skill — it contains design principles, anti-patterns, and the Context Gathering Protocol. Follow the protocol before proceeding — if no design context exists yet, you MUST run teach-impeccable first. Additionally gather: the "aha moment" you want users to reach, and users' experience level.


Create or improve onboarding experiences that help users understand, adopt, and succeed with the Blender addon quickly.

Assess Onboarding Needs

Understand what users need to learn and why:

  1. Identify the challenge:
  1. Understand the users:
  1. Define success:

CRITICAL: Onboarding should get users to value as quickly as possible, not teach everything possible.

Onboarding Principles

Follow these core principles:

Show, Don't Tell

Make It Optional (When Possible)

Time to Value

Context Over Ceremony

Respect User Intelligence

Design Onboarding Experiences

Create appropriate onboarding for the context:

First-Run Experience

Welcome State:

Example — first-run panel in YAML:

first_run_panel:
  style: first_run_container
  
  welcome_header:
    style: welcome_title
    text: "Welcome to [Addon Name]"
    font: NeueMontreal-Bold
  
  welcome_description:
    style: welcome_desc
    text: "Create stunning effects in seconds. Let's get started."
    font: NeueMontreal-Regular
  
  get_started_button:
    data: '[button]'
    tb_text_value: "Get Started"
    bg_color: '#3498db'
    hover_bg_color: '#2980b9'
  
  skip_link:
    style: skip_text
    text: "I'll explore on my own"
    font: NeueMontreal-Regular
.first_run_container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  height: 100%;
}

.welcome_title {
  font-size: 18px;
  color: #f5f8fa;
  text-align: center;
  padding: 0px 0px 10px 0px;
}

.welcome_desc {
  font-size: 13px;
  color: rgba(181, 188, 199, 0.9);
  text-align: center;
  padding: 0px 0px 20px 0px;
}

.skip_text {
  font-size: 11px;
  color: rgba(181, 188, 199, 0.5);
  text-align: center;
  padding: 10px 0px 0px 0px;
}
.skip_text:hover {
  color: rgba(181, 188, 199, 0.8);
}

First-run detection in Python:

import bpy

def main(self, app):
    # Use Blender scene properties to track first-run state
    scene = bpy.context.scene
    
    # Check if user has completed onboarding
    has_onboarded = scene.get("addon_onboarded", False)
    
    if has_onboarded:
        # Hide onboarding, show main UI
        app.find("first_run_panel").set_property('display', 'none')
        app.find("main_panel").set_property('display', 'flex')
    else:
        # Show onboarding, hide main UI
        app.find("first_run_panel").set_property('display', 'flex')
        app.find("main_panel").set_property('display', 'none')
    
    def complete_onboarding(container):
        scene["addon_onboarded"] = True
        app.find("first_run_panel").set_property('display', 'none')
        app.find("main_panel").set_property('display', 'flex')
        app.find("main_panel").mark_dirty()
    
    app.find("get_started_button").click.append(complete_onboarding)
    app.find("skip_link").click.append(complete_onboarding)
    
    return app

Feature Discovery & Adoption

Empty States:

Instead of blank space, show:

Example — empty state for an object list:

empty_state:
  style: empty_state_container
  empty_icon:
    style: empty_icon
    img: 'no_objects.png'
  empty_title:
    style: empty_title
    text: 'No objects found'
    font: NeueMontreal-Bold
  empty_description:
    style: empty_desc
    text: 'Select objects in the viewport to see them here.'
    font: NeueMontreal-Regular
  empty_action:
    data: '[button]'
    tb_text_value: 'Select All Objects'
    bg_color: '#252830'
    hover_bg_color: '#353942'
.empty_state_container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  height: 100%;
}

.empty_icon {
  width: 48px;
  height: 48px;
  opacity: 0.4;
  --img-align-h: center;
  --img-align-v: center;
}

.empty_title {
  font-size: 14px;
  color: rgba(181, 188, 199, 0.8);
  text-align: center;
  padding: 12px 0px 4px 0px;
}

.empty_desc {
  font-size: 12px;
  color: rgba(181, 188, 199, 0.5);
  text-align: center;
  padding: 0px 0px 16px 0px;
}

Contextual Hints:

Example — contextual hint:

hint_container:
  style: hint_box
  hint_text:
    style: hint_text
    text: 'Tip: Right-click objects to see more options.'
    font: NeueMontreal-Regular
  hint_dismiss:
    style: hint_dismiss
    text: '✕'
    font: NeueMontreal-Regular
.hint_box {
  display: flex;
  flex-direction: row;
  align-items: center;
  background-color: rgba(52, 152, 219, 0.15);
  border: 1px solid rgba(52, 152, 219, 0.3);
  border-radius: 6px;
  padding: 8px 12px;
  margin: 8px 0px;
}

.hint_text {
  font-size: 12px;
  color: rgba(52, 152, 219, 0.9);
  width: 100%;
}

.hint_dismiss {
  font-size: 12px;
  color: rgba(181, 188, 199, 0.5);
  width: 20px;
  text-align: center;
}
.hint_dismiss:hover {
  color: rgba(181, 188, 199, 0.9);
}

Dismissal tracking in Python:

def main(self, app):
    scene = bpy.context.scene
    
    # Check if hint was already dismissed
    if scene.get("hint_rightclick_seen", False):
        app.find("hint_container").set_property('display', 'none')
    
    def dismiss_hint(container):
        scene["hint_rightclick_seen"] = True
        hint = app.find("hint_container")
        hint.set_property('display', 'none')
        hint.mark_dirty()
    
    app.find("hint_dismiss").click.append(dismiss_hint)
    return app

Progressive Feature Unlock:

Guided Highlights

When to use:

How to design in Puree:

Example — spotlight a feature:

def spotlight_feature(app, target_name, hint_text):
    """Highlight a container and show a hint."""
    target = app.find(target_name)
    target.set_property('border-color', 'rgba(52, 152, 219, 0.8)')
    
    hint = app.find("spotlight_hint")
    hint.text = hint_text
    hint.set_property('display', 'flex')
    hint.mark_dirty()

def clear_spotlight(app, target_name):
    """Remove highlight."""
    target = app.find(target_name)
    target.set_property('border-color', 'rgba(0, 0, 0, 0)')
    
    hint = app.find("spotlight_hint")
    hint.set_property('display', 'none')
    hint.mark_dirty()

Empty State Design

Every empty state needs:

What Will Be Here

"Your selected objects will appear here"

Why It Matters

"Organize and manage objects without switching between panels"

How to Get Started

Button or instruction to populate the panel

Visual Interest

Icon or subtle styling (not just text on a blank background)

Empty state types:

State Management Patterns

Tracking "seen" states with Blender properties

import bpy

def get_onboard_state(key, default=False):
    """Get onboarding state from scene properties."""
    return bpy.context.scene.get(f"addon_onboard_{key}", default)

def set_onboard_state(key, value):
    """Save onboarding state to scene properties."""
    bpy.context.scene[f"addon_onboard_{key}"] = value

Tracking states with addon preferences (persists across scenes)

# In your addon's preferences class
class AddonPreferences(bpy.types.AddonPreferences):
    bl_idname = "your_addon"
    
    onboarding_complete: bpy.props.BoolProperty(default=False)
    hint_seen_tooltips: bpy.props.BoolProperty(default=False)

Use scene properties for per-scene onboarding state. Use addon preferences for global onboarding state that persists across scenes and files.

IMPORTANT: Don't show the same onboarding twice (annoying). Track completion and respect dismissals.

NEVER:

Verify Onboarding Quality

Test with users:

Remember: You're a product educator with excellent teaching instincts. Get users to their "aha moment" as quickly as possible. Teach the essential, make it contextual, respect user time and intelligence.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.