Skip to content

Comments

feat: add woocommerce-webhooks skill#25

Merged
leggetter merged 8 commits intomainfrom
feat/woocommerce-webhooks
Feb 5, 2026
Merged

feat: add woocommerce-webhooks skill#25
leggetter merged 8 commits intomainfrom
feat/woocommerce-webhooks

Conversation

@leggetter
Copy link
Collaborator

Summary

  • Add webhook handling skill for WooCommerce webhooks
  • Includes SKILL.md, reference docs (overview, setup, verification)
  • Examples for Express, Next.js, and FastAPI with comprehensive tests
  • Integration updates: CI workflow, README, test scenarios

Notes

WooCommerce uses HMAC-SHA256 signature verification via the X-WC-Webhook-Signature header. The signature is base64-encoded HMAC of the raw payload using the webhook secret.

Generated using Copilot CLI with claude-sonnet-4 model as part of CLI adapter testing.

Test plan

  • Express tests pass (11 tests)
  • Next.js tests pass (10 tests)
  • FastAPI tests pass (10 tests)

Made with Cursor

leggetter and others added 6 commits February 5, 2026 14:29
Resolve conflicts:
- test-examples.yml: Keep dynamic matrix detection from main
- test-agent-scenario.sh: Merge scenario lists, add woocommerce-express

Co-authored-by: Cursor <cursoragent@cursor.com>
- Add woocommerce entry to providers.yaml with documentation URLs
- Update validate-provider.sh to handle dynamic detection workflow

The test-examples.yml now uses dynamic detection to auto-discover
providers from the skills directory, so the validation script no
longer needs to check for hardcoded provider names in the workflow.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>

# Conflicts:
#	providers.yaml
#	scripts/test-agent-scenario.sh
#	scripts/validate-provider.sh
test-agent-scenario.sh now reads scenarios from providers.yaml instead
of hardcoding them. Update validation to check for testScenario in
providers.yaml instead of grepping test-agent-scenario.sh.

Co-authored-by: Cursor <cursoragent@cursor.com>
Only start the Express server when the file is run directly,
not when imported for testing. This prevents open handles
from causing Jest to hang after tests complete.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>

# Conflicts:
#	README.md
#	providers.yaml
@leggetter leggetter merged commit ace6699 into main Feb 5, 2026
6 checks passed
@leggetter leggetter deleted the feat/woocommerce-webhooks branch February 5, 2026 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant