一键导入
adapt
Adapt Puree UI (YAML/SCSS) designs to work across different Blender panel sizes and workspace configurations.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Adapt Puree UI (YAML/SCSS) designs to work across different Blender panel sizes and workspace configurations.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Create distinctive, production-grade Puree UI interfaces with high design quality. Use this skill when the user asks to build UI panels, dashboards, toolbars, or Blender addon interfaces. Generates creative, polished YAML/SCSS/Python code that avoids generic AI aesthetics.
Review Puree UI code (YAML/SCSS/Python) for correctness, common mistakes, and best practices. Use when checking code quality, debugging render issues, or validating before shipping.
Improve Puree typography by fixing font choices, hierarchy, sizing, weight consistency, and readability in YAML/SCSS. Makes text feel intentional and polished.
Create distinctive, production-grade Puree UI interfaces with high design quality. Use this skill when the user asks to build UI panels, dashboards, toolbars, or Blender addon interfaces. Generates creative, polished YAML/SCSS/Python code that avoids generic AI aesthetics.
Review Puree UI code (YAML/SCSS/Python) for correctness, common mistakes, and best practices. Use when checking code quality, debugging render issues, or validating before shipping.
Improve Puree typography by fixing font choices, hierarchy, sizing, weight consistency, and readability in YAML/SCSS. Makes text feel intentional and polished.
| name | adapt |
| description | Adapt Puree UI (YAML/SCSS) designs to work across different Blender panel sizes and workspace configurations. |
| user-invocable | true |
| argument-hint | Describe the panel or component and target context (e.g. "toolbar for narrow sidebar", "settings panel for wide viewport") |
Adapt existing Puree designs to work effectively across different Blender panel sizes, workspace configurations, and monitor resolutions.
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: target panel sizes and workspace contexts.
Understand what needs adaptation and why:
Identify the source context:
Understand target context:
Identify adaptation challenges:
CRITICAL: Adaptation is not just scaling — it's rethinking the layout for each panel context. Blender users resize panels constantly.
Create context-appropriate strategy:
Layout Strategy:
display: none to hide non-essential sectionsContent Strategy:
text-overflow: ellipsisExample SCSS:
@media (max-width: 300px) {
.sidebar_content {
flex-direction: column;
}
.detail_panel {
display: none;
}
.label_text {
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
}
Layout Strategy:
Content Strategy:
Layout Strategy:
max-widthContent Strategy:
Example SCSS:
@media (min-width: 500px) {
.tool_panel {
display: flex;
flex-direction: row;
}
.tool_list {
width: 40%;
}
.tool_detail {
width: 60%;
}
}
Layout Strategy:
px sizes still look correctApply changes systematically:
Choose breakpoints based on where the design breaks, not arbitrary numbers:
Puree supports @media (min-width: Npx) and @media (max-width: Npx).
flex-direction: row to column at breakpointsdisplay: none: Hide non-essential sections in narrow panels% for fluid container sizingmin-width / max-width: Constrain containers to comfortable rangesdisplay: grid with grid-template-columns for adaptive gridsExample — responsive two-column layout:
.settings_panel {
display: flex;
flex-direction: column;
}
@media (min-width: 400px) {
.settings_panel {
flex-direction: row;
}
.settings_sidebar {
width: 40%;
}
.settings_content {
width: 60%;
}
}
text-overflow: ellipsis with white-space: nowrap for labels that may overflowfont-size at breakpoints if neededExample — truncating labels in narrow panels:
.control_label {
font-size: 13px;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
@media (min-width: 400px) {
.control_label {
font-size: 14px;
}
}
Use display: none to hide sections that don't fit:
.help_text {
display: flex;
}
@media (max-width: 300px) {
.help_text {
display: none;
}
}
Use Puree's component system to create variants:
# Compact variant for narrow panels
compact_control:
data: '[control]'
show_label: 'false'
show_description: 'false'
# Full variant for wide panels
full_control:
data: '[control]'
show_label: 'true'
show_description: 'true'
Then toggle visibility in SCSS based on breakpoints.
NEVER:
Test thoroughly across Blender workspace configurations:
Remember: Blender users work in highly customized workspace layouts. Your UI must adapt gracefully to whatever panel size the user gives it. Design for the narrowest comfortable width first, then enhance for wider panels.