makepad-basics

Generate Rust Makepad widget boilerplate and troubleshooting references.

1|1|Updated Apr 10, 2025
One-click install
npx skills add https://github.com/SageV1/makepad-skills --skill makepad-basics-sagev1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: makepad-basics
Source: https://github.com/SageV1/makepad-skills/tree/main/skills/makepad-basics
Command: npx skills add https://github.com/SageV1/makepad-skills --skill makepad-basics-sagev1

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill helps developers get started with Makepad by teaching the essential app structure, live design patterns, and basic widget usage for building Makepad apps in Rust.

Core Features & Use Cases

  • Guides for creating the standard Makepad app boilerplate using live_design!, app_main!, and Live types.
  • References to core documentation about app structure and event handling, enabling quick problem solving and troubleshooting.
  • Real-world usage examples and patterns to implement common UI components with Makepad widgets.

Quick Start

Provide Rust Makepad widgets code and guidance using the included patterns.

Frequently Asked Questions about makepad-basics

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I structure a Makepad app in Rust?

Structure a Makepad app by using the live_design!, app_main!, and Live types to define your UI and application logic. The skill provides boilerplate templates and code examples to guide this setup.

What is live_design in Makepad and how does it work?

live_design is a Makepad macro pattern that allows you to define UI widgets and layouts declaratively in Rust. This skill provides guidance on implementing real-world usage examples using these live design patterns.

Does Makepad support building apps for Windows, macOS, Linux, and the Web?

Yes, Makepad supports building apps across Windows, macOS, Linux, and Web platforms. This skill provides troubleshooting references and code examples to help you deploy your Rust widgets on these targets.

How do I handle events in a Makepad application?

Handle events in a Makepad application by referencing the included event-handling documentation. This skill grounds its instructions in local references to help you quickly solve event processing problems.

Why is my Makepad widget code not working and how do I troubleshoot it?

Troubleshoot Makepad widget code by consulting the skill's included troubleshooting references and core patterns. It provides targeted guidance for resolving common issues in Rust Makepad apps.