* add libreoffice skill and +29 workflow bundles. * Add documentation for workflow bundles Added comprehensive documentation for workflow bundles, detailing granular and consolidated bundles across various development scenarios including frontend, backend, WordPress, system administration, security testing, AI/ML, cloud/DevOps, database, testing/QA, and LibreOffice skills. * add readme for workflow bundles. correct descriptions of libreoffice skills and match them with folder names. * add readme for workflow bundles. correct descriptions of libreoffice skills and match them with folder names. * Simplify LibreOffice skill names in README * Refactor LibreOffice Base skill to LibreOffice Writer Updated the skill from LibreOffice Base to LibreOffice Writer, modifying the name, description, and core capabilities. Adjusted workflows and examples to reflect document creation and automation. * Rename skill from Writer to Base and update capabilities Updated the LibreOffice skill from Writer to Base, reflecting changes in functionality related to database management and operations. * Revise LibreOffice Calc skill details and capabilities Updated the LibreOffice Calc skill description and removed outdated sections. Streamlined capabilities and workflows while maintaining essential information. * Refine LibreOffice Draw skill details and capabilities Updated the LibreOffice Draw skill description and capabilities. Removed flowchart automation example and adjusted related skills. * Refine SKILL.md for LibreOffice Impress Updated the SKILL.md file for LibreOffice Impress to refine the name and description, streamline core capabilities, and adjust related skills. * Refine LibreOffice Writer skill details and capabilities Updated the LibreOffice Writer skill description and capabilities. Simplified the name and improved clarity in the core capabilities section. * chore: sync generated registry files [ci skip] * feat: add Game Development Expansion Bundle (Bevy ECS, GLSL, Godot 4 Migration) --------- Co-authored-by: Munir Abbasi <munir@ayubmed.edu.pk> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
4.4 KiB
4.4 KiB
name, description, source, risk, domain, category, version
| name | description | source | risk | domain | category | version |
|---|---|---|---|---|---|---|
| wordpress-plugin-development | WordPress plugin development workflow covering plugin architecture, hooks, admin interfaces, REST API, and security best practices. | personal | safe | wordpress-development | granular-workflow-bundle | 1.0.0 |
WordPress Plugin Development Workflow
Overview
Specialized workflow for creating WordPress plugins with proper architecture, hooks system, admin interfaces, REST API endpoints, and security practices.
When to Use This Workflow
Use this workflow when:
- Creating custom WordPress plugins
- Extending WordPress functionality
- Building admin interfaces
- Adding REST API endpoints
- Integrating third-party services
Workflow Phases
Phase 1: Plugin Setup
Skills to Invoke
app-builder- Project scaffoldingbackend-dev-guidelines- Backend patterns
Actions
- Create plugin directory structure
- Set up main plugin file with header
- Implement activation/deactivation hooks
- Set up autoloading
- Configure text domain
Copy-Paste Prompts
Use @app-builder to scaffold a new WordPress plugin
Phase 2: Plugin Architecture
Skills to Invoke
backend-dev-guidelines- Architecture patterns
Actions
- Design plugin class structure
- Implement singleton pattern
- Create loader class
- Set up dependency injection
- Configure plugin lifecycle
Copy-Paste Prompts
Use @backend-dev-guidelines to design plugin architecture
Phase 3: Hooks Implementation
Skills to Invoke
wordpress-penetration-testing- WordPress patterns
Actions
- Register action hooks
- Create filter hooks
- Implement callback functions
- Set up hook priorities
- Add conditional hooks
Copy-Paste Prompts
Use @wordpress-penetration-testing to understand WordPress hooks
Phase 4: Admin Interface
Skills to Invoke
frontend-developer- Admin UI
Actions
- Create admin menu
- Build settings pages
- Implement options registration
- Add settings sections/fields
- Create admin notices
Copy-Paste Prompts
Use @frontend-developer to create WordPress admin interface
Phase 5: Database Operations
Skills to Invoke
database-design- Database designpostgresql- Database patterns
Actions
- Create custom tables
- Implement CRUD operations
- Add data validation
- Set up data sanitization
- Create data upgrade routines
Copy-Paste Prompts
Use @database-design to design plugin database schema
Phase 6: REST API
Skills to Invoke
api-design-principles- API designapi-patterns- API patterns
Actions
- Register REST routes
- Create endpoint callbacks
- Implement permission callbacks
- Add request validation
- Document API endpoints
Copy-Paste Prompts
Use @api-design-principles to create WordPress REST API endpoints
Phase 7: Security
Skills to Invoke
wordpress-penetration-testing- WordPress securitysecurity-scanning-security-sast- Security scanning
Actions
- Implement nonce verification
- Add capability checks
- Sanitize all inputs
- Escape all outputs
- Secure database queries
Copy-Paste Prompts
Use @wordpress-penetration-testing to audit plugin security
Phase 8: Testing
Skills to Invoke
test-automator- Test automationphp-pro- PHP testing
Actions
- Set up PHPUnit
- Create unit tests
- Write integration tests
- Test with WordPress test suite
- Configure CI
Copy-Paste Prompts
Use @test-automator to set up plugin testing
Plugin Structure
plugin-name/
├── plugin-name.php
├── includes/
│ ├── class-plugin.php
│ ├── class-loader.php
│ ├── class-activator.php
│ └── class-deactivator.php
├── admin/
│ ├── class-plugin-admin.php
│ ├── css/
│ └── js/
├── public/
│ ├── class-plugin-public.php
│ ├── css/
│ └── js/
├── languages/
└── vendor/
Quality Gates
- Plugin activates without errors
- All hooks working
- Admin interface functional
- Security measures implemented
- Tests passing
- Documentation complete
Related Workflow Bundles
wordpress- WordPress developmentwordpress-theme-development- Theme developmentwordpress-woocommerce- WooCommerce