Process Architecture

AI Marketing Engine

A multi-session, AI-orchestrated pipeline that transforms a single product document into a complete, deployed marketing system — research, strategy, copy, production assets, and a live showcase website.

4
Sessions
30+
AI Agents
15
Skills Invoked
8
Quality Gates
60+
Assets Created
1
Live Website
Skill Specialized knowledge module
Framework Strategic methodology
API External service
Output Deliverable file
Tool Execution script

Input

Product document, URL, or business directory

AI Marketing Engine

4 sessions · 7 phases · 30+ agents

Output

Complete marketing system + deployed showcase website

Session 1 Research & Strategy

Deep market intelligence gathering and strategic foundation — 3 phases, 7 agents

Phase 0 Product Intelligence Extraction
Sequential
📋
Product Brief Extractor
general-purpose agent
Reads the product document and extracts a structured brief: product name, category, business model, value proposition, target users, key features, pricing, competitive context, and current stage.
product_brief.md
Gate 0 → 1 — Brief validated
Phase 1 Market Research
4 Agents in Parallel

Four specialized research agents work simultaneously, each analyzing a different dimension of the market.

👤
User Avatar Analysis
general-purpose agent
Creates 2-4 detailed buyer personas with pain points, objections, buying triggers, and awareness levels.
Schwartz Awareness Scale avatars.md
Competitive Intelligence
marketing-competitive-intel
Discovers 5-8 competitors via web search. Builds positioning maps, feature matrices, and identifies messaging gaps.
Positioning Map Web Search competitive_landscape.md
💬
Voice of Customer Mining
marketing-voc-researcher
Mines Reddit, X, forums, G2, Capterra for real customer language. Builds a swipe file of power phrases, pain quotes, and objections.
Emotional Triggers Reddit / G2 / Forums voice_of_customer.md
📡
Channel & Platform Analysis
marketing-paid-ads-specialist
Identifies 3-5 highest-ROI channels with estimated CPM/CPA, content formats, and 90-day volume recommendations.
Ad Library Research channel_analysis.md
Gate 1 → 2 — 4 research docs validated
Phase 2 Strategy & Messaging
Sequential — 3 Agents

Three strategy agents work sequentially, each building on the research and the output of the previous agent.

🎯
Brand Positioning & Messaging
marketing-brand-strategist
Positioning statement, brand archetype, 3-tier messaging hierarchy, differentiators with proof points, taglines, and tone of voice guidelines.
Brand Archetype Cialdini positioning.md
🛠
Funnel Architecture
marketing-funnel-architect
Full funnel map (awareness → referral), lead magnet recommendations, email sequence structure, avatar-to-entry-point mapping, viral loops.
pricing-strategy Full Funnel Design funnel_architecture.md
🚀
Social Growth Strategy
marketing-social-media-manager
Per-platform growth playbooks, follower-to-subscriber conversion, content pillars, posting cadence, creator collaboration strategy, KPIs.
social_growth_strategy.md
Gate 2 → 3 — Strategy docs validated
↻ Session Handoff — New context window
Session 2 Asset Creation & Review

Produces all marketing copy, then runs a 3-layer quality review — 3 phases, 10 agents

Phase 3 Copy & Content Creation
7 Agents — Batched Parallel

Seven creation agents run in parallel batches (3 + 2 + 2). Each reads all research and strategy, writes copy using VoC language and avatar-specific messaging.

📄
Landing Page Copywriter
marketing-web-copywriter
Full landing page copy (hero, problem, solution, features, 15+ FAQ, CTA), pricing page, competitor comparison pages.
landing_pages/
📢
Ad Copy Strategist
marketing-paid-ads-specialist
5 ad variations per avatar per platform. Creative briefs with visual direction, targeting specs, and A/B test plans.
ads/
Email Sequence Writer
marketing-email-specialist
4 full sequences: Welcome (5-7), Nurture (5-7), Sales (5-7), Re-engagement (3-5). Each with subject line A/B variants.
emails/
📷
Social Content Producer
marketing-content-creator
30-day content calendar, 10 long-form outlines, repurposing matrix. Per-platform hooks, hashtags, and format specs.
social_content/
💼
Sales Enablement
marketing-copywriter
One-pager, 20+ FAQ with objection handling, case study template, elevator pitches (15s, 30s, 60s).
sales_enablement/
🎁
Lead Magnet Builder
lead-magnet-builder skill
Selects lead magnet type, writes all content, opt-in page copy, thank-you page, delivery email, and follow-up sequence.
lead-magnet-builder lead_magnet/
🔎
SEO Strategist
programmatic-seo + schema-markup
Keyword map, on-page SEO specs, schema recommendations, 5 buyer-intent blog outlines, internal linking plan.
programmatic-seo schema-markup seo/
Gate 3 → 4 — All 7 asset directories validated
Phase 4 Triple-Layer Quality Review
Sequential — 4 Agents

