wordpress-section-style-generator
БесплатноБез исполняемых скриптовНе проверенcreate wordpress section styles, layout-zone styling guidance and reusable css or theme.json strategies for larger page sections in block themes. use when the…
от lightspeedwp★ 20 звёзд на GitHubОб этом скилле
WordPress Section Style Generator
Purpose
Generate reusable styling strategies for larger layout sections in a WordPress block theme.
This skill creates:
- section-level styling guidance
- reusable CSS for layout zones
theme.jsonguidance where block theme settings fit the need- naming and structure guidance for reusable section treatments
It is for page bands and layout zones that extend beyond a single block style, while still staying more focused than full template generation.
Trigger Conditions
Use this skill when the request is about:
- styling hero sections, feature bands, footers, callout areas, or other reusable sections
- defining a visual treatment shared across a type of page section
- generating CSS or
theme.jsonguidance for section-level design treatments - establishing reusable section naming and styling conventions in a block theme
Do not use this skill for:
- styling one specific block only
- building full templates
- generating full pattern files
- validation-only review work
Those belong to the relevant specialist skills.
Inputs
Accept any mix of:
- section purpose or name
- visual description
- theme conventions
- layout constraints
- token or preset requirements
- CSS requirements
- Figma handoff notes
- repository examples
If naming or implementation direction is unclear, use wordpress-asset-parameter-generator behavior first and state assumptions.
Fast Decision Flow
- Identify the section type and reuse scope.
- Decide the lightest fitting implementation:
- section-level CSS guidance
theme.jsonsettings guidance- a hybrid of presets plus scoped custom CSS
- Normalize the section style name and related class naming if needed.
- Generate the styling output.
- Mark anything that should be reviewed by
wordpress-block-asset-validator.
Workflow
- Inspect the request and capture confirmed facts.
- Identify the section role:
- hero
- feature band
- callout strip
- footer zone
- another reusable layout area
- Normalize:
- style name
- related class naming when needed
- token or preset references
- Prefer native theme settings and presets before hardcoded values.
- Generate:
- CSS or
theme.jsonguidance - usage notes
- section naming guidance
- CSS or
- Return assumptions and validation notes.
Section Style Rules
- Keep section styles scoped to a reusable layout zone or page band.
- Prefer presets and existing theme tokens before hardcoded values.
- Use stable, readable section names.
- Use custom classes only when they materially help the section treatment.
- When custom classes are needed, BEM-style naming is acceptable if it improves clarity.
- Do not absorb full template composition into section-style work.
- Do not collapse single-block style requests into section-style outputs.
Output Format
By default, return:
- the section target
- the section style name
- CSS or
theme.jsonguidance - usage notes
- assumptions
- validation notes
Example output shape:
## Section target
Hero band
## Style definition
- Name: Soft Contrast Hero
- Class: section-hero--soft-contrast
## CSS guidance
```css
.section-hero--soft-contrast {
padding-block: var(--wp--preset--spacing--xl);
background: var(--wp--preset--color--base-2);
color: var(--wp--preset--color--contrast);
}
```
## Usage notes
- Apply to reusable hero container patterns or section wrappers.
## Assumptions
- The theme already exposes the referenced spacing and color presets.
## Validation notes
- Confirm preset names and section wrapper usage.
- Run validator review before commit.
Safe Defaults
- use readable section names
- prefer preset-driven CSS before hardcoded values
- keep CSS scoped to the reusable section treatment
- align naming with the section’s editorial or layout role
Failure Modes And Escalation
Escalate briefly when:
- the request is really a single-block style request
- the request is actually for a full template or pattern
- the visual treatment depends on unavailable presets or design tokens
- the prompt lacks enough information to distinguish a reusable section treatment from a one-off page layout
In those cases, ask at most one focused question or return a safe scaffold with explicit assumptions.
Test Prompts
Test prompt: hero section treatment
Prompt:
Create a reusable Warm Editorial Hero section style for a block theme. Prefer theme presets over hardcoded values and assume it will be used by multiple hero patterns.
Expected behaviour:
- treat this as section-level styling, not a single block style
- generate a reusable section style name
- provide scoped CSS or theme guidance
- mention that it can be applied via patterns or wrappers
Test prompt: footer zone style
Prompt:
Build a quiet footer zone styling treatment with tighter spacing and lower visual contrast for a block theme.
Expected behaviour:
- generate reusable section styling guidance
- ke
Установить wordpress-section-style-generator в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл wordpress-section-style-generator?
create wordpress section styles, layout-zone styling guidance and reusable css or theme.json strategies for larger page sections in block themes. use when the user asks to define styling for hero areas, content bands, footers, feature sections or other reusable layout sections that span beyond a single block.
Как установить скилл wordpress-section-style-generator?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл wordpress-section-style-generator запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic