makepad-reference – skill Khác cho agent AI
Hướng dẫn chẩn đoán lỗi build, widget, redraw và layout của Makepad theo đúng revision runtime.
Cài skill makepad-reference bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/makepad-reference-68443.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /makepad-reference – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/makepad-reference-68443.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $makepad-reference – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/makepad-reference-68443.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /makepad-reference – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/makepad-reference-68443.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /makepad-reference – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
Makepad Reference
This category provides reference materials for debugging, code quality, and advanced layout patterns.
When to Use
- You need quick-reference material for common Makepad errors, debugging, or API lookups.
- The task is diagnostic or reference-oriented rather than writing a focused feature in one subsystem.
- You want a central starting point before diving into more specialized Makepad skills.
Quick Navigation
| Topic | File | Use When |
|-------|------|----------|
| API Documentation | Official docs index, quick API reference | Finding detailed API info |
| Troubleshooting | Common errors and fixes | Build fails, runtime errors |
| Code Quality | Makepad-aware refactoring | Simplifying code safely |
| Adaptive Layout | Desktop/mobile responsive | Cross-platform layouts |
Common Issues Quick Reference
| Error | Quick Fix |
|-------|-----------|
| no matching field: font | Use text_style: <THEME_FONT_*>{} |
| Color parse error | Check the installed live-design parser syntax; changing a valid hex color is not a general fix |
| set_text missing argument | Add cx as first argument |
| UI not updating | Call redraw(cx) after changes |
| Widget not found | Check ID spelling, use ids!() for paths |
Debug Tips
# Run with line info for better error messages
MAKEPAD=lines cargo run # Use the project-pinned toolchain; verify this diagnostic flag for its revision// Add logging
log!("Value: {:?}", my_value);
log!("State: {} / {}", self.counter, self.is_loading);Resources
- [Makepad Official Docs](https://publish.obsidian.md/makepad-docs/) - Obsidian-based documentation
- [Makepad Repository](https://github.com/makepad/makepad)
- [Robrix](https://github.com/project-robius/robrix) - Production reference
- [Moly](https://github.com/moxin-org/moly) - Production reference
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
The navigation table names topics, not bundled reference files. Verify exact Makepad API signatures and the project toolchain before changing code; preserve private values in logs, and test widget updates, input and target layouts rather than assuming a redraw call fixes every issue.
Skill liên quan
- makepad-shaders – CRITICAL: Dùng cho hệ thống shader của Makepad. Kích hoạt khi: makepad shader, makepad…
- makepad-splash – CRITICAL: Dùng cho ngôn ngữ kịch bản Makepad Splash. Kích hoạt khi: splash language…
- markstream-angular – Tích hợp renderer markstream-angular (alpha) vào ứng dụng Angular 20+ với standalone…
- mathguard – Leo thang dùng toán nặng cho n >= 10^6 — Bloom, HyperLogLog, Count-Min, MinHash/LSH…
- mdm-device-management – Quản lý và bảo mật thiết bị của công ty bằng giải pháp MDM
- meeting-distiller-pro – Chuyển ghi chú cuộc họp lộn xộn và bản ghi âm thành đầu việc, quyết định và việc cần…
- mental-health-analyzer – 分析心理健康数据、识别心理模式、评估心理健康状况、提供个性化心理健康建议。支持与睡眠、运动、营养等其他健康数据的关联分析。
- mentorship-program – Sổ đăng ký cố vấn: cặp mentor và mentee, phòng ban, lĩnh vực trọng tâm, mục tiêu của…