makepad-basics — for Claude Code makepad-basics, doan3-webquanlynhahang, community, for Claude Code, ide skills, makepad-widgets, live_design!, app_main!, sync-crate-skills makepad --force, ### 2. Cargo.toml Setup

v1.0.0

关于此技能

适用场景: Ideal for AI agents that need makepad basics skill. 本地化技能摘要: # Makepad Basics Skill Version: makepad-widgets (dev branch) Last Updated: 2026-01-19 Check for updates: https://crates.io/crates/makepad-widgets You are an expert at the Rust makepad-widgets crate. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

功能特性

Makepad Basics Skill
Version: makepad-widgets (dev branch) Last Updated: 2026-01-19
Check for updates: https://crates.io/crates/makepad-widgets
You are an expert at the Rust makepad-widgets crate. Help users by:
Writing code : Generate Rust code following the patterns below

# 核心主题

nguoikhongten02022005-cell nguoikhongten02022005-cell
[0]
[0]
更新于: 4/18/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 10/11

This page remains useful for operators, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution Quality floor passed for review
Review Score
10/11
Quality Score
67
Canonical Locale
zh
Detected Body Locale
zh

适用场景: Ideal for AI agents that need makepad basics skill. 本地化技能摘要: # Makepad Basics Skill Version: makepad-widgets (dev branch) Last Updated: 2026-01-19 Check for updates: https://crates.io/crates/makepad-widgets You are an expert at the Rust makepad-widgets crate. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

核心价值

推荐说明: makepad-basics helps agents makepad basics skill. Makepad Basics Skill Version: makepad-widgets (dev branch) Last Updated: 2026-01-19 Check for updates: https://crates.io/crates/makepad-widgets You are an expert

适用 Agent 类型

适用场景: Ideal for AI agents that need makepad basics skill.

赋予的主要能力 · makepad-basics

适用任务: Applying Makepad Basics Skill
适用任务: Applying Version: makepad-widgets (dev branch) Last Updated: 2026-01-19
适用任务: Applying Check for updates: https://crates.io/crates/makepad-widgets

! 使用限制与门槛

  • 限制说明: You need to get started with Makepad or understand basic app structure and boilerplate.
  • 限制说明: Before answering questions, Claude MUST:
  • 限制说明: Requires repository-specific context from the skill documentation

Why this page is reference-only

  • - Current locale does not satisfy the locale-governance contract.

Source Boundary

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

评审后的下一步

先决定动作,再继续看上游仓库材料

Killer-Skills 的主价值不应该停在“帮你打开仓库说明”,而是先帮你判断这项技能是否值得安装、是否应该回到可信集合复核,以及是否已经进入工作流落地阶段。

实验室 Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

常见问题与安装步骤

以下问题与步骤与页面结构化数据保持一致,便于搜索引擎理解页面内容。

? FAQ

makepad-basics 是什么?

适用场景: Ideal for AI agents that need makepad basics skill. 本地化技能摘要: # Makepad Basics Skill Version: makepad-widgets (dev branch) Last Updated: 2026-01-19 Check for updates: https://crates.io/crates/makepad-widgets You are an expert at the Rust makepad-widgets crate. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

如何安装 makepad-basics?

运行命令:npx killer-skills add nguoikhongten02022005-cell/doan3-webquanlynhahang/makepad-basics。支持 Cursor、Windsurf、VS Code、Claude Code 等 19+ IDE/Agent。

makepad-basics 适用于哪些场景?

典型场景包括:适用任务: Applying Makepad Basics Skill、适用任务: Applying Version: makepad-widgets (dev branch) Last Updated: 2026-01-19、适用任务: Applying Check for updates: https://crates.io/crates/makepad-widgets。

makepad-basics 支持哪些 IDE 或 Agent?

该技能兼容 Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer。可使用 Killer-Skills CLI 一条命令通用安装。

makepad-basics 有哪些限制?

限制说明: You need to get started with Makepad or understand basic app structure and boilerplate.;限制说明: Before answering questions, Claude MUST:;限制说明: Requires repository-specific context from the skill documentation。

安装步骤

  1. 1. 打开终端

    在你的项目目录中打开终端或命令行。

  2. 2. 执行安装命令

    运行:npx killer-skills add nguoikhongten02022005-cell/doan3-webquanlynhahang/makepad-basics。CLI 会自动识别 IDE 或 AI Agent 并完成配置。

  3. 3. 开始使用技能

    makepad-basics 已启用,可立即在当前项目中调用。

! 参考页模式

此页面仍可作为安装与查阅参考,但 Killer-Skills 不再把它视为主要可索引落地页。请优先阅读上方评审结论,再决定是否继续查看上游仓库说明。

Upstream Repository Material

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

Upstream Source

makepad-basics

安装 makepad-basics,这是一款面向AI agent workflows and automation的 AI Agent Skill。查看评审结论、使用场景与安装路径。

