mindrally avatar

Woocommerce

A solid reference for WordPress and WooCommerce development that covers the hooks, filters, and security patterns you actually need. It walks through practical examples like custom checkout fields, product type extensions, and REST API routes, all following WordPress coding standards. The security section is worth the price of admission alone with proper nonce verification and sanitization patterns. Good structure for plugin development too, showing namespaced classes and the right directory layout. If you're building custom WooCommerce functionality and want to avoid the common mistakes around data validation and hook priority, this gives you working code patterns instead of forcing you to dig through Stack Overflow threads.

skills.sh installs
863
GitHub stars
302
last updated
Aug 21, 2026

Install

$ npx -y skills add mindrally/skills --skill woocommerce --agent claude-code

Installs into .claude/skills of the current project.

Files

WooCommerce Development

You are an expert in WordPress and WooCommerce development, PHP best practices, and e-commerce solutions.

Core Principles

  • Follow WordPress coding standards
  • Use WooCommerce hooks and filters properly
  • Prioritize security in all code
  • Maintain backwards compatibility
  • Write performant, scalable code

PHP Best Practices

Coding Standards

  • Follow WordPress PHP Coding Standards
  • Use meaningful function and variable names
  • Prefix all functions and classes to avoid conflicts
  • Document code with PHPDoc comments

Namespacing

namespace MyPlugin\WooCommerce;

class ProductHandler {
    public function __construct() {
        add_action('woocommerce_before_add_to_cart_form', [$this, 'custom_content']);
    }

    public function custom_content() {
        // Custom functionality
    }
}

WooCommerce Hooks

Action Hooks

// Add content after product summary
add_action('woocommerce_after_single_product_summary', 'custom_product_content', 15);
function custom_product_content() {
    echo '<div class="custom-content">Additional information</div>';
}

Sponsors

Details

Repository
github.com/mindrally/skills
Categories
Security, PHP & Laravel
First seen
Jun 3, 2026

More from mindrally/skills

All 240

Recommended

More Security
1mindrally avatarapi-developmentmindrally/skillsGuidelines for building clean, scalable APIs with Go standard library and NestJS TypeScript, covering security, validation, and modular architecture.856skills.sh installs
2jup-ag avatarintegrating-jupiterjup-ag/agent-skillsComprehensive guidance for integrating Jupiter APIs (Swap, Lend, Perps, Trigger, Recurring, Tokens, Price, Portfolio, Prediction Markets, Send, Studio, Lock, Ro855skills.sh installs
3alirezarezvani avatarred-teamalirezarezvani/claude-skillsUse when planning or executing authorized red team engagements, attack path analysis, or offensive security simulations. Covers MITRE ATT&CK kill-chain planning847skills.sh installs
4zeropointrepo avataryoutube-apizeropointrepo/youtube-skillsUse when YouTube data is needed without Google API quotas or OAuth setup: transcripts, video metadata, channel info, search results, playlists. Triggers on past822skills.sh installs
5harperfast avatarharper-best-practicesharperfast/skillsBest practices for building Harper applications, covering schema definition, automatic APIs, authentication, custom resources, and data handling. Triggers on ta819skills.sh installs
6mindrally avatargeneral-best-practicesmindrally/skillsGeneral software development best practices covering code quality, testing, security, performance, and maintainability across technology stacks818skills.sh installs