Habilidades wp-block-themes
🎨

wp-block-themes

Riesgo bajo 📁 Acceso al sistema de archivos

طوّر قوالب كتل ووردبريس بإرشاد خبراء

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

Soporta: Claude Codex Code(CC)
🥉 74 Bronce
1

Descargar el ZIP de la skill

2

Subir en Claude

Ve a Configuración → Capacidades → Skills → Subir skill

3

Activa y empieza a usar

Pruébalo

Usando "wp-block-themes". Find all block themes in this repository

Resultado esperado:

  • تم العثور على قالبَي كتل:
  • • TwentyTwentyFive (theme.json at theme-twentytwentyfive/theme.json)
  • - Version: 3
  • - يحتوي على مجلدات القوالب والأجزاء والأنماط والستايلات
  • • CustomTheme (theme.json at themes/custom-theme/theme.json)
  • - Version: 3
  • - يحتوي على مجلدات القوالب والأجزاء

Usando "wp-block-themes". Help me configure theme.json settings

Resultado esperado:

  • لـ WordPress 6.9+، استخدم theme.json الإصدار 3.
  • أقسام الإعدادات الأساسية:
  • - color: palette, gradients, duotone
  • - typography: fontFamilies, fontSizes, lineHeight
  • - spacing: spacingScale, spacingUnits
  • - layout: contentSize, wideSize
  • أضف presets لعناصر التحكم الظاهرة في المحرر، واستخدم styles للمظهر الافتراضي.

Usando "wp-block-themes". Why are my styles not applying

Resultado esperado:

  • تحقق من تسلسل الأنماط:
  • 1. Core defaults → 2. theme.json → 3. child theme → 4. user customizations
  • المشكلات الشائعة:
  • - تم تعديل قالب خاطئ (تحقق من Site Editor → theme)
  • - تخصيصات المستخدم تتجاوز الإعدادات الافتراضية للقالب
  • - صياغة JSON غير صحيحة في theme.json
  • - تنويعات الأنماط مخزنة في قاعدة البيانات

Auditoría de seguridad

Riesgo bajo
v6 • 1/16/2026

This skill provides documentation and guidance for WordPress block theme development. The only executable script (detect_block_themes.mjs) safely reads theme.json files using bounded filesystem operations with no network access or command execution. All 92 static findings are false positives: markdown backticks are misinterpreted as shell execution, documentation URLs as network calls, and JSON content hashes as C2 indicators.

9
Archivos escaneados
659
Líneas analizadas
2
hallazgos
6
Auditorías totales
Problemas de riesgo medio (1)
Filesystem Read Operations for Theme Detection
Node.js fs operations for reading theme.json files

Factores de riesgo

📁 Acceso al sistema de archivos (1)

Puntuación de calidad

68
Arquitectura
100
Mantenibilidad
85
Contenido
19
Comunidad
85
Seguridad
91
Cumplimiento de la especificación

Lo que puedes crear

تهيئة theme.json

إعداد الإعدادات العامة والجاهزات والطباعة والألوان وأنماط الكتل لكل كتلة في theme.json

إنشاء قوالب كتل

بناء قوالب HTML وأجزاء القوالب لقوالب ووردبريس المعتمدة على الكتل

تصحيح مشكلات التنسيق

حل مشاكل عدم تطبيق الأنماط وعدم التطابق في المحرر ومشكلات تسلسل الأنماط

Prueba estos prompts

اكتشاف قوالب الكتل
Run detect_block_themes to find all theme.json files in this repository and identify which are block themes
مراجعة theme.json
Review the theme.json file at [PATH] and suggest improvements for settings and styles
إنشاء قالب جديد
Create a new template file at templates/[NAME].html following WordPress block theme conventions
تصحيح مشكلات الأنماط
Debug why styles from theme.json are not appearing in the Site Editor. Check style hierarchy and user overrides

Mejores prácticas

  • شغّل detect_block_themes للتحقق من جذر القالب الصحيح قبل إجراء التغييرات
  • افهم تسلسل الأنماط: core defaults → theme.json → child theme → user customizations
  • اختبر التغييرات في Site Editor والواجهة الأمامية لتأكيد تطبيق الأنماط بشكل صحيح

Evitar

  • تحرير theme.json دون فهم تسلسل الأنماط
  • إنشاء قوالب دون التحقق من الأنماط والاتفاقيات الحالية
  • تفعيل قالب جديد دون التحقق من إعدادات theme.json

Preguntas frecuentes

ما إصدارات WordPress المدعومة؟
يستهدف WordPress 6.9+ مع مخطط theme.json الإصدار 3. الإصدارات الأقدم تستخدم مخططات مختلفة.
ما هي إصدارات theme.json؟
يمتلك theme.json إصدارات مخطط. الإصدار 3 يتطلب WordPress 6.9+. استخدم الإصدار 2 لـ 6.4-6.8.
كيف تتكامل هذه المهارة مع الأدوات الأخرى؟
يتكامل مع wp-project-triage لاكتشاف المشروع. قد تكون هناك حاجة إلى WP-CLI لبعض سير العمل.
هل تعدّل هذه المهارة ملفاتي؟
لا. هذه المهارة تقدم إرشادات ومراجع. لا تكتب إلى الملفات ولا تنفذ عمليات غير آمنة.
لماذا لا تُطبق أنماط theme.json الخاصة بي؟
تحقق من: تعديل القالب الصحيح، صحة صياغة JSON، عدم تجاوز تخصيصات المستخدم، وتسلسل الأنماط الصحيح.
كيف تختلف تنويعات الأنماط عن theme.json؟
تنويعات الأنماط (styles/*.json) هي إعدادات مسبقة قابلة للاختيار من المستخدم. بعد اختيارها، يُخزَّن الاختيار في قاعدة البيانات.

Detalles del desarrollador