wordpress-theme-development
12
总安装量
12
周安装量
#25900
全站排名
安装命令
npx skills add https://github.com/sickn33/antigravity-awesome-skills --skill wordpress-theme-development
Agent 安装分布
codex
12
opencode
11
gemini-cli
11
github-copilot
11
kimi-cli
11
amp
11
Skill 文档
WordPress Theme Development Workflow
Overview
Specialized workflow for creating custom WordPress themes from scratch, including modern block editor (Gutenberg) support, template hierarchy, and responsive design.
When to Use This Workflow
Use this workflow when:
- Creating custom WordPress themes
- Converting designs to WordPress themes
- Adding block editor support
- Implementing custom post types
- Building child themes
Workflow Phases
Phase 1: Theme Setup
Skills to Invoke
app-builder– Project scaffoldingfrontend-developer– Frontend development
Actions
- Create theme directory structure
- Set up style.css with theme header
- Create functions.php
- Configure theme support
- Set up enqueue scripts/styles
Copy-Paste Prompts
Use @app-builder to scaffold a new WordPress theme project
Phase 2: Template Hierarchy
Skills to Invoke
frontend-developer– Template development
Actions
- Create index.php (fallback template)
- Implement header.php and footer.php
- Create single.php for posts
- Create page.php for pages
- Add archive.php for archives
- Implement search.php and 404.php
Copy-Paste Prompts
Use @frontend-developer to create WordPress template files
Phase 3: Theme Functions
Skills to Invoke
backend-dev-guidelines– Backend patterns
Actions
- Register navigation menus
- Add theme support (thumbnails, RSS, etc.)
- Register widget areas
- Create custom template tags
- Implement helper functions
Copy-Paste Prompts
Use @backend-dev-guidelines to create theme functions
Phase 4: Custom Post Types
Skills to Invoke
wordpress-penetration-testing– WordPress patterns
Actions
- Register custom post types
- Create custom taxonomies
- Add custom meta boxes
- Implement custom fields
- Create archive templates
Copy-Paste Prompts
Use @wordpress-penetration-testing to understand WordPress CPT patterns
Phase 5: Block Editor Support
Skills to Invoke
frontend-developer– Block development
Actions
- Enable block editor support
- Register custom blocks
- Create block styles
- Add block patterns
- Configure block templates
Copy-Paste Prompts
Use @frontend-developer to create custom Gutenberg blocks
Phase 6: Styling and Design
Skills to Invoke
frontend-design– UI designtailwind-patterns– Tailwind CSS
Actions
- Implement responsive design
- Add CSS framework or custom styles
- Create design system
- Implement theme customizer
- Add accessibility features
Copy-Paste Prompts
Use @frontend-design to create responsive theme design
Phase 7: Testing
Skills to Invoke
playwright-skill– Browser testingwebapp-testing– Web app testing
Actions
- Test across browsers
- Verify responsive breakpoints
- Test block editor
- Check accessibility
- Performance testing
Copy-Paste Prompts
Use @playwright-skill to test WordPress theme
Theme Structure
theme-name/
âââ style.css
âââ functions.php
âââ index.php
âââ header.php
âââ footer.php
âââ sidebar.php
âââ single.php
âââ page.php
âââ archive.php
âââ search.php
âââ 404.php
âââ comments.php
âââ template-parts/
âââ inc/
âââ assets/
â âââ css/
â âââ js/
â âââ images/
âââ languages/
Quality Gates
- All templates working
- Block editor supported
- Responsive design verified
- Accessibility checked
- Performance optimized
- Cross-browser tested
Related Workflow Bundles
wordpress– WordPress developmentwordpress-plugin-development– Plugin developmentwordpress-woocommerce– WooCommerce