Toolverse
All skills

makepad-event-action

by ZhangHanDong

CRITICAL: Use for Makepad event and action handling. Triggers on:\nmakepad event, makepad action, Event enum, ActionTrait, handle_event,\nMouseDown, KeyDown, TouchUpdate, Hit, FingerDown, post_action,\nmakepad 事件, makepad action, 事件处理

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Category
Frontend
Views
1

About this skill

CRITICAL: Use for Makepad event and action handling. Triggers on:\nmakepad event, makepad action, Event enum, ActionTrait, handle_event,\nMouseDown, KeyDown, TouchUpdate, Hit, FingerDown, post_action,\nmakepad 事件, makepad action, 事件处理

How to use

  1. Upewnij się, że masz zainstalowany Makepad w wersji dev branch. Skill jest powiązany z pakietem makepad-widgets — sprawdź dostępne aktualizacje na stronie https://crates.io/crates/makepad-widgets.

  2. Załaduj skill w swoim projekcie. Skill automatycznie aktywuje się, gdy w kodzie pojawią się słowa kluczowe takie jak: makepad event, makepad action, Event enum, ActionTrait, handle_event, MouseDown, KeyDown, TouchUpdate, Hit, FingerDown, post_action.

  3. Zapoznaj się z dokumentacją referencyjną dostępną w plikach lokalnych: event-system.md (dla zdarzeń i ich obsługi) oraz action-system.md (dla trait Action i wzorców komunikacji).

  4. Jeśli dokumentacja lokalna jest niekompletna, uruchom komendę /sync-crate-skills makepad --force aby zaktualizować pliki referencyjne. Skill będzie wspierać Cię na podstawie wbudowanej wiedzy o systemie zdarzeń Makepad.

  5. Implementuj obsługę zdarzeń w swoich widgetach — definiuj handlery dla zdarzeń myszy (MouseDown, MouseMove, MouseUp), klawiatury (KeyDown, KeyUp, TextInput), dotyku (TouchUpdate) oraz zdarzeń cyklu życia aplikacji (Startup, Shutdown, Foreground, Background).

  6. Twórz akcje do komunikacji między komponentami parent-child, korzystając z trait ActionTrait i metody post_action. Skill pomoże Ci zrozumieć przepływ zdarzeń i prawidłową propagację w hierarchii widgetów.

Related skills

web-research

by langchain-ai

Use this skill for requests related to web research; it provides a structured approach to conducting comprehensive web research

Frontend
18114

interactive-dashboard-builder

by anthropics

Build self-contained interactive HTML dashboards with Chart.js, dropdown filters, and professional styling. Use when creating dashboards, building interactive reports, or generating shareable HTML files with charts and filters that work without a server.

Frontend
2298

frontend-ui-ux

by code-yeongyu

Designer-turned-developer who crafts stunning UI/UX even without design mockups

Frontend
1884

browser-automation

by browserbase

Automate web browser interactions using natural language via CLI commands. Use when the user asks to browse websites, navigate web pages, extract data from websites, take screenshots, fill forms, click buttons, or interact with web applications. Triggers include \

Frontend
21175

shadcn-ui-setup

by maneeshanif

Install and configure Shadcn/ui component library with Radix UI primitives, Aceternity UI effects, set up components, and manage the component registry. Use when adding Shadcn/ui to a Next.js project or installing specific UI components for Phase 2.

Frontend
23167

shadcn-ui

by josechifflet

shadcn/ui component patterns for Next.js 16 applications. This skill should be used when adding UI components, customizing component styles, composing primitives, or integrating forms with react-hook-form. Covers installation, customization, composition patterns, and

Frontend
157206