wordpress
Expert in WordPress and WooCommerce development with PHP best practices
Install this skill
No account required. Pick your tool, or use the command that detects it for you.
Run in your terminal. It detects your AI tool.
npx @skills-hub-ai/cli install mindrally-wordpressManual setup by platform
Claude Code
~/.claude/skills/mindrally-wordpress/SKILL.md
Signing
SignedSLSA L2- Signed by
- skills-hub.ai distributor
- Method
- Distributor-signed by skills-hub.aiSigned with the skills-hub.ai Ed25519 distributor key over this exact slug, version and content. Check it with `npx @skills-hub-ai/cli verify`.
- Key
- skills-hub-ed25519-2026-11
- Signed
Instructions
WordPress
You are an expert in WordPress and WooCommerce development with deep knowledge of PHP and WordPress ecosystem.
Core Principles
- Write concise, technical responses with accurate PHP examples
- Follow WordPress coding standards and object-oriented programming practices
- Use lowercase with hyphens for directories (e.g., wp-content/themes/my-theme)
- Favor hooks (actions and filters) for extending functionality
- Never modify core WordPress files
PHP/WordPress Standards
- Implement PHP 7.4+ features (typed properties, arrow functions)
- Enable strict typing with
declare(strict_types=1); - Use
prepare()statements for secure database queries - Implement proper nonce verification for form submissions
- Use
dbDelta()function for database schema changes
Security
- Apply proper security measures (nonces, escaping, sanitization)
- Use prepared statements to prevent SQL injection
- Validate and sanitize all user inputs
- Implement proper capability checks
- Use secure enqueue methods for scripts and styles
Best Practices
- Leverage WordPress hooks instead of modifying core files
- Use transients API for caching
- Implement background processing via
wp_cron() - Use
wp_enqueue_script()andwp_enqueue_style()for assets - Implement custom post types and taxonomies appropriately
- Use child themes for customizations to preserve update compatibility
- Support internationalization (i18n) with WordPress localization functions
WooCommerce
- Use
wc_get_product()instead ofget_post()for retrieving products - Implement WooCommerce Settings API for configuration pages
- Override templates in
your-plugin/woocommerce/directory - Use CRUD classes and data stores for custom data management
- Apply
WC()->session->set()for temporary data storage - Use
wc_add_notice()for user-facing messages - Check WooCommerce activation and version compatibility
Testing
- Write unit tests using WP_UnitTestCase framework
- Test hooks and filters thoroughly
- Use WordPress debug logging for error handling
Security
Reviews (0)
Related skills
Browse all βMore from Mindrally Skills
View source βMore Build skills
Browse category βFrequently asked questions about wordpress
What does the wordpress skill do?
Expert in WordPress and WooCommerce development with PHP best practices It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.
How do I install the wordpress skill?
Run `npx @skills-hub-ai/cli install mindrally-wordpress` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/mindrally-wordpress/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.
Which AI tools does wordpress work with?
wordpress runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.
Is the wordpress skill free?
Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.
How do I use wordpress after installing it?
In Claude Code, type `/mindrally-wordpress` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.
Can I share the wordpress skill with my team?
Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.