wordpress-asset-parameter-generator
БесплатноБез исполняемых скриптовНе проверенnormalize and generate wordpress block theme asset parameters, metadata headers, theme.json entries and starter values for patterns, template parts, templates…
от lightspeedwp★ 20 звёзд на GitHubОб этом скилле
WordPress Asset Parameter Generator
Purpose
Generate and normalize the parameters needed to create WordPress block theme assets consistently.
This skill prepares structured inputs for:
- patterns
- template parts
- templates
- custom templates
- related style tasks when they depend on asset metadata or naming
It does not generate final production asset files unless the user explicitly asks for starter scaffolds.
Trigger Conditions
Use this skill when the request is about:
- filling in missing pattern header fields
- normalizing slugs, names, titles, categories, areas, tags, or post types
- preparing a
customTemplatesentry fortheme.json - deciding which parameters are required before a specialist skill runs
- converting rough notes, Figma handoff, or a client brief into structured asset metadata
Do not use this skill as the final generator for full templates, template parts, or patterns when a specialist asset skill is more appropriate.
Inputs
Accept any mix of:
- a requested asset type
- rough asset name or purpose
- project or theme slug
- block markup notes
- Figma handoff notes
- client briefs
- repository conventions
- existing theme file examples
- known post types, block types, template types, or pattern categories
If one or two fields are missing, use safe defaults and state assumptions. Ask one focused question only when a missing value materially changes the output.
Fast Decision Flow
- Identify the asset type:
- pattern
- template part
- template
- custom template
- asset validation prep
- Extract any confirmed values from the prompt or source files.
- Apply WordPress rules for that asset type.
- Fill missing required parameters with safe defaults or explicit blanks only where the team convention requires them.
- Return structured parameters plus notes for the downstream generator or validator.
Workflow
- Inspect the source material and capture only confirmed facts.
- Determine which asset-specific parameter set is needed.
- Normalize names:
- use lowercase hyphen-case slugs
- keep human-facing titles readable
- namespace pattern slugs with the theme slug
- Apply asset rules:
- patterns use PHP file headers and metadata
- template parts map to
/parts/{slug}.html - templates map to
/templates/{name}.html - custom templates also require a
customTemplatesentry intheme.json
- Produce one of these outputs:
- parameter object
- starter header block
- starter
theme.jsonfragment - parameter checklist for missing inputs
- Flag anything that should be validated by
wordpress-block-asset-validator.
Asset Rules
Patterns
- Prefer
/patterns/*.phpauto-registration unless the user explicitly needs manual PHP registration. - Generate all supported pattern header keys:
TitleSlugCategoriesDescriptionViewport WidthInserterKeywordsBlock TypesPost TypesTemplate Types
- Use namespaced slugs such as
theme-slug/hero-default. - Default
Insertertotrueunless the pattern is implementation-only. - Prefer core categories before custom categories.
- Use blank header values only where the working convention explicitly calls for full-key headers even when data is missing.
Template Parts
- Target file path:
/parts/{slug}.html - Template parts contain block markup only.
- Use standard part slugs when appropriate:
headerfootersidebarcomments
- If a tag is needed, keep it to valid wrapping tags:
divarticleasidefooterheadermainsection
- Do not introduce a new area unless the user explicitly requests it or repository evidence supports it.
Templates
- Target file path:
/templates/{name}.html - Use block theme hierarchy-aware names such as
index,home,single,page,archive,404. index.htmlis the minimum required template for a block theme.- Templates may reference template parts and patterns.
Custom Templates
- Require both:
/templates/{name}.html- a
customTemplatesentry intheme.json
- Generate
name,title, andpostTypes. - Default
postTypestopageonly when no better evidence exists. - Include a note to add
core/post-contentwhen the template must render editable entry content.
Output Formats
Return outputs in compact, reusable forms.
Pattern Parameter Object
{
"assetType": "pattern",
"filePath": "/patterns/hero-default.php",
"title": "Hero Default",
"slug": "theme-slug/hero-default",
"categories": ["banner"],
"description": "",
"viewportWidth": "",
"inserter": true,
"keywords": [],
"blockTypes": [],
"postTypes": [],
"templateTypes": []
}
Pattern Header Scaffold
<?php
/**
* Title: Hero Default
* Slug: theme-slug/hero-default
* Categories: banner
* Description:
* Viewport Width:
* Inserter: true
* Keywords:
* Block Types:
* Post
Установить wordpress-asset-parameter-generator в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл wordpress-asset-parameter-generator?
normalize and generate wordpress block theme asset parameters, metadata headers, theme.json entries and starter values for patterns, template parts, templates and custom templates. use when the user asks to prepare asset parameters, fill required metadata, standardize headers, or scaffold block theme asset inputs before generation or validation.
Как установить скилл wordpress-asset-parameter-generator?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл wordpress-asset-parameter-generator запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic