Real client · Published in full · No redactions

The Second Amendment Cycles Discovery Brief

This is the working Discovery Brief Modern Phase wrote for Second Amendment Cycles, a Harley-Davidson parts e-commerce business with 40,000 SKUs and 4.3M part-fitment relationships. Every section is here — the same artifact the client received, published with their permission. No redactions, no template placeholders. This is what $3,000 buys.

Download CLAUDE.md

Get the package

Want the PDF + the CLAUDE.md spec file?

Drop your details and we'll send the full Discovery Brief, plus the AI-Ready Build Spec File (CLAUDE.md). Both yours to keep, no obligation.


Section 1 of 9

Project Overview

Second Amendment Cycles (2AC) is a Harley-Davidson parts and accessories retailer founded by two industry operators with decades of experience in the motorcycle world. They know bikes and parts inside out. They've built relationships with major distributors. What they don't have is software. They came to Modern Phase to convert their industry expertise and supplier access into an online business.

The market gap: most online motorcycle parts stores let customers buy parts that don't fit their bike, leading to industry-standard return rates of 12–30% and an avalanche of "does this fit my 2018 Road King?" support tickets. 2AC's founders believed a store organized around your bike first, parts second would convert better, return less, and earn customer loyalty in a market that runs on trust.

What success looks like:

  • Live store taking real customer orders within 8 weeks of kickoff
  • Wrong-part return rate below 2% (vs 12–30% industry average)
  • Founders run the business day-to-day without engineering intervention
  • Catalog scales from 40,000 to 100,000+ SKUs without rebuild
  • Customer data owned by 2AC, not a marketplace platform
  • Site converts above 1.5% on bike-filtered traffic

Section 2 of 9

Customer Journey

The customer journey is built around a single inversion: instead of asking the customer to figure out which parts fit their bike, the store asks for the bike first and only shows parts that fit. Every downstream decision flows from that.

  1. Discovery. Customer arrives via SEO ("brake pads for 2018 Road King"), social, or direct. Lands on home or product detail.
  2. Bike selection. "Pick your bike" prompt. Three dropdowns: Year (1995–2026), Make (Harley-Davidson), Model (e.g., Road King FLHR). Stored in a session cookie + localStorage.
  3. Filtered browse. Catalog now shows only parts whose fitment data matches the selected bike. Categories, search, and product pages all inherit the filter.
  4. Product detail. Photos, fitment confirmation banner ("Fits your 2018 Road King FLHR ✓"), price, stock status, brand, OEM cross-references.
  5. Add to cart. Persistent cart, survives closed tabs and devices (anonymous-cart token + post-login merge).
  6. Checkout. Stripe Checkout (cards, Apple Pay, Google Pay). Guest checkout supported. Shipping calculated by zone + weight.
  7. Confirmation. Order email sent immediately via Resend. Customer sees a confirmation page with order number and estimated delivery.
  8. Post-purchase. Shipping notification triggered when carrier picks up. Review request email 7 days post-delivery.

Section 3 of 9

Scope Sheet — IN / OUT

Locked at signing. Mid-sprint additions trigger a written change order with explicit price and date impact. Scope cuts do not reduce price.

IN scope (delivered)

  • Product catalog (40K SKUs, scalable to 100K+)
  • Variants: SKU-level data with price, stock, attributes
  • Fitment data aggregation (4M+ part-fitment relationships)
  • Custom data prep pipeline for orphaned/missing fitment
  • Pick-your-bike filter + filtered catalog UI
  • Stripe Checkout (cards, Apple Pay, Google Pay)
  • Anonymous + authenticated cart with persistence
  • Order management + admin dashboard
  • Transactional email (order, shipping, review request) via Resend
  • Mobile-responsive across all surfaces
  • GA4 + Microsoft Clarity analytics wired
  • 1 marketing landing page
  • Legal pages (Terms, Privacy)
  • E2E tests on critical paths before each deploy
  • Production deploy on Vercel with custom domain

