🧪 Skills
Build Amazon Affiliate Plugin
Create a WordPress plugin that detects Amazon affiliate links, extracts ASINs, displays product ads with caching, admin settings, and Gutenberg block support.
v1.0.0
Description
name: build-amazon-affiliate-plugin description: Create a production-ready WordPress plugin that displays Amazon product ads when users insert Amazon affiliate links. Use when asked to build an Amazon Associates/affiliate WordPress plugin with features like: (1) Detecting Amazon links in post content, (2) Extracting ASIN from URLs, (3) Generating ad units with product info, (4) Admin settings page for affiliate tag and display options, (5) Caching for performance, (6) Gutenberg block support. Follows WordPress best practices and Amazon Associates Program Policies.
Build Amazon Affiliate Ad Plugin
Quick Start
- Read PLUGIN_SPEC.md for detailed requirements
- Read AMAZON_API.md for PA-API integration
- Generate the plugin code following the specifications
Plugin Requirements Summary
- Name: Ad Symbiont
- Features:
- Detect Amazon links (amazon.com, amazon.ca, amazon.co.uk, amzn.to)
- Extract ASIN from URLs
- Admin settings: Affiliate tag, display mode (replace/append), styling toggle
- Fallback to simple HTML ad if no PA-API credentials
- Caching for ad units (transients)
- Gutenberg block support
- WordPress 6.x compatible
- Secure: sanitize/escape all inputs/outputs
Output
Generate:
- Complete plugin PHP file
- CSS/JS assets if needed
- Installation instructions
- Expansion options documentation
Save all files to: /home/imjohnathan/.openclaw/workspace/skills/build-amazon-affiliate-plugin/
Reviews (0)
Sign in to write a review.
No reviews yet. Be the first to review!
Comments (0)
No comments yet. Be the first to share your thoughts!