Woocommerce Backend Dev

🌐Community
by secondsky · vlatest · Repository

Automates WooCommerce backend development tasks like product creation, order management, and custom hook implementation using SecondSky's expertise.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add secondsky-woocommerce-backend-dev npx -- -y @trustedskills/secondsky-woocommerce-backend-dev
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "secondsky-woocommerce-backend-dev": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/secondsky-woocommerce-backend-dev"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill provides guidance for developing WooCommerce backend PHP code, ensuring adherence to project standards and conventions. It focuses on helping developers create robust and maintainable WooCommerce extensions by outlining best practices for coding style, naming conventions, dependency injection, data integrity, and unit testing. The skill leverages SecondSky's expertise in WooCommerce development to streamline the process.

When to use it

  • When creating new PHP classes or organizing files within a WooCommerce project.
  • To ensure code adheres to WordPress Coding Standards and PSR-4 autoloading conventions.
  • When implementing custom hooks within WooCommerce.
  • For guidance on writing unit tests for new WooCommerce functionality.
  • When determining the appropriate @since version annotation for new code.

Key capabilities

  • Guidance on creating new code structures (classes, file organization).
  • Enforcement of naming conventions for methods, variables, and parameters.
  • Adherence to general coding standards and best practices.
  • Documentation on hook callback conventions.
  • Instructions on dependency injection container usage.
  • Best practices for ensuring data integrity during CRUD operations.
  • Guidance on unit testing conventions.
  • Determining the next WooCommerce version number for @since annotations by inspecting includes/class-woocommerce.php.

Example prompts

  • "How should I structure a new class in my WooCommerce plugin?"
  • "What are the naming conventions for variables within a WooCommerce backend function?"
  • "Show me an example of a hook callback implementation according to project standards."

Tips & gotchas

  • Always refer to the linked documentation (file-entities.md, code-entities.md, etc.) for detailed guidance on specific aspects of development.
  • The version information is based on the trunk branch, which may be ahead of released versions.
  • Prefer using bun over npm/bunx when applicable for Node.js package management.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
secondsky
Installs
28

🌐 Community

Passed automated security scans.