Link Switchboard
Launch today with plain store links. The day a programme approves you, switch every button on the site to affiliate links from one admin screen.
The 9 commands inside
| C0 | Project brief (paste this first) Once, at the start of every new AI session. Fill in the {{BLANKS}} and paste it before any other command in this pack. |
| C1 | Find every outbound link (read-only) Before building. You cannot switch what you have not found. |
| C2 | Central link registry and resolver After C1. This creates the single place every button asks for its URL. |
| C3 | Move every button onto the resolver After C2 returns correct links. |
| C4 | The switch in the admin After C3. This is the screen you will use on approval day. |
| C5 | Placement tracking without junk After C4. So you learn which button positions earn, without storing raw click logs. |
| C6 | Link health check After C5. Dead buttons lose money silently. |
| C7 | Prove it works Before approval day, and again right after you switch for real. |
| C8 | Troubleshooting Something looks wrong later. Paste the brief (C0) first, then this. |
A look inside
Build the central link layer.
REGISTRY (one config record per store)
- store key, display name
- mode: plain | affiliate
- plain_template: how to build the normal public link from a product id or clean URL
- affiliate_template: how to build the affiliate link, with a placeholder for my tag / partner id
- my tag / partner id (stored with the other secrets, empty until I am approved)
- link_style: direct | via_redirect (direct when the programme requires it)
- disclosure_required: yes | no
- template_confirmed: yes | no (no until I have checked the affiliate template against the programme's documentation)
- subid_param and subid_max: the programme's tracking-id parameter name and its length limit, empty if it has none
- search_template: the store's public search URL, used as a fallback for dead product links
…First lines of command C2. The pack holds the full text of all 9 commands.
How it works
- Open START-HERE.html from the pack. Fill in your details once: your stack, your hosting limits, your numbers.
- Copy each command into your AI coding assistant, in order. The assistant reads your own project and builds the feature inside it.
- Run the test command. Go live when every case prints PASS.
What you need
- An AI coding assistant that can read and edit your project files, such as Claude Code, Cursor or Windsurf. A chat assistant you paste code into also works, more slowly.
- Access to your website's code and a test copy to try changes on first.
- A few hours, testing included.
Good to know before you buy
- This is a set of instructions for an AI assistant, not ready-made code. The assistant writes the code to fit your site, so results depend on your stack and on the assistant you use.
- Before release, the pack was run end to end by an AI coding assistant on a small PHP 8 sample project with flat files, and the test command passed every case. We have not tested other stacks; the commands are written to be stack-neutral, and the test command shows whether it worked on yours.
- The commands come in English and Vietnamese, as an offline page with copy buttons and as plain text files.
- Nothing in the pack is legal advice.
Questions
Which AI assistants does this work with?
Any assistant that can read and edit your project files: Claude Code, Cursor, Windsurf and similar tools. A chat assistant also works if you paste the relevant files in, but it is slower.
Is this code or a plugin?
Neither. It is a sequence of carefully written commands. Your assistant reads your project and writes the code to fit it, in your language and folder layout, without adding a framework.
Will it work on my stack?
The commands are written to be stack-neutral and tell the assistant to fit what already exists. We ran them end to end on a PHP 8 flat-file sample project; other stacks were not tested by us. Every pack ends with a test command that prints PASS or FAIL, so you see the result on your own site.
What does the licence allow?
One purchase covers every website you own and websites you build for clients. Reselling or sharing the commands themselves is not allowed.
How do I get the files?
After payment you receive a download link by email. It is valid for 7 days.