Three specialized reviewers audit every asset. Then a fix agent applies all changes directly to the source files.

🎨
Creative Director Review
marketing-creative-director
Scores hook strength, emotional impact, and scroll-stopping power. Flags generic or off-brand copy with rewrite recommendations.
Hook Scoring creative_review.md
🧠
Persuasion Audit
marketing-persuasion-analyst
Audits all assets against Cialdini's 6 principles. Scores 1-10, rewrites anything below 7.
Cialdini's 6 Principles persuasion_audit.md
📈
CRO Audit
marketing-cro-analyst
Identifies top 5 conversion leaks: form friction, CTA clarity, trust signals, load implications. Prioritized A/B test recommendations.
Conversion Friction Analysis cro_audit.md
🔧
Auto-Fix Agent
general-purpose agent
Reads all 3 review outputs and applies critical/high fixes directly to asset files. Logs every change to a changelog.
changelog.md
Phase 5 Launch Planning
Sequential — 3 Agents
📅
90-Day Launch Roadmap
marketing-strategist
Pre-launch, launch week, post-launch sustain. Week-by-week calendar with channel activation sequence and budget allocation.
launch-strategy launch_plan.md
📊
Analytics & Measurement Plan
analytics-tracking skill
UTM naming conventions, conversion events per funnel stage, KPIs per channel, attribution model, dashboard structure.
analytics-tracking analytics_plan.md
📋
Asset Index Generator
general-purpose agent
Master checklist of every asset created, organized by type, with file paths and status.
ASSET_INDEX.md
Gate 5 → 6 — Launch plan + analytics validated
↻ Session Handoff — New context window
Session 3 Asset Production

Converts all copy into production-ready files: HTML pages, generated images, PDFs, and email templates — 1 phase, 7 agents

Phase 6A Brand Assets & Cost Estimation
Sequential — Blocks all production
🎨
Brand Asset Collector & Cost Estimator
general-purpose + user interaction
Collects logo, screenshots, colors, fonts, headshots from user. Estimates Gemini image generation costs across two tiers. Requires user approval before proceeding.
Gemini API cost-tracking brand_assets/manifest.md
Cost Tiers
Premium (~$0.05/img): Hero images, primary ad creatives, key visuals
Standard (~$0.02/img): Social graphics, secondary ads, illustrations
User Approval — Cost estimate approved
Phase 6B-G Production Pipeline
6 Agents in Parallel

Six production agents transform copy into real-world assets simultaneously.

🌐
Landing Page Builder
frontend-web-design agent
Responsive HTML pages with Alpine.js + Tailwind CDN. Brand-styled, self-contained, viewable by double-clicking.
saas-sales-page frontend-design ds-animation Gemini HTML files
🎨
Ad Creative Generator
general-purpose agent
AI-generated images at platform-specific dimensions: Facebook, Instagram, Google Display, LinkedIn, X, Reddit.
generate_marketing_image.py Gemini 30-80 images
🎁
Lead Magnet Producer
pdf skill + ds-accessibility
Professional PDF with brand styling, opt-in HTML page, thank-you page. WCAG-compliant forms.
pdf ds-accessibility Gemini PDF + HTML pages
Email Template Renderer
implementation-quick agent
Browser-viewable HTML email previews. Brand header, styled CTAs, merge tag chips, plain-text versions.
20+ HTML emails
📷
Social Graphics Generator
general-purpose agent
AI-generated visuals for the 30-day calendar: post images, carousel slides, quote graphics with brand watermark.
generate_marketing_image.py Gemini 15-30 images
💼
Sales Collateral Producer
pdf skill
Professional PDFs: one-pager, FAQ doc, case study template, elevator pitch cards. Print-ready, brand-styled.
pdf PDF files
Gate 6 → 7 — All production assets validated
↻ Session Handoff — New context window
Session 4 Showcase Build & Deploy

Builds and deploys a standalone web application showcasing the entire marketing system — 1 phase, 10+ agents

