Habilidades wp-block-themes
🎨

wp-block-themes

Baixo Risco 📁 Acesso ao sistema de arquivos

WordPress-Block-Themes mit Expertenleitfaden entwickeln

WordPress-Block-Themes verwenden theme.json für globale Einstellungen und Stile. Diese Skill bietet Expertenleitfaden für theme.json-Konfiguration, Template-Erstellung, Pattern-Management und das Debuggen von Styling-Problemen im Site-Editor.

Suporta: Claude Codex Code(CC)
🥉 75 Bronze
1

Baixar o ZIP da skill

2

Upload no Claude

Vá em Configurações → Capacidades → Skills → Upload skill

3

Ative e comece a usar

Testar

A utilizar "wp-block-themes". Find all block themes in this repository

Resultado esperado:

  • Found 2 block themes:
  • • TwentyTwentyFive (theme.json at theme-twentytwentyfive/theme.json)
  • - Version: 3
  • - Has templates, parts, patterns, and styles folders
  • • CustomTheme (theme.json at themes/custom-theme/theme.json)
  • - Version: 3
  • - Has templates and parts folders

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

Resultado esperado:

  • For WordPress 6.9+, use theme.json version 3.
  • Key settings sections:
  • - color: palette, gradients, duotone
  • - typography: fontFamilies, fontSizes, lineHeight
  • - spacing: spacingScale, spacingUnits
  • - layout: contentSize, wideSize
  • Add presets for editor-visible controls, use styles for default appearance.

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

Resultado esperado:

  • Check the style hierarchy:
  • 1. Core defaults → 2. theme.json → 3. child theme → 4. user customizations
  • Common issues:
  • - Wrong theme edited (check Site Editor → theme)
  • - User customizations override theme defaults
  • - Invalid JSON syntax in theme.json
  • - Style variations stored in database

Auditoria de Segurança

Baixo Risco
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
Arquivos analisados
659
Linhas analisadas
2
achados
6
Total de auditorias
Problemas de Risco Médio (1)
Filesystem Read Operations for Theme Detection
Node.js fs operations for reading theme.json files

Fatores de risco

📁 Acesso ao sistema de arquivos (1)
Auditado por: claude Ver Histórico de Auditoria →

Pontuação de qualidade

68
Arquitetura
100
Manutenibilidade
85
Conteúdo
30
Comunidade
85
Segurança
91
Conformidade com especificações

O Que Você Pode Construir

theme.json konfigurieren

Globale Einstellungen, Presets, Typografie, Farben und Block-spezifische Stile in theme.json einrichten

Block-Templates erstellen

HTML-Templates und Template-Parts für blockbasierte WordPress-Themes erstellen

Styling-Probleme debuggen

Stile, die nicht angewendet werden, Editor-Mismatch und Style-Hierarchie-Probleme beheben

Tente Estes Prompts

Block-Themes erkennen
Run detect_block_themes to find all theme.json files in this repository and identify which are block themes
theme.json überprüfen
Review the theme.json file at [PATH] and suggest improvements for settings and styles
Neues Template erstellen
Create a new template file at templates/[NAME].html following WordPress block theme conventions
Style-Probleme debuggen
Debug why styles from theme.json are not appearing in the Site Editor. Check style hierarchy and user overrides

Melhores Práticas

  • Run detect_block_themes to verify the correct theme root before making changes
  • Understand style hierarchy: core defaults → theme.json → child theme → user customizations
  • Test changes in the Site Editor and frontend to confirm styles apply correctly

Evitar

  • Editing theme.json without understanding the style hierarchy
  • Creating templates without checking existing patterns and conventions
  • Activating a new theme without verifying theme.json configuration

Perguntas Frequentes

Welche WordPress-Versionen werden unterstützt?
Zielt auf WordPress 6.9+ mit theme.json Schema-Version 3. Frühere Versionen verwenden verschiedene Schema-Versionen.
Was sind theme.json-Versionen?
theme.json hat Schema-Versionen. Version 3 erfordert WordPress 6.9+. Verwende Version 2 für 6.4-6.8.
Wie integriert sich diese Skill mit anderen Tools?
Funktioniert mit wp-project-triage für Projekterkennung. WP-CLI kann für einige Workflows erforderlich sein.
Ändert diese Skill meine Dateien?
Nein. Diese Skill bietet Leitfaden und Referenzen. Sie schreibt nicht in Dateien oder führt unsichere Operationen aus.
Warum werden meine theme.json-Stile nicht angewendet?
Prüfen: korrektes Theme bearbeitet, gültige JSON-Syntax, Benutzer-Überschreibungen nicht aktiv, korrekte Style-Hierarchie.
Wie unterscheiden sich Style-Varianten von theme.json?
Style-Varianten (styles/*.json) sind vom Benutzer auswählbare Presets. Nach der Auswahl wird die Wahl in der Datenbank gespeichert.

Detalhes do Desenvolvedor

Licença

GPL-2.0-or-later

Referência

trunk