Makepad Skills Evolution
This skill provides a reviewable workflow for maintaining makepad-skills during development. It does not install automatic evolution by itself.
When to Use
- You are maintaining
makepad-skills and want the skill library to improve itself during development.
- You need the workflow for deciding when a new pattern should become a skill update or hook-driven evolution.
- You are working on self-correction, self-validation, or version adaptation for the skill set.
Quick Navigation
Only update the explicitly requested skill repository. A discovered lesson alone does not authorize persistent memory edits, installed-skill changes, hooks, commits or remote publication. Keep reusable evidence separate from project secrets and private source.
Hooks-Based Auto-Triggering
Hook files are not bundled in this catalog copy. If hook setup is requested, obtain a reviewed immutable upstream revision, inspect the installer and every hook it fetches, and preserve existing host settings. The following historical installer URL is a source pointer, not permission to run mutable remote code. Install with --with-hooks only after that review:
# Install makepad-skills with hooks enabled
tmpdir="$(mktemp -d)"
trap 'rm -rf "$tmpdir"' EXIT
curl -fsSLo "$tmpdir/makepad-skills-install.sh" https://raw.githubusercontent.com/ZhangHanDong/makepad-skills/main/install.sh
cat "$tmpdir/makepad-skills-install.sh" # review the full installer before executing
# Execute only the reviewed revision after explicit hook-install authorization:
# bash "$tmpdir/makepad-skills-install.sh" --with-hooks
This will install hooks to .claude/hooks/ and configure .claude/settings.json:
{
"hooks": {
"UserPromptSubmit": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "bash .claude/hooks/makepad-skill-router.sh"
}
]
}
],
"PreToolUse": [
{
"matcher": "Bash|Write|Edit",
"hooks": [
{
"type": "command",
"command": "bash .claude/hooks/pre-tool.sh"
}
]
}
],
"PostToolUse": [
{
"matcher": "Bash",
"hooks": [
{
"type": "command",
"command": "bash .claude/hooks/post-bash.sh"
}
]
}
]
}
}
What Hooks Do
| Hook |
Trigger Event |
Action |
makepad-skill-router.sh |
UserPromptSubmit |
Auto-route to relevant skills |
pre-tool.sh |
Before Bash/Write/Edit |
Detect Makepad version from Cargo.toml |
post-bash.sh |
After Bash command fails |
Detect Makepad errors, suggest fixes |
session-end.sh |
Session ends |
Prompt to capture learnings |
Skill Routing and Bundling
The makepad-skill-router.sh hook automatically loads relevant skills based on user queries.
Context Detection
| Context |
Trigger Keywords |
Skills Loaded |
| Full App |
"build app", "从零", "完整应用" |
basics, dsl, layout, widgets, event-action, app-architecture |
| UI Design |
"ui design", "界面设计" |
dsl, layout, widgets, animation, shaders |
| Widget Creation |
"create widget", "创建组件", "自定义组件" |
widgets, dsl, layout, animation, shaders, font, event-action |
| Production |
"best practice", "robrix pattern", "实际项目" |
app-architecture, widget-patterns, state-management, event-action |
Skill Dependencies
When loading certain skills, related skills are auto-loaded:
| Primary Skill |
Auto-loads |
| robius-app-architecture |
makepad-basics, makepad-event-action |
| robius-widget-patterns |
makepad-widgets, makepad-layout |
| makepad-widgets |
makepad-layout, makepad-dsl |
| makepad-animation |
makepad-shaders |
| makepad-shaders |
makepad-widgets |
| makepad-font |
makepad-widgets |
| robius-event-action |
makepad-event-action |
Example
User: "我想从零开发一个 Makepad 应用"
[makepad-skills] Detected Makepad/Robius query
[makepad-skills] App development context detected - loading skill bundle
[makepad-skills] Routing to: makepad-basics makepad-dsl makepad-event-action
makepad-layout makepad-widgets robius-app-architecture
When to Evolve
Trigger skill evolution when any of these occur during development:
| Trigger | Target Skill | Priority |
|-------
1---2name: evolution3description: This skill provides a reviewable workflow for maintaining makepad-skills during development. It does not install automatic evolution by itself. 4category: Document Processing5source: antigravity6tags: [markdown, api, claude, ai, workflow, template, design, document]7url: https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/evolution8metadata:9 source: https://skillmd.com/skills/ranbot-ai/evolution10---111213# Makepad Skills Evolution1415This skill provides a reviewable workflow for maintaining makepad-skills during development. It does not install automatic evolution by itself.1617## When to Use18- You are maintaining `makepad-skills` and want the skill library to improve itself during development.19- You need the workflow for deciding when a new pattern should become a skill update or hook-driven evolution.20- You are working on self-correction, self-validation, or version adaptation for the skill set.2122## Quick Navigation2324| Topic | Description |25|-------|-------------|26| Collaboration Guidelines | **Contributing to makepad-skills** |27| [Hooks Setup](#hooks-based-auto-triggering) | Auto-trigger evolution with hooks |28| [When to Evolve](#when-to-evolve) | Triggers and classification |29| [Evolution Process](#evolution-process) | Step-by-step guide |30| [Self-Correction](#self-correction) | Auto-fix skill errors |31| [Self-Validation](#self-validation) | Verify skill accuracy |32| [Version Adaptation](#version-adaptation) | Multi-branch support |3334---3536Only update the explicitly requested skill repository. A discovered lesson alone does not authorize persistent memory edits, installed-skill changes, hooks, commits or remote publication. Keep reusable evidence separate from project secrets and private source.3738## Hooks-Based Auto-Triggering3940Hook files are not bundled in this catalog copy. If hook setup is requested, obtain a reviewed immutable upstream revision, inspect the installer and every hook it fetches, and preserve existing host settings. The following historical installer URL is a source pointer, not permission to run mutable remote code. Install with `--with-hooks` only after that review:4142```bash43# Install makepad-skills with hooks enabled44tmpdir="$(mktemp -d)"45trap 'rm -rf "$tmpdir"' EXIT46curl -fsSLo "$tmpdir/makepad-skills-install.sh" https://raw.githubusercontent.com/ZhangHanDong/makepad-skills/main/install.sh47cat "$tmpdir/makepad-skills-install.sh" # review the full installer before executing48# Execute only the reviewed revision after explicit hook-install authorization:49# bash "$tmpdir/makepad-skills-install.sh" --with-hooks50```5152This will install hooks to `.claude/hooks/` and configure `.claude/settings.json`:5354```json55{56 "hooks": {57 "UserPromptSubmit": [58 {59 "matcher": "",60 "hooks": [61 {62 "type": "command",63 "command": "bash .claude/hooks/makepad-skill-router.sh"64 }65 ]66 }67 ],68 "PreToolUse": [69 {70 "matcher": "Bash|Write|Edit",71 "hooks": [72 {73 "type": "command",74 "command": "bash .claude/hooks/pre-tool.sh"75 }76 ]77 }78 ],79 "PostToolUse": [80 {81 "matcher": "Bash",82 "hooks": [83 {84 "type": "command",85 "command": "bash .claude/hooks/post-bash.sh"86 }87 ]88 }89 ]90 }91}92```9394### What Hooks Do9596| Hook | Trigger Event | Action |97|------|---------------|--------|98| `makepad-skill-router.sh` | UserPromptSubmit | Auto-route to relevant skills |99| `pre-tool.sh` | Before Bash/Write/Edit | Detect Makepad version from Cargo.toml |100| `post-bash.sh` | After Bash command fails | Detect Makepad errors, suggest fixes |101| `session-end.sh` | Session ends | Prompt to capture learnings |102103---104105## Skill Routing and Bundling106107The `makepad-skill-router.sh` hook automatically loads relevant skills based on user queries.108109### Context Detection110111| Context | Trigger Keywords | Skills Loaded |112|---------|------------------|---------------|113| **Full App** | "build app", "从零", "完整应用" | basics, dsl, layout, widgets, event-action, app-architecture |114| **UI Design** | "ui design", "界面设计" | dsl, layout, widgets, animation, shaders |115| **Widget Creation** | "create widget", "创建组件", "自定义组件" | widgets, dsl, layout, animation, shaders, font, event-action |116| **Production** | "best practice", "robrix pattern", "实际项目" | app-architecture, widget-patterns, state-management, event-action |117118### Skill Dependencies119120When loading certain skills, related skills are auto-loaded:121122| Primary Skill | Auto-loads |123|---------------|------------|124| robius-app-architecture | makepad-basics, makepad-event-action |125| robius-widget-patterns | makepad-widgets, makepad-layout |126| makepad-widgets | makepad-layout, makepad-dsl |127| makepad-animation | makepad-shaders |128| makepad-shaders | makepad-widgets |129| makepad-font | makepad-widgets |130| robius-event-action | makepad-event-action |131132### Example133134```135User: "我想从零开发一个 Makepad 应用"136137[makepad-skills] Detected Makepad/Robius query138[makepad-skills] App development context detected - loading skill bundle139[makepad-skills] Routing to: makepad-basics makepad-dsl makepad-event-action140 makepad-layout makepad-widgets robius-app-architecture141```142143---144145## When to Evolve146147Trigger skill evolution when any of these occur during development:148149| Trigger | Target Skill | Priority |150|-------