wp-block-themes
Develop WordPress block themes with expert guidance
WordPress block themes use theme.json for global settings and styles. This skill provides expert guidance for theme.json configuration, template creation, pattern management, and debugging styling issues in the Site Editor.
์คํฌ ZIP ๋ค์ด๋ก๋
Claude์์ ์ ๋ก๋
์ค์ โ ๊ธฐ๋ฅ โ ์คํฌ โ ์คํฌ ์ ๋ก๋๋ก ์ด๋
ํ ๊ธ์ ์ผ๊ณ ์ฌ์ฉ ์์
ํ ์คํธํด ๋ณด๊ธฐ
"wp-block-themes" ์ฌ์ฉ ์ค์ ๋๋ค. Find all block themes in this repository
์์ ๊ฒฐ๊ณผ:
- 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
"wp-block-themes" ์ฌ์ฉ ์ค์ ๋๋ค. Help me configure theme.json settings
์์ ๊ฒฐ๊ณผ:
- 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.
"wp-block-themes" ์ฌ์ฉ ์ค์ ๋๋ค. Why are my styles not applying
์์ ๊ฒฐ๊ณผ:
- 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
๋ณด์ ๊ฐ์ฌ
๋ฎ์ ์ํ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.
์ค๊ฐ ์ํ ๋ฌธ์ (1)
์ํ ์์ธ
๐ ํ์ผ ์์คํ ์ก์ธ์ค (1)
ํ์ง ์ ์
๋ง๋ค ์ ์๋ ๊ฒ
Configure theme.json
Set up global settings, presets, typography, colors, and per-block styles in theme.json
Create block templates
Build HTML templates and template parts for block-based WordPress themes
Debug styling issues
Resolve styles not applying, editor mismatch, and style hierarchy problems
์ด ํ๋กฌํํธ๋ฅผ ์ฌ์ฉํด ๋ณด์ธ์
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
๋ชจ๋ฒ ์ฌ๋ก
- 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
ํผํ๊ธฐ
- 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
์์ฃผ ๋ฌป๋ ์ง๋ฌธ
What WordPress versions are supported?
What are theme.json versions?
How does this skill integrate with other tools?
Does this skill modify my files?
Why are my theme.json styles not applying?
How are style variations different from theme.json?
๊ฐ๋ฐ์ ์ธ๋ถ ์ ๋ณด
ํ์ผ ๊ตฌ์กฐ
๐ references/
๐ creating-new-block-theme.md
๐ debugging.md
๐ patterns.md
๐ style-variations.md
๐ theme-json.md
๐ scripts/
๐ SKILL.md