SKILL.md
Readonly
Upstream Repository Material
The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.
Supporting Evidence

Makepad Basics Skill

Version: makepad-widgets (dev branch) | Last Updated: 2026-01-19

Check for updates: https://crates.io/crates/makepad-widgets

You are an expert at the Rust makepad-widgets crate. Help users by:

  • Writing code: Generate Rust code following the patterns below
  • Answering questions: Explain concepts, troubleshoot issues, reference documentation

When to Use

  • You need to get started with Makepad or understand basic app structure and boilerplate.
  • The task involves project setup, live_design!, app_main!, or first-screen application wiring.
  • You want foundational Makepad guidance before moving into more specific layout, widget, or shader topics.

Documentation

Refer to the local files for detailed documentation:

  • ./references/app-structure.md - Complete app boilerplate and structure
  • ./references/event-handling.md - Event handling patterns

IMPORTANT: Documentation Completeness Check

Before answering questions, Claude MUST:

  1. Read the relevant reference file(s) listed above
  2. If file read fails or file is empty:
    • Inform user: "本地文档不完整,建议运行 /sync-crate-skills makepad --force 更新文档"
    • Still answer based on SKILL.md patterns + built-in knowledge
  3. If reference file exists, incorporate its content into the answer

Key Patterns

1. Basic App Structure

rust
1use makepad_widgets::*; 2 3live_design! { 4 use link::theme::*; 5 use link::shaders::*; 6 use link::widgets::*; 7 8 App = {{App}} { 9 ui: <Root> { 10 main_window = <Window> { 11 body = <View> { 12 width: Fill, height: Fill 13 flow: Down 14 15 <Label> { text: "Hello Makepad!" } 16 } 17 } 18 } 19 } 20} 21 22app_main!(App); 23 24#[derive(Live, LiveHook)] 25pub struct App { 26 #[live] ui: WidgetRef, 27} 28 29impl LiveRegister for App { 30 fn live_register(cx: &mut Cx) { 31 crate::makepad_widgets::live_design(cx); 32 } 33} 34 35impl AppMain for App { 36 fn handle_event(&mut self, cx: &mut Cx, event: &Event) { 37 self.ui.handle_event(cx, event, &mut Scope::empty()); 38 } 39}

2. Cargo.toml Setup

toml
1[package] 2name = "my_app" 3version = "0.1.0" 4edition = "2024" 5 6[dependencies] 7makepad-widgets = { git = "https://github.com/makepad/makepad", branch = "dev" }

3. Handling Button Clicks

rust
1impl AppMain for App { 2 fn handle_event(&mut self, cx: &mut Cx, event: &Event) { 3 let actions = self.ui.handle_event(cx, event, &mut Scope::empty()); 4 5 if self.ui.button(id!(my_button)).clicked(&actions) { 6 log!("Button clicked!"); 7 } 8 } 9}

4. Accessing and Modifying Widgets

rust
1// Get widget references 2let label = self.ui.label(id!(my_label)); 3label.set_text("Updated text"); 4 5let input = self.ui.text_input(id!(my_input)); 6let text = input.text();

API Reference Table

Macro/TypeDescriptionExample
live_design!Defines UI in DSLlive_design! { App = {{App}} { ... } }
app_main!Entry point macroapp_main!(App);
#[derive(Live)]Derive live data#[derive(Live, LiveHook)]
WidgetRefReference to UI tree#[live] ui: WidgetRef
CxContext for renderingfn handle_event(&mut self, cx: &mut Cx, ...)
id!()Widget ID macroself.ui.button(id!(my_button))

Platform Setup

PlatformRequirements
macOSWorks out of the box
WindowsWorks out of the box
Linuxapt-get install clang libaudio-dev libpulse-dev libx11-dev libxcursor-dev
Webcargo install wasm-pack

When Writing Code

  1. Always include required imports: use makepad_widgets::*;
  2. Use live_design! macro for all UI definitions
  3. Implement LiveRegister and AppMain traits
  4. Use id!() macro for widget references
  5. Handle events through handle_event method

When Answering Questions

  1. Emphasize live design - changes in DSL reflect instantly without recompilation
  2. Makepad is GPU-first - all rendering is shader-based
  3. Cross-platform: same code runs on Android, iOS, Linux, macOS, Windows, Web
  4. Recommend UI Zoo example for widget exploration

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.

相关技能

寻找 makepad-basics 的替代方案 (Alternative) 或可搭配使用的同类 community Skill?探索以下相关开源技能。

查看全部

openclaw-release-maintainer

Logo of openclaw
openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

333.8k
0
AI

widget-generator

Logo of f
f

为prompts.chat的信息反馈系统生成可定制的插件小部件

149.6k
0
AI

flags

Logo of vercel
vercel

React 框架

138.4k
0
浏览器

pr-review

Logo of pytorch
pytorch

Python中具有强大GPU加速的张量和动态神经网络

98.6k
0
开发者工具