Skillpedia
المواقع والواجهات (frontend)48k · #5152

makepad-reference

ما الذي تفعله

يساعد هذا الدليل على حل المشكلات الشائعة عند استخدام Makepad. يقدم حلولًا سريعة لأخطاء البناء والواجهة والتحديث.

متى تستخدمها

  • ✓عندما لا يُترجم كود Makepad الخاص بك.
  • ✓إذا لم تتحدث واجهة المستخدم كما هو متوقع.
  • ✓لإيجاد حل سريع لخطأ محدد.

رابط المهارة

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/makepad-reference/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/makepad-reference/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“نصي لا يظهر بالخط الصحيح، ماذا أفعل؟”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

يقارن كودك بالإصدار الدقيق من Makepad الذي تستخدمه لإيجاد المشكلات. ويسرد الأخطاء الشائعة وطرق إصلاحها.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

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

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.

الأسئلة الشائعة

ما هو Makepad؟

Makepad أداة لبناء واجهات المستخدم للتطبيقات.

كيف أعرف إصدار Makepad الذي أستخدمه؟

يقترح الدليل تشغيل `MAKEPAD=lines cargo run` للحصول على مزيد من تفاصيل الإصدار.

ماذا يعني `redraw(cx)`؟

هو أمر يخبر Makepad بأن الواجهة تحتاج إلى التحديث بعد تغيير ما.

التفاصيل

الوصف الأصلي من المؤلف

Guide to diagnosing Makepad build, widget, redraw and layout issues against the exact runtime revision.

repo: sickn33/agentic-awesome-skills

الشعبية

نجوم GitHub
48k
الترتيب
#5152
الترخيص
MIT
آخر تحديث
15‏/10‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة