sickn33/antigravity-awesome-skills/robius-widget-patterns
- community
Checking that the SKILL.md file is still in the repository.
CRITICAL: Use for Robius widget patterns. Triggers on: apply_over, TextOrImage, modal, 可复用, 模态, collapsible, drag drop, reusable widget, widget design, pageflip, 组件设计, 组件模式
Install
npx vskill@latest install sickn33/antigravity-awesome-skills/robius-widget-patternsSKILL.md
Supporting material availability
This catalog copy contains the inline guidance below, but does not include the following supporting paths. They are external prerequisites, not bundled files:
<support-root>/references/widget-patterns.md<support-root>/references/styling-patterns.md<support-root>/references/moly-widget-patterns.md
Ask for the original supporting material or an existing installation before using a step that depends on these paths; this catalog does not identify a verified download source for them. Resolve each path relative to that installation, inspect its contents, and verify any applicable license and execution prerequisites. Do not run a command or claim a referenced procedure was followed until its required file exists. Do not fabricate the missing scripts or treat an unrelated file with the same name as equivalent. Independent steps fully documented here can proceed within the user’s authorized scope; report any dependent step as unavailable.
Robius Widget Patterns Skill
Best practices for designing reusable Makepad widgets based on Robrix and Moly codebase patterns.
Source codebases:
- Robrix: Matrix chat client - Avatar, RoomsList, RoomScreen widgets
- Moly: AI chat application - Slot, ChatLine, PromptInput, AdaptiveView widgets
When to Use
Use this skill when:
- Creating reusable Makepad widgets
- Designing widget component APIs
- Implementing text/image toggle patterns
- Dynamic styling in Makepad
- Keywords: robrix widget, makepad component, reusable widget, widget design pattern
Production Patterns
The upstream _base/ directory is not bundled. These pattern names are navigation suggestions, not production-certified code:
| Pattern | Description | |
|---|---|---|
| 01-widget-extension | Add helper methods to widget references | |
| 02-modal-overlay | Popups, dialogs using DrawList2d overlay | |
| 03-collapsible | Expandable/collapsible sections | |
| 04-list-template | Dynamic lists with LivePtr templates | |
| 05-lru-view-cache | Memory-efficient view caching | |
| 14-callout-tooltip | Tooltips with arrow positioning | |
| 20-redraw-optimization | Efficient redraw patterns | |
| 15-dock-studio-layout | IDE-style resizable panels | |
| 16-hover-effect | Hover effects with instance variables | |
| 17-row-based-grid-layout | Dynamic grid layouts | |
| 18-drag-drop-reorder | Drag-and-drop widget reordering | |
| 19-pageflip-optimization | PageFlip 切换优化,即刻销毁/缓存模式 | |
| 21-collapsible-row-portal-list | Auto-grouping consecutive items in portal lists with FoldHeader | |
| 22-dropdown-overlay | Dropdown popups using DrawList2d overlay (no layout push) |
Standard Widget Structure
Text/Image Toggle Pattern
A common pattern for widgets that show either text or an image (like avatars):
Dynamic Styling with apply_over
Apply dynamic styles at runtime:
Widget Reference Pattern
Implement *Ref methods for external API:
Collapsible/Expandable Pattern
Loading State Pattern
PortalList Item Pattern
For virtual list items:
Best Practices
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/robius-widget-patterns/SKILL.md
Popularity
- Repository stars
- 25,966
- Repository forks
- 4,438
- Repository npm downloads, 7 days
- 11,772
- 7-day trend score
- 72
Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 20 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/sickn33/antigravity-awesome-skills/robius-widget-patterns)