skills/makepad-layout/SKILL.md
--- name: makepad-layout description: CRITICAL: Use for Makepad layout system. Triggers on: makepad layout, makepad width, makepad height, makepad flex, makepad padding, makepad margin, makepad flow, makepad align, Fit, Fill, Size, Walk, category: Document Processing source: antigravity tags: [claude, ai, document] url: https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/makepad-layout --- # Makepad Layout Skill > **Version:** makepad-widgets (dev branch) | **Last Updated:
npx skillsauth add ranbot-ai/awesome-skills skills/makepad-layoutInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Version: makepad-widgets (dev branch) | Last Updated: 2026-01-19
Check for updates: https://crates.io/crates/makepad-widgets
You are an expert at Makepad layout system. Help users by:
Walk, Align, Fit, Fill, padding, spacing, or container flow configuration.Refer to the local files for detailed documentation:
./references/layout-system.md - Complete layout reference./references/core-types.md - Walk, Align, Margin, Padding typesBefore answering questions, Claude MUST:
/sync-crate-skills makepad --force 更新文档"<View> {
width: Fill
height: Fill
flow: Down
padding: 16.0
spacing: 8.0
<Label> { text: "Item 1" }
<Label> { text: "Item 2" }
}
<View> {
width: Fill
height: Fill
align: { x: 0.5, y: 0.5 }
<Label> { text: "Centered" }
}
<View> {
width: Fill
height: Fit
flow: Right
spacing: 10.0
align: { y: 0.5 } // Vertically center items
<Button> { text: "Left" }
<View> { width: Fill } // Spacer
<Button> { text: "Right" }
}
<View> {
width: Fill
height: Fill
flow: Down
// Fixed header
<View> {
width: Fill
height: 60.0
}
// Flexible content
<View> {
width: Fill
height: Fill // Takes remaining space
}
}
| Property | Type | Description |
|----------|------|-------------|
| width | Size | Width of element |
| height | Size | Height of element |
| padding | Padding | Inner spacing |
| margin | Margin | Outer spacing |
| flow | Flow | Child layout direction |
| spacing | f64 | Gap between children |
| align | Align | Child alignment |
| clip_x | bool | Clip horizontal overflow |
| clip_y | bool | Clip vertical overflow |
| Value | Description |
|-------|-------------|
| Fit | Size to fit content |
| Fill | Fill available space |
| 100.0 | Fixed size in pixels |
| Fixed(100.0) | Explicit fixed size |
| Value | Description |
|-------|-------------|
| Down | Top to bottom (column) |
| Right | Left to right (row) |
| Overlay | Stack on top |
| Value | Position |
|-------|----------|
| { x: 0.0, y: 0.0 } | Top-left |
| { x: 0.5, y: 0.0 } | Top-center |
| { x: 1.0, y: 0.0 } | Top-right |
| { x: 0.0, y: 0.5 } | Middle-left |
| { x: 0.5, y: 0.5 } | Center |
| { x: 1.0, y: 0.5 } | Middle-right |
| { x: 0.0, y: 1.0 } | Bottom-left |
| { x: 0.5, y: 1.0 } | Bottom-center |
| { x: 1.0, y: 1.0 } | Bottom-right |
+---------------------------+
| margin |
| +---------------------+ |
| | padding | |
| | +---------------+ | |
| | | content | | |
| | +---------------+ | |
| +---------------------+ |
+---------------------------+
Fill for flexible containers, Fit for content-sized elementsflow: Down for vertical, flow: Right for horizontal<View> { width: Fill } as spacer in row layoutsalign to position children within containerFill takes all available space, Fit shrinks to contenttools
Delegate coding tasks to the Grok Build CLI only when the user explicitly requests it, while the orchestrator retains review and landing responsibility.
development
--- name: graceful-shutdown description: Implement graceful shutdown for servers and workers: drain connections, finish in-flight work, release resources, and exit cleanly on SIGTERM/SIGINT. category: AI & Agents source: antigravity tags: [python, typescript, node, api, claude, ai, template, docker, kubernetes] url: https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/graceful-shutdown --- # Graceful Shutdown ## Overview A skill for implementing graceful shutdown in server
development
--- name: falsify description: The scientific thinking protocol for AI agents. Use when facing complex, ambiguous, or high-stakes questions where guessing is costly: hypothesis → attempt to break it → evidence → calibrated co category: Creative & Media source: antigravity tags: [markdown, claude, ai, agent, llm, template, design, security, rag, cro] url: https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/falsify --- # Falsify — The Scientific Thinking Protocol > Think like
tools
Configure approved delegation lanes across installed implementer CLIs, including optional model and effort choices, then write global or project config only after explicit user approval.