New Product Migration Protocol
The Master SOP: How to migrate a raw idea into the Instant Ship™ engine.
🚀 New Product Migration Protocol: From Zero to Global Authority
Objective: To systematically migrate a new product requirement into the Instant Ship™ ecosystem. Philosophy: This protocol merges the G+L+C Engineering Stack with the Marketing SOPs to ensure you don't just ship code, but ship a market-ready asset.
Phase 1: Strategic Reconnaissance (Marketing SOP Module A)
Stop! Do not touch the code yet. Before you prompt the AI, you must define the target.
- Execute Keyword Research Protocol:
- Open
docs/templates-sop/keyword-research-protocol.md. - Identify 3 Seed Keywords (e.g., "AI Resume Builder").
- Identify the Search Intent (e.g., "Transactional - Users want to download a PDF").
- Open
- Define the Identity:
- Based on
docs/templates-sop/ads-critique-*.md, define your "Founder Story". - Why are you building this? What is the villain (The Mainstream Trap)?
- Based on
Output: A 1-page "Content Brief" defining the Product Name, Domain, and Core Value Proposition.
Phase 2: The Clean Slate & Design Definition
Goal: Prepare the vessel and define the visual language.
- Global Config (
site.config.ts):- Update
name,domain, anddescription. - Crucial: Inject the keywords identified in Phase 1 into the
translations.en.keywordsfield.
- Update
- The Design Airlock (MANDATORY):
- Context: A PRD without a Design System leads to inconsistent "Frankenstein UI".
- Action: Before generating UI code, you MUST define the Design System.
- Task: Create a specification file (e.g.,
specs/design/v2-system.md) that explicitly defines:- Semantic Tokens: Colors, Spacing, Radius.
- Component Atoms: Button styles, Card styles, Input states.
- Reference: See
docs/product/design-airlock-protocol.
- Visual Alchemy (
tailwind.config.js):- Upload a mood board image to Google AI Studio.
- Prompt: "Extract the semantic color palette from this image for a Tailwind config."
- Replace
theme.extend.colors.primarywith your new brand color defined in step 2.
- Clean the Routes:
- Remove demo components from
routes/$lang.index.tsx. - Update
i18n.tswith your new product copy.
- Remove demo components from
Phase 3: The "Vision" Injection (Google AI Studio)
Goal: Generate the UI Shell (The "G" in GLC).
- The Prompt:
- Upload your UI sketch or reference screenshot to Google AI Studio.
- System Instruction: "You are an expert React 19 Architect. Output a responsive component using Tailwind CSS. Strictly adhere to the design tokens defined in Phase 2. Use
bg-primary,bg-surfacesemantic tokens. Do not use hardcoded hex values."
- The File Creation:
- Create
routes/$lang.feature-name.tsx. - Paste the Gemini-generated code.
- Wrap it in the Instant Ship Layout structure.
- Create
Phase 4: The "Logic" Injection (Lovable)
Goal: Breathe life into the shell (The "L" in GLC).
- The Handoff:
- Copy your new
feature-name.tsxcontent. - Paste it into Lovable.
- Copy your new
- Natural Language Backend:
- Prompt: "Connect this form to a Supabase table named 'submissions'."
- Prompt: "Add a Stripe checkout button for a $19 one-time payment."
- The Reverse Sync:
- Lovable will generate the
supabaseClienthooks and API calls. - Manual Step: Copy the logic hooks back into your local Instant Ship project (e.g.,
hooks/useSupabase.ts). - Note: Ensure you set up the environment variables (
VITE_SUPABASE_URL, etc.) in.env(andenv.mdfor safety).
- Lovable will generate the
Phase 5: Authority & SEO Injection (SOP Modules B & E)
Goal: Ensure the new product is visible to AI and Humans.
- Register the Route:
- Add your new route path to
site.config.ts->routesarray. - This triggers the automatic generation of
sitemap.xmlandrobots.txt.
- Add your new route path to
- GEO Optimization:
- Run
node scripts/ai-seo-optimizer.mjs. - This updates
llms.txtto include your new feature's context for AI crawlers.
- Run
- Content Calendar:
- Use
docs/templates-sop/content-calendar-template.md. - Plan 3 "Money Pages" (e.g., "Alternative to X") to support the launch.
- Use
Phase 6: The "Launch" Ritual (Cloudflare)
Goal: Global Distribution (The "C" in GLC).
- Pre-Flight Check:
- Run
npm run check-i18n(No missing translation keys). - Run
npm run build(Ensure no type errors).
- Run
- Push to Git:
git push origin main.
- Verify:
- Check Cloudflare Pages dashboard for build success.
- Verify Analytics (GA4/Clarity) are receiving data.
Summary: You have moved from a Keyword (Phase 1) -> to a Design System (Phase 2) -> to a Visual (Phase 3) -> to a Logic (Phase 4) -> to a Global Asset (Phase 6). Slay the delay.