Phase 7A Data Architecture
Sequential
🗂
JSON Schema Architect
general-purpose agent
Transforms all Phase 1-5 markdown outputs into 13 structured JSON data files. Stages images into showcase directory. Injects brand colors as CSS custom properties.
13 JSON files Image staging Brand CSS vars
Data Files
avatars.json, competitors.json, voc_data.json, channels.json
strategy.json, funnel.json, analytics.json
ads.json, emails.json, social_calendar.json
launch_plan.json, seo_data.json, assets_detail.json
Phase 7B Standalone Asset Pages
Sequential
📃
Asset Page Builder
implementation-quick agent
Self-contained HTML pages for each major asset: landing page, interactive calculator/lead magnet, one-pager, competitor battle cards. Each links back to the showcase.
pages/landing-page.html pages/calculator.html pages/one-pager.html pages/battle-cards.html
Phase 7C Showcase Shell & Dashboard
Sequential — Foundation for 7D-7H
💻
Dashboard Architect
frontend-web-design agent
Builds the showcase SPA shell: sidebar navigation (7 sections), dashboard with summary cards and funnel visualization, global slide-over detail panel system (14 template types), responsive dark theme with brand accents. References 965+ design screenshots for visual quality.
claude-design-skill-main frontend-design Linear/Notion/Stripe Aesthetic index.html
Gate 7A-C — Shell + data architecture validated
Phase 7D-H Showcase Sections
5 Agents in Parallel

Five frontend agents build the showcase sections simultaneously, each populating their section with real data from the JSON files.

🔍
Research Hub
frontend-web-design agent
Competitive landscape cards, VoC quote browser with filters, channel analysis rankings. All cards open detail panels.
Competitor cards VoC browser Channel ranking
📢
Ad Studio
frontend-web-design + implementation
7 pixel-accurate platform emulators (Google, Facebook, Instagram Feed/Story, LinkedIn, X, Reddit). Avatar filter, variation browser, copy inspector.
7 ad emulators Interactive filters
📁
Asset Library
frontend-web-design agent
6-tab browser: Landing Pages, Emails (with full body preview), Social Content (calendar + grid views), Lead Magnets, Sales Enablement, SEO.
6 asset tabs Email reader Calendar view
🎯
Brand & Strategy
frontend-web-design agent
Positioning statement hero, brand archetype badge, messaging hierarchy tree, voice guidelines (do/don't cards), funnel diagram.
Positioning hero Funnel diagram
📅
Launch & Analytics
frontend-web-design agent
Phase-filtered task list, budget doughnut chart (Chart.js), tracking plan table, KPI targets, UTM conventions, attribution model.
Chart.js Launch timeline Analytics dashboard
Phase 7I Review & Polish
Sequential
🔎
Code Review & QA
code-review agent
Full code review, functional testing of every click interaction, WCAG 2.2 accessibility audit, responsive testing, Alpine.js error checking. Fixes all issues before deployment.
webapp-testing ds-accessibility web-design-guidelines
Gate 7I — Pre-deploy validation passed
Phase 7J Deploy
Sequential
🚀
Deployment
Bash execution
Deploys to Cloudflare Pages (primary) or Vercel (fallback). Production URL goes live immediately.
wrangler pages deploy deploy_showcase.py Cloudflare Pages

Live Showcase Website

Complete marketing system — browsable, shareable, ready to present

https://{product-name}-marketing.pages.dev
7

Research Docs

Product brief, avatars, competitive intel, VoC, channels, positioning, funnel

20+

Email Sequences

Welcome, nurture, sales, and re-engagement — each with A/B subject lines

30

Days of Content

Platform-specific social posts with hooks, hashtags, and visuals

15+

Ad Variations

Per-avatar, per-platform ads with targeting specs and creative briefs

50-100

Generated Images

AI-generated visuals for ads, social, landing pages, and lead magnets

5+

HTML Pages

Landing page, opt-in, thank-you, one-pager, battle cards

7

Ad Emulators

Pixel-accurate previews for Google, Facebook, Instagram, LinkedIn, X, Reddit

1

Live Website

Deployed showcase with interactive dashboard, all assets browsable

lead-magnet-builder programmatic-seo schema-markup launch-strategy analytics-tracking pricing-strategy saas-sales-page frontend-design ds-animation ds-accessibility webapp-testing web-design-guidelines claude-design-skill-main cost-tracking pdf Schwartz Awareness Scale Cialdini's 6 Principles Brand Archetype Conversion Friction Analysis Hook Scoring Full Funnel Design WCAG 2.2
marketing-competitive-intel marketing-voc-researcher marketing-paid-ads-specialist marketing-brand-strategist marketing-funnel-architect marketing-social-media-manager marketing-web-copywriter marketing-email-specialist marketing-content-creator marketing-copywriter marketing-creative-director marketing-persuasion-analyst marketing-cro-analyst marketing-strategist frontend-web-design implementation-quick code-review