Skip to content
Back to skills

Build Amazon Affiliate Plugin

ASecurity

"Create a production-ready WordPress plugin that displays Amazon

  • 16 stars
  • 0 votes
  • 0 copies
  • 8 views
  • Added June 7, 2026
documentationphpapiperformancedocumentation

Works with

  • api

Security analysis

A100/100

Pro scans all 11 files and shows the line behind each finding

Scanned June 7, 2026

npx -y skills add modbender/skill-library-mcp --skill build-amazon-affiliate-plugin --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Build Amazon Affiliate Plugin?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Build Amazon Affiliate Plugin
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-build-amazon-affiliate-plugin/badge)](https://www.skillsdirectory.com/skills/modbender-build-amazon-affiliate-plugin)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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](references/PLUGIN_SPEC.md) for detailed requirements
2. Read [AMAZON_API.md](references/AMAZON_API.md) for PA-API integration
3. 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:
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/`

Files in this skill

  • SKILL.md1.5 KB
  • assets/plugin/assets/blocks/build/index.js2.4 KB
  • assets/plugin/assets/blocks/package.json523 B
  • assets/plugin/assets/blocks/src/index.js4.5 KB
  • assets/plugin/assets/css/admin.css797 B
  • assets/plugin/assets/css/block-editor.css815 B
  • assets/plugin/assets/css/block.css347 B
  • assets/plugin/assets/js/admin.js1.3 KB
  • assets/plugin/readme.txt3 KB
  • references/AMAZON_API.md3.7 KB
  • references/PLUGIN_SPEC.md5.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.