Install via Claude Code
If you use Claude Code, this is the fastest path. One prompt hands off the entire installation to the AI — it reads the install guide, applies the changes to your project, and tells you exactly what to do in the Vercel dashboard.
The prompt
Open Claude Code in your Next.js project directory, then paste:
Install shadow-canary on this project by followinghttps://mus-inn.github.io/shadow-canary/llms-install.md
When you need the following, ask me:- Vercel Project ID- Vercel Org/Team ID- Vercel Edge Config Store ID (create one in Vercel Storage if needed)- Admin password (or generate one)That is all. Claude Code will read the install guide and get to work.
What Claude Code will do
Claude Code works through the install guide and performs these steps automatically:
- Copies the three GitHub Actions workflows into
.github/workflows/ - Creates or merges
middleware.tswith the shadow-canary routing logic - Adds the required environment variable declarations to your project
- Creates the
/debugpage and the/admindashboard pages - Creates the
/api/slostub endpoint - Updates
next.config.ts/vercel.jsonas needed - Generates a random
ADMIN_SESSION_SECRET - Provides exact values for all secrets and env vars you need to set
What you must still do manually
These steps require clicking in dashboards — Claude Code cannot do them for you:
- Vercel dashboard — Set Production Branch to
production, turn Auto-assign OFF, enable Skew Protection (7 days), configure Deployment Protection. - Edge Config — Create a store, link it to your project, copy the store ID.
- GitHub secrets — Add
VERCEL_TOKEN,VERCEL_ORG_ID,VERCEL_PROJECT_ID,VERCEL_EDGE_CONFIG_ID, and optionallySLACK_WEBHOOK_URL. - Vercel env vars — Add
VERCEL_API_TOKEN,VERCEL_ORG_ID,VERCEL_EDGE_CONFIG_ID,ADMIN_USER,ADMIN_PASS,ADMIN_SESSION_SECRET. - Branch rename — Rename your default branch from
maintomasterif needed (GitHub Settings > Branches), or update the workflow triggers to match your branch name.
Alternative: install the skill for ongoing operations
For long-term use — not just one-off installation — install the shadow-canary skill into Claude Code:
npx @dotworld/shadow-canary-skill installThis registers the /shadow-canary slash command. Once installed, you can run:
/shadow-canary:install/shadow-canary:status/shadow-canary:rollback/shadow-canary:pauseThe skill knows your project’s Edge Config ID and Vercel token from the environment, so it can operate the canary without you providing them each time.
See the skill package README for the full command list.
Related:
- Prerequisites — Vercel plan requirements before running the prompt
- Migration (manual) — the full manual path if you prefer to understand each step
- Quickstart — greenfield setup with step-by-step instructions