agent coding skill risk: low
Makepad Debugging Reference Materials
This prompt supplies reference materials for debugging, code quality, and advanced layout patterns in Makepad, including when to use, common errors with fixes, debug tips, and exte…
SKILL 1 file
SKILL.md
---
name: antigravity-awesome-skills-makepad-reference
description: "This category provides reference materials for debugging, code quality, and advanced layout patterns."
---
# 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 (ends in `e`) | Change last digit (e.g., `#14141e` → `#14141f`) |
| `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
```bash
# Run with line info for better error messages
MAKEPAD=lines cargo +nightly run
```
```rust
// 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.
REQUIRED CONTEXT
- Makepad error message or diagnostic question
ROLES & RULES
- 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.
EXPECTED OUTPUT
- Format
- markdown
- Constraints
-
- use provided tables and code snippets for answers
- stop and ask for clarification if inputs or criteria are missing
CAVEATS
- Missing context
-
- How the reference should be used in an AI response workflow
QUALITY
- OVERALL
- 0.78
- CLARITY
- 0.90
- SPECIFICITY
- 0.85
- REUSABILITY
- 0.60
- COMPLETENESS
- 0.75
IMPROVEMENT SUGGESTIONS
- Add explicit instructions on response format when citing the reference
USAGE
Copy the prompt above and paste it into your AI of choice — Claude, ChatGPT, Gemini, or anywhere else you're working. Replace any placeholder sections with your own context, then ask for the output.
MORE FOR AGENT
- Rapid App MVP Prototyper agent coding
- AI-First Design Handoff Specs Generator agent coding
- Test-Driven Development Workflow Rules agent coding
- Structured Autonomy Implementation Agent agent coding
- PROGRESS.md Manager for Agentic Coding agent coding
- Hard Bug Diagnosis Discipline agent coding
- Git Development Branch Finisher agent coding
- Code Review Feedback Reception Protocol agent coding
- Systematic Debugging Process Guide agent coding
- Matplotlib Python Plotting Guide agent coding
- LaTeX Paper PDF Compiler agent coding
- Full Output Enforcement for Code Generation agent coding
- PyTorch Geometric GNN Implementation Guide agent coding
- Premium React UI Design Architect agent coding
- Astropy Python Astronomy Library Guide agent coding
- Book SFT Style Transfer Pipeline agent coding
- Event Sourcing and CQRS Architect agent coding
- FluidSim Python CFD Simulation Guide agent coding
- NetworkX Python Graph Analysis Toolkit agent coding
- Phase-Gated Debugging Protocol Enforcer agent coding
- SimPy Discrete-Event Simulation Guide agent coding
- Phase-Gated Code Debugging Protocol agent coding
- Biopython Molecular Biology Toolkit Guide agent coding
- Haskell Advanced Type Systems Expert agent coding
- Anime.js Complex Animation Workflow agent coding