lightspeedwp/.github/wordpress-section-style-generator
Claude Code and agent skill by lightspeedwp/.github
- community
Checking that the SKILL.md file is still in the repository.
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.
Install
npx vskill@latest install lightspeedwp/.github/wordpress-section-style-generatorSKILL.md
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
- 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-hero--soft-contrast { padding-block: var(--wp--preset--spacing--xl); background: var(--wp--preset--color--base-2); color: var(--wp--preset--color--contrast); }
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
- keep the output focused on a layout zone
- avoid drifting into full footer template composition
Test prompt: boundary case
Prompt:
Register a button outline variation forcore/button.
Expected behaviour:
- do not treat this as section-style work
- route to the block-style generator
- optionally note that block and section styles are different layers
References
references/workflow.mdreferences/wordpress-rules.mdreferences/output-templates.mdreferences/qa-rubric.md
_This page brought to you by the 🦄 Magic Automation Unicorns of LightSpeedWP._ Automation Docs
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/design-md-agent/wordpress-section-style-generator/SKILL.md
Popularity
- Repository stars
- 20
- Repository forks
- 3
- 7-day trend score
- 13
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/lightspeedwp/.github/wordpress-section-style-generator)