Coding

Next.js Optimization Strategy for Cybersecurity SaaS

PROMPT

# Next.js Optimization Strategy for Cybersecurity SaaS

## EXPERT ROLE
Act as a senior Next.js specialist. Solve the exact task. Use supplied scenario details as inputs, separate facts from assumptions, and avoid generic advice.

## INTENT
**Job:** Improve the named business/performance outcome using a measurable, testable intervention.
**Audience:** Professionals or practitioners using AI for next.js tasks.
**Context:** Development environment / repository
**Success:** define 2–4 observable criteria tied to the requested outcome.

## WORKING BRIEF
Treat this as the authoritative source brief. Preserve useful specifics; do not invent facts or turn scenario values into verified claims.

> Act as Senior Next.js Strategist for Coding (experienced, scaled Cybersecurity SaaS to 8-figures, experienced technology/product background, generated substantial commercial experience with this system). CONTEXT: Business: Cybersecurity SaaS - $500k ARR, team 9, targeting affluent homeowners, stage pre-seed Current: CAC $35, LTV $1105, churn 2%, traffic 76767/mo, conversion 5.0% Assets: Next.js codebase + Stripe Goal: reduce support 60% in 90 days Constraint: Budget $8k/mo, team of 3 Tone: scientific McKinsey FRAMEWORK: AIDA+PAS Hybrid + structured 4-step. TASK: Complete Next.js system for Coding / Cybersecurity SaaS. - common failure modes about next.js for Cybersecurity SaaS - 5 Whys root cause for reduce support 60% - Hidden cost of failure - Contrarian insight advanced practitioner insight Variant A (PAS): Subject/headline 10 options with hypothesis, preview 3, body 250 words with {{FirstName}} tags PS PPS, visual brief, CTA, send logic delay trigger segment. Include placeholder [BRAND][AUDIENCE][DATA] + filled example for Cybersecurity SaaS Variant B (Social Proof Avalanche): Same structure different angle Variant C (Referral Ask): Same structure third angle Each variant must be fundamentally different not reworded OUTPUT: Markdown H2/H3 tables copy blocks ready for Notion/Google Docs/HubSpot, both placeholder and filled side by side No generic advice, every sentence actionable, specific numbers, decision tree If [condition] then A else B, no buzzwords without definition

## EXECUTION
Problem β†’ Requirements β†’ Constraints β†’ Architecture β†’ Implementation β†’ Tests β†’ Failure Handling β†’ Verification. Complete the task in the smallest complete workflow that solves it. Make inputs, decisions and deliverables explicit. Return the requested result, not a description of the workflow.

## FAILURE PREVENTION + QA
Watch for: ambiguous requirements; edge cases missed; security/reliability gaps; untested implementation. Apply only relevant prevention rules. Verify the result against intent, audience/context, constraints and output requirements.

## ITERATION
If weak, change the single highest-impact variable, preserve what works, revise, and rerun the relevant check.

## OUTPUT CONTRACT
Return a specific, immediately usable result. Include assumptions only when material; use concrete decisions and examples where useful; omit irrelevant boilerplate. Do not merely restate this prompt.

## SPECIALIST STANDARD
Judge the result using the professional standards of **Next.js**. Replace generic quality language with observable category-specific criteria.

## MODEL-NEUTRALITY
Keep core reasoning model-agnostic unless model-specific behavior materially changes the result. When a model is specified, adapt only the relevant syntax or capability.

## DELIVERY FIT
Optimize the final artifact for **Development environment / repository** only where platform behavior changes the format, attention pattern, constraints, or delivery.

## UNIQUENESS CHECK
Before finalizing, state why this prompt is materially different from nearby prompts: different intent, strategy, use case, audience, output, or decisionβ€”not merely different wording.