wp-block-themes
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.
Baixar o ZIP da skill
Upload no Claude
Vá em Configurações → Capacidades → Skills → Upload skill
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 RiscoThis 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.
Problemas de Risco Médio (1)
Fatores de risco
📁 Acesso ao sistema de arquivos (1)
Pontuação de qualidade
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
Run detect_block_themes to find all theme.json files in this repository and identify which are block themes
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
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?
Was sind theme.json-Versionen?
Wie integriert sich diese Skill mit anderen Tools?
Ändert diese Skill meine Dateien?
Warum werden meine theme.json-Stile nicht angewendet?
Wie unterscheiden sich Style-Varianten von theme.json?
Detalhes do Desenvolvedor
Estrutura de arquivos