π¦ ClawHub
Build Amazon Affiliate Plugin
by @imjohnathanblog-spec
Create a WordPress plugin that detects Amazon affiliate links, extracts ASINs, displays product ads with caching, admin settings, and Gutenberg block support.
TERMINAL
clawhub install build-amazon-affiliate-pluginπ About This Skill
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
1. Read PLUGIN_SPEC.md for detailed requirements 2. Read AMAZON_API.md for PA-API integration 3. Generate the plugin code following the specifications
Plugin Requirements Summary
Output
Generate: 1. Complete plugin PHP file 2. CSS/JS assets if needed 3. Installation instructions 4. Expansion options documentation
Save all files to: /home/imjohnathan/.openclaw/workspace/skills/build-amazon-affiliate-plugin/
π‘ Examples
1. Read PLUGIN_SPEC.md for detailed requirements 2. Read AMAZON_API.md for PA-API integration 3. Generate the plugin code following the specifications