OUT of scope (later phase or never)

  • Native iOS / Android apps
  • Custom CMS for content marketing
  • B2B / wholesale portal
  • Returns automation (manual via admin)
  • Multi-language / i18n
  • Klaviyo flows / marketing automation beyond transactional
  • Loyalty / rewards program
  • ML-driven product recommendations
  • SEO content production (we ship the surface, not the copy)
  • Logo / brand identity design
  • Compliance audits beyond Stripe-native (no SOC2 / PCI deep)

Section 4 of 9

Technical Architecture

Stack chosen for two constraints: deliverable in 8 weeks by a small team, and operable by non-technical founders post-launch. Every piece is either a managed service (so 2AC doesn't run infra) or a battle-tested OSS framework (so any developer can pick up the code cold).

Stack:

  • Frontend: Next.js (App Router), React, TailwindCSS
  • Backend: Next.js API routes / Server Actions (no separate backend service)
  • Database: Neon Postgres (serverless, auto-scales, pooled connections)
  • ORM: Prisma (type-safe queries + migrations)
  • Payments: Stripe Checkout (hosted, PCI-compliant)
  • Transactional Email: Resend (lower friction than SendGrid; React Email templates)
  • Auth (admin): NextAuth with email magic-links
  • Analytics: GA4 + Microsoft Clarity (free tiers, both wired)
  • Image hosting: Vercel Blob (catalog images shipped from supplier feeds)
  • Deploy: Vercel (auto-deploy from main branch)
  • Error monitoring: Sentry (free tier)

System flow:

  1. User browser → Vercel CDN → Next.js app (server-rendered for SEO, hydrated for interactivity)
  2. Next.js → Postgres (Neon) for catalog, fitment, orders, customers
  3. Cart click → Stripe Checkout (hosted) → payment flow
  4. Stripe webhook → Next.js API route → Postgres (order recorded)
  5. Order recorded → Resend (transactional email triggered)
  6. Admin pages → same Postgres, gated by NextAuth admin role
  7. Supplier feed jobs → standalone Bun/Node scripts on Vercel Cron → Postgres upserts

Section 5 of 9

Data Model Sketch

The data model is built around parts × fitments as the central many-to-many relationship. A single part can fit dozens of bike-year combinations; a single bike-year combination can have hundreds of compatible parts. The join tables are the heart of the system.

Core entities:

  • Product { id, name, description, brand, base_sku, status, universal_fit }
  • Variant { id, product_id, sku, price, stock, attributes }
  • Fitment { id, make, model, model_code, family, engine, year } — one row per bike-year
  • ProductFitment { id, product_id, fitment_id } — join table, ~4.3M rows at scale
  • VariantFitment { id, variant_id, fitment_id } — SKU-level join, ~3.3M rows
  • Order { id, customer_id, total, stripe_session_id, status, created_at }
  • OrderItem { id, order_id, variant_id, quantity, unit_price }
  • Customer { id, email, name, addresses, stripe_customer_id }
  • Cart { id, session_token, customer_id?, items[], updated_at }
  • Supplier { id, name, feed_url, last_synced_at }

Key relationships:

  • Product 1:n Variant
  • Product n:m Fitment via ProductFitment
  • Variant n:m Fitment via VariantFitment
  • Order 1:n OrderItem; OrderItem n:1 Variant
  • Customer 1:n Order

Indexes that matter:

  • ProductFitment(product_id), ProductFitment(fitment_id) — for both lookup directions
  • Variant(sku) UNIQUE — supplier feeds key on SKU
  • Fitment(make, model, year) composite — for the pick-your-bike filter
  • Product(status) partial — most catalog reads exclude discontinued

Section 6 of 9

8-Week Timeline

Calendar dates locked at signing. Milestone reviews on Friday of weeks 2, 4, 6. Launch day fixed.

Week 1

Foundation

Vercel + Neon + Next.js scaffolding. NextAuth admin. Empty admin pages. CI on main.

Week 2

Catalog Import

Product + Variant Prisma schema. CSV import scripts (33K products, 35K variants). Image pipeline. Friday: founder review of imported catalog in admin.

Week 3

Fitment Pipeline

Fitment schema. ProductFitment + VariantFitment join tables. Custom data prep pass for orphaned products. Coverage report.

Week 4

Midpoint Review + Filter UI

Pick-your-bike component. Catalog filtered by selected bike. Friday: full milestone review with founders. Lock any change requests via change-order process. $10K milestone wire.

Week 5

Cart + Checkout

Cart persistence (anonymous + authenticated). Stripe Checkout integration. Order + OrderItem schema. Stripe webhook handler. Order recording end-to-end.

Week 6

Marketing Surface + Legal

Home, product detail polish, landing page. Mobile-responsive pass. Terms / Privacy boilerplate. Resend transactional emails (order confirmation, shipping notification, review request).

Week 7

Production Hardening

Playwright E2E tests on critical paths. Performance pass (image optimization, edge caching). Connection pooling verified. Sentry error monitoring wired. Soft-launch URL provisioned.

Week 8

Launch

Final QA. Soft launch (limited traffic to verify production). DNS cutover. Public launch. Day-1 monitoring. $5K final milestone wire on launch confirmation.

Section 7 of 9

Fixed-Price Estimate

$25,000 fixed. Validated against the IN scope above. Three calendar-based milestones: $10K at signing, $10K at week 4 midpoint, $5K at week 8 launch.

The price is the price. Scope cuts do not reduce it; the value is the locked outcome and the ship guarantee, not piecework.

Mid-sprint additions (priced):

AdditionCostTime
Native mobile app (iOS + Android)+$40,000+12 weeks
B2B / wholesale portal+$10,000+3 weeks
Custom Klaviyo email flows+$5,000+1 week
Multi-language (Spanish)+$4,000+2 weeks
Loyalty / rewards program+$8,000+3 weeks

Section 8 of 9

Risk Register

Risks named upfront with quantified probability and impact. Each has a mitigation we'll execute before it triggers.

RiskProb.ImpactMitigation
Supplier feed format changes60% / 12mo$2K + 1 wkParametrize feed parsers; validation layer rejects malformed batches
Fitment data gaps for orphaned products40%+1 wkGemini 2.5 classification fallback; flagged for manual review in admin
Traffic spike at launch overwhelms DB30%~1d outageNeon connection pooling + Vercel edge cache; load test in week 7
Stripe webhook delays during checkout surges20%Order delaysIdempotent webhook handler + retry queue; manual reconciliation tool
Founder requests scope change mid-sprint70%Per changeChange-order template — written price + date impact, signed before start
Catalog grows to 200K+ SKUs in year 150% / 12mo$8K rebuildArchitect for 100K+ from day one (indexed search, paginated catalog)
Wrong-part returns spike post-launch25%CS loadConfirmation banner on PDP ("Fits your X ✓"); fitment dispute flow in admin

Section 9 of 9

What Happens Next

If you proceed to the build

  • Sign Master Service Agreement (template provided)
  • Wire $7,000 — Milestone 1 ($10K kickoff minus $3K Discovery credit)
  • Lock kickoff date on calendar
  • Pre-fill intake form with everything from Discovery (you confirm, you don't re-fill)
  • Week 1 begins on locked date

If you don't proceed

  • This brief is yours — keep it, share it, build from it
  • The CLAUDE.md / AGENT.md spec file is yours
  • The Loom walkthrough is yours
  • 30 days of follow-up Slack questions still included
  • Take it to a freelancer or another agency — they have everything they need
  • No obligation. No pitched escalation. No upsell sequence.

Ready for your own brief?

Same process. Same 9 sections. Same artifacts. Tailored to your business instead of 2AC's. $3,000. 100% credited if you proceed to the build.

Start your $3,000 Discovery