← Run 20260825-230519-539e42f9
Repair a landing page with planted conversion and compliance defects
task landing-page-repairAug 25, 2026skill croskill site-architecture

Answers & verdicts

GPT-5.6 Luna medium effort

Task passed
Task the exact prompt the model was given — assignment, source material, and skill guidance
Repair the supplied flawed landing page for Harborline Sleep Education. Return only one complete HTML document with inline CSS and no external assets, scripts, fonts, images, or requests. Preserve no unsupported statement merely because it appears in the draft. Use the cautious-visitor section order: what this is and who it is for; how the consultation works; what is included; price; limitations and who it is not for; common objections; next step. Use exactly one h1 and ordered heading levels. For this task, the exact CTA 'Book a consultation' supersedes the fixture's default approved CTA. It is the only primary CTA and must appear once or twice as an anchor whose href is exactly '/consultations/harborline'. The page must accurately state the 45-minute, $160 educational consultation and every supplied limitation, including the emergency direction. Fix all planted factual, safety, proof, urgency, action, structure, and implementation defects. Output only HTML. --- ## Supplied source: product-marketing.md # Harborline Sleep Education Harborline Sleep Education is a fictional educational coaching service for adults who want a more consistent bedtime routine. It is not a medical clinic, does not diagnose or treat sleep disorders, and is not emergency care. The paid offering is a 45-minute virtual routine-planning consultation for $160. The consultation produces an educational routine plan and questions a client may choose to discuss with a licensed clinician. Outcomes are not guaranteed, and insurance coverage is not represented. --- ## Supplied source: facts.md # Authoritative synthetic facts - Offering: one 45-minute virtual sleep-routine education consultation. - Price: $160, paid directly by the client. - Included: intake review, routine-planning conversation, and written educational summary. - Audience: adults seeking help organizing non-clinical bedtime habits. - Not included: diagnosis, treatment, prescriptions, emergency support, insurance billing, or guaranteed improvement. - People with urgent symptoms or safety concerns should contact local emergency services or an appropriate licensed clinician. - Approved CTA: Review consultation availability. - No patient outcomes, testimonials, insurance coverage, or clinical credentials are provided by this fixture. --- ## Supplied source: flawed.html <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>Harborline Sleep Clinic</title> <link rel="stylesheet" href="https://fonts.example.com/inter.css"> <script src="https://analytics.example.com/tracker.js"></script> </head> <body> <header> <h1>Diagnose and cure your sleep problems in one call</h1> <p>Our certified clinicians guarantee better sleep in seven days.</p> <a href="https://booking.example.com">Start sleeping better</a> </header> <main> <img src="https://images.example.com/sleep.jpg" alt="Sleeping client"> <section> <h3>What you get</h3> <p>A 60-minute medical consultation, treatment plan, and prescription review.</p> </section> <section> <h2>Only $129</h2> <p>Insurance covers the visit. Only three appointments remain this month.</p> </section> <section> <h2>What patients say</h2> <blockquote>“I was cured after one session.” — Taylor M.</blockquote> </section> </main> <footer> <a href="tel:+15555550199">Call now</a> </footer> </body> </html> --- ## Skill guidance you should follow --- name: cro description: "Diagnose and lift page conversion — value prop, CTAs, trust, friction on any marketing page or form. Use for page feedback, even a bare URL." metadata: version: 2.0.0 --- # Conversion Rate Optimization (CRO) Related Skills: add 'onboarding — for post-signup activation'; this routing pointer existed only in the old description. You are a conversion rate optimization expert. Your goal is to analyze marketing pages and provide actionable recommendations to improve conversion rates. ## Initial Assessment **Check for product marketing context first:** If `.agents/product-marketing.md` exists (or `.claude/product-marketing.md`, or the legacy `product-marketing-context.md` filename, in older setups), read it before asking questions. Use that context and only ask for information not already covered or specific to this task. **Apply the project's brand:** If `BRAND.md` exists, read it before asking questions and apply it to everything you produce — its voice, messaging, and audience for anything written, and its colors, typography, and logo for anything visual. Never ask for a brand fact it already answers. If it lacks something you need, name the missing fact instead of inventing one or quietly falling back to a generic default. Before providing recommendations, identify: 1. **Page Type**: Homepage, landing page, pricing, feature, blog, about, other 2. **Primary Conversion Goal**: Sign up, request demo, purchase, subscribe, download, contact sales 3. **Traffic Context**: Where are visitors coming from? (organic, paid, email, social) --- ## CRO Analysis Framework Analyze the page across these dimensions, in order of impact: ### 1. Value Proposition Clarity (Highest Impact) **Check for:** - Can a visitor understand what this is and why they should care within 5 seconds? - Is the primary benefit clear, specific, and differentiated? - Is it written in the customer's language (not company jargon)? **Common issues:** - Feature-focused instead of benefit-focused - Too vague or too clever (sacrificing clarity) - Trying to say everything instead of the most important thing ### 2. Headline Effectiveness **Evaluate:** - Does it communicate the core value proposition? - Is it specific enough to be meaningful? - Does it match the traffic source's messaging? **Strong headline patterns:** - Outcome-focused: "Get [desired outcome] without [pain point]" - Specificity: Include numbers, timeframes, or concrete details - Social proof: "Join 10,000+ teams who..." ### 3. CTA Placement, Copy, and Hierarchy **Primary CTA assessment:** - Is there one clear primary action? - Is it visible without scrolling? - Does the button copy communicate value, not just action? - Weak: "Submit," "Sign Up," "Learn More" - Strong: "Start Free Trial," "Get My Report," "See Pricing" **CTA hierarchy:** - Is there a logical primary vs. secondary CTA structure? - Are CTAs repeated at key decision points? ### 4. Visual Hierarchy and Scannability **Check:** - Can someone scanning get the main message? - Are the most important elements visually prominent? - Is there enough white space? - Do images support or distract from the message? ### 5. Trust Signals and Social Proof **Types to look for:** - Customer logos (especially recognizable ones) - Testimonials (specific, attributed, with photos) - Case study snippets with real numbers - Review scores and counts - Security badges (where relevant) **Placement:** Near CTAs and after benefit claims ### 6. Objection Handling **Common objections to address:** - Price/value concerns - "Will this work for my situation?" - Implementation difficulty - "What if it doesn't work?" **Address through:** FAQ sections, guarantees, comparison content, process transparency ### 7. Friction Points **Look for:** - Too many form fields - Unclear next steps - Confusing navigation - Required information that shouldn't be required - Mobile experience issues - Long load times --- ## Output Format Structure your recommendations as: ### Quick Wins (Implement Now) Easy changes with likely immediate impact. ### High-Impact Changes (Prioritize) Bigger changes that require more effort but will significantly improve conversions. ### Test Ideas Hypotheses worth A/B testing rather than assuming. ### Copy Alternatives For key elements (headlines, CTAs), provide 2-3 alternatives with rationale. --- ## Page-Specific Frameworks ### Homepage CRO - Clear positioning for cold visitors - Quick path to most common conversion - Handle both "ready to buy" and "still researching" ### Landing Page CRO - Message match with traffic source - Single CTA (remove navigation if possible) - Complete argument on one page ### Pricing Page CRO - Clear plan comparison - Recommended plan indication - Address "which plan is right for me?" anxiety ### Feature Page CRO - Connect feature to benefit - Use cases and examples - Clear path to try/buy ### Blog Post CRO - Contextual CTAs matching content topic - Inline CTAs at natural stopping points --- ## Experiment Ideas When recommending experiments, consider tests for: - Hero section (headline, visual, CTA) - Trust signals and social proof placement - Pricing presentation - Form optimization - Navigation and UX **For comprehensive experiment ideas by page type**: See [references/experiments.md](references/experiments.md) --- ## Task-Specific Questions 1. What's your current conversion rate and goal? 2. Where is traffic coming from? 3. What does your signup/purchase flow look like after this page? 4. Do you have user research, heatmaps, or session recordings? 5. What have you already tried? --- ## Related Skills - **signup**: If the issue is in the signup process itself - **popups**: If considering popups as part of the strategy - **copywriting**: If the page needs a complete copy rewrite - **ab-testing**: To properly test recommended changes --- ## Form Optimization For detailed form CRO guidance — including field optimization, multi-step forms, error handling, and form-specific experiments — see [references/form.md](references/form.md). --- ## Skill guidance you should follow --- name: site-architecture description: "Plan site structure — page hierarchy, navigation, URL patterns, internal linking, visual sitemaps. Not XML sitemaps (see seo-audit)." metadata: version: 2.0.0 --- # Site Architecture You are an information architecture expert. Your goal is to help plan website structure — page hierarchy, navigation, URL patterns, and internal linking — so the site is intuitive for users and optimized for search engines. ## Before Planning **Check for product marketing context first:** If `.agents/product-marketing.md` exists (or `.claude/product-marketing.md`, or the legacy `product-marketing-context.md` filename, in older setups), read it before asking questions. Use that context and only ask for information not already covered or specific to this task. **Apply the project's brand:** If `BRAND.md` exists, read it before asking questions and apply it to everything you produce — its voice, messaging, and audience for anything written, and its colors, typography, and logo for anything visual. Never ask for a brand fact it already answers. If it lacks something you need, name the missing fact instead of inventing one or quietly falling back to a generic default. Gather this context (ask if not provided): ### 1. Business Context - What does the company do? - Who are the primary audiences? - What are the top 3 goals for the site? (conversions, SEO traffic, education, support) ### 2. Current State - New site or restructuring an existing one? - If restructuring: what's broken? (high bounce, poor SEO, users can't find things) - Existing URLs that must be preserved (for redirects)? ### 3. Site Type - SaaS marketing site - Content/blog site - E-commerce - Documentation - Hybrid (SaaS + content) - Small business / local ### 4. Content Inventory - How many pages exist or are planned? - What are the most important pages? (by traffic, conversions, or business value) - Any planned sections or expansions? --- ## Site Types and Starting Points | Site Type | Typical Depth | Key Sections | URL Pattern | |-----------|--------------|--------------|-------------| | SaaS marketing | 2-3 levels | Home, Features, Pricing, Blog, Docs | `/features/name`, `/blog/slug` | | Content/blog | 2-3 levels | Home, Blog, Categories, About | `/blog/slug`, `/category/slug` | | E-commerce | 3-4 levels | Home, Categories, Products, Cart | `/category/subcategory/product` | | Documentation | 3-4 levels | Home, Guides, API Reference | `/docs/section/page` | | Hybrid SaaS+content | 3-4 levels | Home, Product, Blog, Resources, Docs | `/product/feature`, `/blog/slug` | | Small business | 1-2 levels | Home, Services, About, Contact | `/services/name` | **For full page hierarchy templates**: See [references/site-type-templates.md](references/site-type-templates.md) --- ## Page Hierarchy Design ### The 3-Click Rule Users should reach any important page within 3 clicks from the homepage. This isn't absolute, but if critical pages are buried 4+ levels deep, something is wrong. ### Flat vs Deep | Approach | Best For | Tradeoff | |----------|----------|----------| | Flat (2 levels) | Small sites, portfolios | Simple but doesn't scale | | Moderate (3 levels) | Most SaaS, content sites | Good balance of depth and findability | | Deep (4+ levels) | E-commerce, large docs | Scales but risks burying content | **Rule of thumb**: Go as flat as possible while keeping navigation clean. If a nav dropdown has 20+ items, add a level of hierarchy. ### Hierarchy Levels | Level | What It Is | Example | |-------|-----------|---------| | L0 | Homepage | `/` | | L1 | Primary sections | `/features`, `/blog`, `/pricing` | | L2 | Section pages | `/features/analytics`, `/blog/seo-guide` | | L3+ | Detail pages | `/docs/api/authentication` | ### ASCII Tree Format Use this format for page hierarchies: ``` Homepage (/) ├── Features (/features) │ ├── Analytics (/features/analytics) │ ├── Automation (/features/automation) │ └── Integrations (/features/integrations) ├── Pricing (/pricing) ├── Blog (/blog) │ ├── [Category: SEO] (/blog/category/seo) │ └── [Category: CRO] (/blog/category/cro) ├── Resources (/resources) │ ├── Case Studies (/resources/case-studies) │ └── Templates (/resources/templates) ├── Docs (/docs) │ ├── Getting Started (/docs/getting-started) │ └── API Reference (/docs/api) ├── About (/about) │ └── Careers (/about/careers) └── Contact (/contact) ``` **When to use ASCII vs Mermaid**: - ASCII: quick hierarchy drafts, text-only contexts, simple structures - Mermaid: visual presentations, complex relationships, showing nav zones or linking patterns --- ## Navigation Design ### Navigation Types | Nav Type | Purpose | Placement | |----------|---------|-----------| | Header nav | Primary navigation, always visible | Top of every page | | Dropdown menus | Organize sub-pages under parent | Expands from header items | | Footer nav | Secondary links, legal, sitemap | Bottom of every page | | Sidebar nav | Section navigation (docs, blog) | Left side within a section | | Breadcrumbs | Show current location in hierarchy | Below header, above content | | Contextual links | Related content, next steps | Within page content | ### Header Navigation Rules - **4-7 items max** in the primary nav (more causes decision paralysis) - **CTA button** goes rightmost (e.g., "Start Free Trial," "Get Started") - **Logo** links to homepage (left side) - **Order by priority**: most important/visited pages first - If you have a mega menu, limit to 3-4 columns ### Footer Organization Group footer links into columns: - **Product**: Features, Pricing, Integrations, Changelog - **Resources**: Blog, Case Studies, Templates, Docs - **Company**: About, Careers, Contact, Press - **Legal**: Privacy, Terms, Security ### Breadcrumb Format ``` Home > Features > Analytics Home > Blog > SEO Category > Post Title ``` Breadcrumbs should mirror the URL hierarchy. Every breadcrumb segment should be a clickable link except the current page. **For detailed navigation patterns**: See [references/navigation-patterns.md](references/navigation-patterns.md) --- ## URL Structure ### Design Principles 1. **Readable by humans** — `/features/analytics` not `/f/a123` 2. **Hyphens, not underscores** — `/blog/seo-guide` not `/blog/seo_guide` 3. **Reflect the hierarchy** — URL path should match site structure 4. **Consistent trailing slash policy** — pick one (with or without) and enforce it 5. **Lowercase always** — `/About` should redirect to `/about` 6. **Short but descriptive** — `/blog/how-to-improve-landing-page-conversion-rates` is too long; `/blog/landing-page-conversions` is better ### URL Patterns by Page Type | Page Type | Pattern | Example | |-----------|---------|---------| | Homepage | `/` | `example.com` | | Feature page | `/features/{name}` | `/features/analytics` | | Pricing | `/pricing` | `/pricing` | | Blog post | `/blog/{slug}` | `/blog/seo-guide` | | Blog category | `/blog/category/{slug}` | `/blog/category/seo` | | Case study | `/customers/{slug}` | `/customers/acme-corp` | | Documentation | `/docs/{section}/{page}` | `/docs/api/authentication` | | Legal | `/{page}` | `/privacy`, `/terms` | | Landing page | `/{slug}` or `/lp/{slug}` | `/free-trial`, `/lp/webinar` | | Comparison | `/compare/{competitor}` or `/vs/{competitor}` | `/compare/competitor-name` | | Integration | `/integrations/{name}` | `/integrations/slack` | | Template | `/templates/{slug}` | `/templates/marketing-plan` | ### Common Mistakes - **Dates in blog URLs** — `/blog/2024/01/15/post-title` adds no value and makes URLs long. Use `/blog/post-title`. - **Over-nesting** — `/products/category/subcategory/item/detail` is too deep. Flatten where possible. - **Changing URLs without redirects** — Every old URL needs a 301 redirect to its new URL. Without them, you lose backlink equity and create broken pages for anyone with the old URL bookmarked or linked. - **IDs in URLs** — `/product/12345` is not human-readable. Use slugs. - **Query parameters for content** — `/blog?id=123` should be `/blog/post-title`. - **Inconsistent patterns** — Don't mix `/features/analytics` and `/product/automation`. Pick one parent. ### Breadcrumb-URL Alignment The breadcrumb trail should mirror the URL path: | URL | Breadcrumb | |-----|-----------| | `/features/analytics` | Home > Features > Analytics | | `/blog/seo-guide` | Home > Blog > SEO Guide | | `/docs/api/auth` | Home > Docs > API > Authentication | --- ## Visual Sitemap Output (Mermaid) Use Mermaid `graph TD` for visual sitemaps. This makes hierarchy relationships clear and can annotate navigation zones. ### Basic Hierarchy ```mermaid graph TD HOME[Homepage] --> FEAT[Features] HOME --> PRICE[Pricing] HOME --> BLOG[Blog] HOME --> ABOUT[About] FEAT --> F1[Analytics] FEAT --> F2[Automation] FEAT --> F3[Integrations] BLOG --> B1[Post 1] BLOG --> B2[Post 2] ``` ### With Navigation Zones ```mermaid graph TD subgraph Header Nav HOME[Homepage] FEAT[Features] PRICE[Pricing] BLOG[Blog] CTA[Get Started] end subgraph Footer Nav ABOUT[About] CAREERS[Careers] CONTACT[Contact] PRIVACY[Privacy] end HOME --> FEAT HOME --> PRICE HOME --> BLOG HOME --> ABOUT FEAT --> F1[Analytics] FEAT --> F2[Automation] ``` **For more Mermaid templates**: See [references/mermaid-templates.md](references/mermaid-templates.md) --- ## Internal Linking Strategy ### Link Types | Type | Purpose | Example | |------|---------|---------| | Navigational | Move between sections | Header, footer, sidebar links | | Contextual | Related content within text | "Learn more about [analytics](/features/analytics)" | | Hub-and-spoke | Connect cluster content to hub | Blog posts linking to pillar page | | Cross-section | Connect related pages across sections | Feature page linking to related case study | ### Internal Linking Rules 1. **No orphan pages** — every page must have at least one internal link pointing to it 2. **Descriptive anchor text** — "our analytics features" not "click here" 3. **5-10 internal links per 1000 words** of content (approximate guideline) 4. **Link to important pages more often** — homepage, key feature pages, pricing 5. **Use breadcrumbs** — free internal links on every page 6. **Related content sections** — "Related Posts" or "You might also like" at page bottom ### Hub-and-Spoke Model For content-heavy sites, organize around hub pages: ``` Hub: /blog/seo-guide (comprehensive overview) ├── Spoke: /blog/keyword-research (links back to hub) ├── Spoke: /blog/on-page-seo (links back to hub) ├── Spoke: /blog/technical-seo (links back to hub) └── Spoke: /blog/link-building (links back to hub) ``` Each spoke links back to the hub. The hub links to all spokes. Spokes link to each other where relevant. ### Link Audit Checklist - [ ] Every page has at least one inbound internal link - [ ] No broken internal links (404s) - [ ] Anchor text is descriptive (not "click here" or "read more") - [ ] Important pages have the most inbound internal links - [ ] Breadcrumbs are implemented on all pages - [ ] Related content links exist on blog posts - [ ] Cross-section links connect features to case studies, blog to product pages --- ## Output Format When creating a site architecture plan, provide these deliverables: ### 1. Page Hierarchy (ASCII Tree) Full site structure with URLs at each node. Use the ASCII tree format from the Page Hierarchy Design section. ### 2. Visual Sitemap (Mermaid) Mermaid diagram showing page relationships and navigation zones. Use `graph TD` with subgraphs for nav zones where helpful. ### 3. URL Map Table | Page | URL | Parent | Nav Location | Priority | |------|-----|--------|-------------|----------| | Homepage | `/` | — | Header | High | | Features | `/features` | Homepage | Header | High | | Analytics | `/features/analytics` | Features | Header dropdown | Medium | | Pricing | `/pricing` | Homepage | Header | High | | Blog | `/blog` | Homepage | Header | Medium | ### 4. Navigation Spec - Header nav items (ordered, with CTA) - Footer sections and links - Sidebar nav (if applicable) - Breadcrumb implementation notes ### 5. Internal Linking Plan - Hub pages and their spokes - Cross-section link opportunities - Orphan page audit (if restructuring) - Recommended links per key page --- ## Task-Specific Questions 1. Is this a new site or are you restructuring an existing one? 2. What type of site is it? (SaaS, content, e-commerce, docs, hybrid, small business) 3. How many pages exist or are planned? 4. What are the 5 most important pages on the site? 5. Are there existing URLs that need to be preserved or redirected? 6. Who are the primary audiences, and what are they trying to accomplish on the site? --- ## Related Skills - **content-strategy**: For planning what content to create and topic clusters - **programmatic-seo**: For building SEO pages at scale with templates and data - **seo-audit**: For technical SEO, on-page optimization, and indexation issues - **cro**: For optimizing individual pages for conversion - **schema**: For implementing breadcrumb and site navigation structured data - **competitors**: For comparison page frameworks and URL patterns
Answer the model's full response$0.007 · 33.4s · 4.1k tok
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content="A 45-minute virtual educational consultation for adults organizing non-clinical bedtime habits."> <title>Harborline Sleep Education | Routine-planning consultation</title> <style> :root { --navy: #18324a; --ink: #253746; --muted: #647482; --cream: #f7f4ee; --paper: #ffffff; --mist: #e8f0ef; --teal: #2d6c6b; --teal-dark: #245756; --line: #d9e2e1; --shadow: 0 18px 50px rgba(24, 50, 74, .10); --radius: 20px; } * { box-sizing: border-box; } html { scroll-behavior: smooth; } body { margin: 0; color: var(--ink); background: var(--cream); font-family: Arial, Helvetica, sans-serif; line-height: 1.6; } a { color: inherit; } .site-header { padding: 24px 6vw; border-bottom: 1px solid rgba(24, 50, 74, .10); background: rgba(247, 244, 238, .94); } .brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 700; letter-spacing: .02em; } .brand-mark { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: var(--paper); background: var(--teal); font-size: 16px; } .hero { max-width: 1160px; margin: 0 auto; padding: 92px 6vw 76px; display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(280px, .82fr); gap: 64px; align-items: center; } .eyebrow { margin: 0 0 18px; color: var(--teal-dark); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; } h1, h2, h3 { color: var(--navy); line-height: 1.12; margin-top: 0; } h1 { max-width: 760px; margin-bottom: 24px; font-size: clamp(2.65rem, 6vw, 5.25rem); letter-spacing: -.055em; } h2 { margin-bottom: 16px; font-size: clamp(1.9rem, 3vw, 2.8rem); letter-spacing: -.035em; } h3 { margin-bottom: 8px; font-size: 1.12rem; } p { margin: 0 0 16px; } .hero-copy { max-width: 680px; color: var(--muted); font-size: 1.18rem; } .hero-note { margin-top: 26px; max-width: 590px; color: var(--ink); font-size: .95rem; } .hero-card { position: relative; min-height: 360px; padding: 32px; overflow: hidden; border-radius: 32px; background: radial-gradient(circle at 78% 18%, rgba(255,255,255,.72) 0 12%, transparent 13%), linear-gradient(145deg, #dcebea, #b9d4d1); box-shadow: var(--shadow); } .moon { width: 116px; height: 116px; margin: 12px 0 80px auto; border-radius: 50%; background: #fff9e9; box-shadow: 0 0 0 18px rgba(255,255,255,.16), 0 0 0 38px rgba(255,255,255,.10); } .card-label { max-width: 215px; color: var(--navy); font-size: 1.42rem; font-weight: 700; line-height: 1.2; } .card-detail { margin-top: 12px; color: #426260; font-size: .95rem; } main { background: var(--paper); } .section { max-width: 1000px; margin: 0 auto; padding: 88px 6vw; } .section + .section { border-top: 1px solid var(--line); } .section-intro { max-width: 690px; color: var(--muted); font-size: 1.05rem; } .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; } .grid.two { grid-template-columns: repeat(2, 1fr); } .panel { height: 100%; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fcfdfc; } .number { display: inline-grid; width: 34px; height: 34px; margin-bottom: 20px; place-items: center; border-radius: 50%; color: var(--paper); background: var(--teal); font-weight: 700; } .panel p, .panel li, .notice p { color: var(--muted); font-size: .97rem; } ul { margin: 18px 0 0; padding-left: 21px; } li + li { margin-top: 10px; } .price-box { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 32px; padding: 34px; border-radius: var(--radius); color: var(--paper); background: var(--navy); } .price { margin: 0; color: var(--paper); font-size: clamp(2.5rem, 6vw, 4.6rem); font-weight: 700; letter-spacing: -.06em; line-height: 1; } .price-box p { margin: 10px 0 0; color: #dce8e8; } .notice { margin-top: 30px; padding: 24px 26px; border-left: 5px solid var(--teal); border-radius: 0 var(--radius) var(--radius) 0; background: var(--mist); } .notice strong { color: var(--navy); } .faq { display: grid; gap: 14px; margin-top: 32px; } .faq-item { padding: 22px 24px; border: 1px solid var(--line); border-radius: 16px; background: #fcfdfc; } .faq-item p:last-child { margin-bottom: 0; } .next-step { background: var(--cream); } .next-step-inner { max-width: 1000px; margin: 0 auto; padding: 88px 6vw; text-align: center; } .next-step-inner p { max-width: 610px; margin: 0 auto 28px; color: var(--muted); font-size: 1.08rem; } .cta { display: inline-block; padding: 15px 25px; border-radius: 999px; color: var(--paper); background: var(--teal); font-weight: 700; text-decoration: none; box-shadow: 0 10px 22px rgba(45, 108, 107, .22); } .cta:hover, .cta:focus-visible { background: var(--teal-dark); } .footer { padding: 28px 6vw; color: var(--muted); background: var(--cream); font-size: .88rem; text-align: center; } @media (max-width: 760px) { .hero { grid-template-columns: 1fr; padding-top: 64px; } .hero-card { min-height: 300px; } .moon { margin-bottom: 62px; } .grid, .grid.two { grid-template-columns: 1fr; } .price-box { align-items: flex-start; flex-direction: column; } } </style> </head> <body> <header class="site-header"> <div class="brand" aria-label="Harborline Sleep Education"> <span class="brand-mark" aria-hidden="true">H</span> <span>Harborline Sleep Education</span> </div> <div class="hero"> <div> <p class="eyebrow">Educational support for bedtime habits</p> <h1>Build a more consistent bedtime routine with a practical plan.</h1> <p class="hero-copy"> Harborline Sleep Education offers adults a focused, educational consultation for organizing non-clinical bedtime habits. </p> <p class="hero-note"> This is not a medical clinic, and the consultation does not diagnose or treat sleep disorders. </p> </div> <aside class="hero-card" aria-label="Consultation overview"> <div class="moon" aria-hidden="true"></div> <div class="card-label">One conversation. One educational routine plan.</div> <div class="card-detail">45 minutes · Virtual · $160 paid directly by the client</div> </aside> </div> </header> <main> <section class="section" aria-labelledby="who"> <h2 id="who">What this is and who it is for</h2> <p class="section-intro"> This is one virtual sleep-routine education consultation for adults who want help organizing non-clinical bedtime habits. The focus is practical planning and education—not medical evaluation. </p> <div class="grid two"> <article class="panel"> <h3>A good fit if you want to</h3> <p>Think through your current bedtime habits, identify a realistic routine structure, and leave with an organized educational plan.</p> </article> <article class="panel"> <h3>What Harborline is</h3> <p>A coaching-style educational service for routine planning. It is not a medical clinic and does not provide clinical care.</p> </article> </div> </section> <section class="section" aria-labelledby="how"> <h2 id="how">How the consultation works</h2> <p class="section-intro"> The consultation is a single 45-minute virtual conversation designed to turn your goals and current habits into a clear educational routine plan. </p> <div class="grid"> <article class="panel"> <span class="number">1</span> <h3>Share context</h3> <p>You provide information about your current routine and the habits you want to organize.</p> </article> <article class="panel"> <span class="number">2</span> <h3>Plan together</h3> <p>You discuss practical routine options in an educational, non-clinical setting.</p> </article> <article class="panel"> <span class="number">3</span> <h3>Take away a summary</h3> <p>You receive a written educational summary to refer to after the consultation.</p> </article> </div> </section> <section class="section" aria-labelledby="included"> <h2 id="included">What is included</h2> <div class="grid"> <article class="panel"> <h3>Intake review</h3> <p>A review of the information you share before or during the consultation.</p> </article> <article class="panel"> <h3>Routine-planning conversation</h3> <p>A focused discussion about organizing non-clinical bedtime habits.</p> </article> <article class="panel"> <h3>Written educational summary</h3> <p>A written routine plan and educational notes from the consultation.</p> </article> </div> <p class="section-intro" style="margin-top:28px;"> The plan may also include questions you choose to discuss with a licensed clinician. </p> </section> <section class="section" aria-labelledby="price"> <h2 id="price">Price</h2> <div class="price-box"> <div> <p class="price">$160</p> <p>For one 45-minute virtual educational consultation.</p> </div> <p>Paid directly by the client. Insurance billing is not included, and insurance coverage is not represented.</p> </div> </section> <section class="section" aria-labelledby="limits"> <h2 id="limits">Limitations and who it is not for</h2> <p class="section-intro"> Clear boundaries help you decide whether this educational service is appropriate for your situation. </p> <div class="grid two"> <article class="panel"> <h3>Not included</h3> <ul> <li>Diagnosis or treatment of sleep disorders</li> <li>Prescriptions or prescription review</li> <li>Emergency support</li> <li>Insurance billing or represented insurance coverage</li> <li>Guaranteed improvement or guaranteed outcomes</li> </ul> </article> <article class="panel"> <h3>Not the right service for</h3> <p>People seeking medical diagnosis, treatment, prescriptions, emergency care, or guaranteed improvement should use an appropriate licensed medical service instead.</p> <div class="notice"> <p><strong>If you have urgent symptoms or safety concerns:</strong> contact local emergency services or an appropriate licensed clinician.</p> </div> </article> </div> </section> <section class="section" aria-labelledby="objections"> <h2 id="objections">Common questions</h2> <div class="faq"> <article class="faq-item"> <h3>Is this a medical consultation?</h3> <p>No. Harborline Sleep Education is not a medical clinic. The consultation is educational and focused on non-clinical bedtime habits.</p> </article> <article class="faq-item"> <h3>Will I receive a diagnosis, treatment, or prescription?</h3> <p>No. Diagnosis, treatment, prescriptions, and prescription review are not part of the service. You may choose to bring questions from the consultation to a licensed clinician.</p> </article> <article class="faq-item"> <h3>What if the plan does not improve my sleep?</h3> <p>Improvement is not guaranteed. The consultation provides education and routine planning, not a promised result.</p> </article> <article class="faq-item"> <h3>Can I use insurance to pay?</h3> <p>The $160 fee is paid directly by the client. Insurance billing is not included, and insurance coverage is not represented.</p> </article> </div> </section> <section class="next-step" aria-labelledby="next"> <div class="next-step-inner"> <h2 id="next">Next step</h2> <p> If an educational routine-planning consultation fits what you are looking for, review the consultation details and choose a time that works for you. </p> <a class="cta" href="/consultations/harborline">Book a consultation</a> </div> </section> </main> <footer class="footer"> <p>Harborline Sleep Education is an educational coaching service for adults. It is not emergency care or a substitute for an appropriate licensed clinician.</p> </footer> </body> </html>
Score the judge's verdict, criterion by criterion19/19 criteria passed
RequirementVerdictEvidence
complete_html
The response is one complete, parseable HTML document from an HTML5 doctype through the closing html tag, with no Markdown fence.
✓Programmatic check: html_complete=True; html_parse_error_count=0.
no_external_assets
The HTML uses inline CSS and has no CSS asset references, active content, scripts, images, stylesheets, fonts, media, iframes, embeds, objects, SVG, or canvas assets.
✓Programmatic check: inline_css_count=2; resource_request_count=0; forbidden_asset_tag_count=0; active_content_count=0.
duration
The repaired page consistently states a 45-minute consultation and removes the flawed 60-minute duration.
✓The page repeatedly states '45 minutes' and '45-minute virtual consultation' with no mention of the flawed 60-minute duration.
price
The repaired page consistently states the $160 price and removes the flawed $129 price.
✓The price section and FAQ consistently show '$160' with no trace of the flawed $129 figure.
offering_type
The offer is accurately described as one virtual educational routine-planning consultation, not a medical consultation.
✓The hero and FAQ explicitly say 'This is not a medical clinic, and the consultation does not diagnose or treat sleep disorders' describing it as an educational routine-planning consultation.
sections_and_order
All requested sections appear in the exact cautious-visitor decision order.
✓The h2 headings appear in the exact required order: who it's for, how it works, what's included, price, limitations, common questions (objections), next step.
cta_target
The exact CTA 'Book a consultation' appears once or twice and every instance is an anchor whose href is exactly '/consultations/harborline'.
✓Programmatic check: book_cta_count=1; book_cta_count=1; book_cta_all_instances_are_anchors=True; book_cta_all_targeted=True.
no_competing_action
'Start sleeping better', 'Call now', and every competing primary action from the flawed draft are absent.
✓Only one CTA anchor 'Book a consultation' appears; 'Start sleeping better' and 'Call now' are absent from the markup.
educational_scope
The page clearly says Harborline is educational coaching, not a medical clinic, and does not diagnose or treat sleep disorders; cure, diagnosis, and treatment claims are absent.
✓Multiple statements clarify Harborline is 'a coaching-style educational service' and 'not a medical clinic', with no cure/diagnose/treat claims present.
prescription_claim_removed
The invented prescription-review service is absent and no replacement clinical service is added.
✓'Prescriptions or prescription review' is listed under 'Not included' with no replacement clinical service added.
credential_removed
The invented certified-clinician credential is absent and no replacement credential is invented.
✓No mention of certified clinicians or any invented credential appears anywhere in the document.
testimonial_removed
The invented Taylor M. testimonial is absent and no replacement patient or customer proof is invented.
✓There is no testimonial or quoted patient/customer proof anywhere in the page.
guarantee_removed
All cure and guaranteed-improvement claims are absent, and the page explicitly says outcomes are not guaranteed.
✓The FAQ explicitly states 'Improvement is not guaranteed' and no cure or guarantee language exists.
insurance_removed
The insurance-coverage claim is absent, and the page explicitly says insurance is not represented.
✓The price and FAQ sections state 'Insurance billing is not included, and insurance coverage is not represented.'
urgency_removed
The three-appointments scarcity claim is absent and no replacement urgency, scarcity, or pressure tactic is added.
✓No scarcity or appointment-count urgency language ('three appointments remain') appears, nor any replacement pressure tactic.
emergency_direction
The page says it is not emergency care and directs urgent symptoms or safety concerns to local emergency services or an appropriate licensed clinician.
✓The limitations section includes a notice: 'If you have urgent symptoms or safety concerns: contact local emergency services or an appropriate licensed clinician.'
heading_hierarchy
The document has exactly one h1 and ordered heading levels with no skipped levels.
✓Programmatic check: h1_count=1; heading_order_valid=True.
semantic_landmarks
Semantic landmarks and descriptive section headings organize the page; it is not a div-only document.
✓The document uses semantic tags like <header>, <main>, <section>, <aside>, <article>, and <footer> rather than a div-only structure.
conversion_clarity
The corrected page makes the educational offer, fit, included value, limitations, price, and next step concrete without replacing the planted defects with vague wellness copy.
✓Each section gives concrete, specific detail (45 minutes, $160, itemized inclusions/exclusions, explicit next step) rather than vague wellness language.

GPT-5.6 Terra medium effort

Task passed
Task the exact prompt the model was given — assignment, source material, and skill guidance
Repair the supplied flawed landing page for Harborline Sleep Education. Return only one complete HTML document with inline CSS and no external assets, scripts, fonts, images, or requests. Preserve no unsupported statement merely because it appears in the draft. Use the cautious-visitor section order: what this is and who it is for; how the consultation works; what is included; price; limitations and who it is not for; common objections; next step. Use exactly one h1 and ordered heading levels. For this task, the exact CTA 'Book a consultation' supersedes the fixture's default approved CTA. It is the only primary CTA and must appear once or twice as an anchor whose href is exactly '/consultations/harborline'. The page must accurately state the 45-minute, $160 educational consultation and every supplied limitation, including the emergency direction. Fix all planted factual, safety, proof, urgency, action, structure, and implementation defects. Output only HTML. --- ## Supplied source: product-marketing.md # Harborline Sleep Education Harborline Sleep Education is a fictional educational coaching service for adults who want a more consistent bedtime routine. It is not a medical clinic, does not diagnose or treat sleep disorders, and is not emergency care. The paid offering is a 45-minute virtual routine-planning consultation for $160. The consultation produces an educational routine plan and questions a client may choose to discuss with a licensed clinician. Outcomes are not guaranteed, and insurance coverage is not represented. --- ## Supplied source: facts.md # Authoritative synthetic facts - Offering: one 45-minute virtual sleep-routine education consultation. - Price: $160, paid directly by the client. - Included: intake review, routine-planning conversation, and written educational summary. - Audience: adults seeking help organizing non-clinical bedtime habits. - Not included: diagnosis, treatment, prescriptions, emergency support, insurance billing, or guaranteed improvement. - People with urgent symptoms or safety concerns should contact local emergency services or an appropriate licensed clinician. - Approved CTA: Review consultation availability. - No patient outcomes, testimonials, insurance coverage, or clinical credentials are provided by this fixture. --- ## Supplied source: flawed.html <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>Harborline Sleep Clinic</title> <link rel="stylesheet" href="https://fonts.example.com/inter.css"> <script src="https://analytics.example.com/tracker.js"></script> </head> <body> <header> <h1>Diagnose and cure your sleep problems in one call</h1> <p>Our certified clinicians guarantee better sleep in seven days.</p> <a href="https://booking.example.com">Start sleeping better</a> </header> <main> <img src="https://images.example.com/sleep.jpg" alt="Sleeping client"> <section> <h3>What you get</h3> <p>A 60-minute medical consultation, treatment plan, and prescription review.</p> </section> <section> <h2>Only $129</h2> <p>Insurance covers the visit. Only three appointments remain this month.</p> </section> <section> <h2>What patients say</h2> <blockquote>“I was cured after one session.” — Taylor M.</blockquote> </section> </main> <footer> <a href="tel:+15555550199">Call now</a> </footer> </body> </html> --- ## Skill guidance you should follow --- name: cro description: "Diagnose and lift page conversion — value prop, CTAs, trust, friction on any marketing page or form. Use for page feedback, even a bare URL." metadata: version: 2.0.0 --- # Conversion Rate Optimization (CRO) Related Skills: add 'onboarding — for post-signup activation'; this routing pointer existed only in the old description. You are a conversion rate optimization expert. Your goal is to analyze marketing pages and provide actionable recommendations to improve conversion rates. ## Initial Assessment **Check for product marketing context first:** If `.agents/product-marketing.md` exists (or `.claude/product-marketing.md`, or the legacy `product-marketing-context.md` filename, in older setups), read it before asking questions. Use that context and only ask for information not already covered or specific to this task. **Apply the project's brand:** If `BRAND.md` exists, read it before asking questions and apply it to everything you produce — its voice, messaging, and audience for anything written, and its colors, typography, and logo for anything visual. Never ask for a brand fact it already answers. If it lacks something you need, name the missing fact instead of inventing one or quietly falling back to a generic default. Before providing recommendations, identify: 1. **Page Type**: Homepage, landing page, pricing, feature, blog, about, other 2. **Primary Conversion Goal**: Sign up, request demo, purchase, subscribe, download, contact sales 3. **Traffic Context**: Where are visitors coming from? (organic, paid, email, social) --- ## CRO Analysis Framework Analyze the page across these dimensions, in order of impact: ### 1. Value Proposition Clarity (Highest Impact) **Check for:** - Can a visitor understand what this is and why they should care within 5 seconds? - Is the primary benefit clear, specific, and differentiated? - Is it written in the customer's language (not company jargon)? **Common issues:** - Feature-focused instead of benefit-focused - Too vague or too clever (sacrificing clarity) - Trying to say everything instead of the most important thing ### 2. Headline Effectiveness **Evaluate:** - Does it communicate the core value proposition? - Is it specific enough to be meaningful? - Does it match the traffic source's messaging? **Strong headline patterns:** - Outcome-focused: "Get [desired outcome] without [pain point]" - Specificity: Include numbers, timeframes, or concrete details - Social proof: "Join 10,000+ teams who..." ### 3. CTA Placement, Copy, and Hierarchy **Primary CTA assessment:** - Is there one clear primary action? - Is it visible without scrolling? - Does the button copy communicate value, not just action? - Weak: "Submit," "Sign Up," "Learn More" - Strong: "Start Free Trial," "Get My Report," "See Pricing" **CTA hierarchy:** - Is there a logical primary vs. secondary CTA structure? - Are CTAs repeated at key decision points? ### 4. Visual Hierarchy and Scannability **Check:** - Can someone scanning get the main message? - Are the most important elements visually prominent? - Is there enough white space? - Do images support or distract from the message? ### 5. Trust Signals and Social Proof **Types to look for:** - Customer logos (especially recognizable ones) - Testimonials (specific, attributed, with photos) - Case study snippets with real numbers - Review scores and counts - Security badges (where relevant) **Placement:** Near CTAs and after benefit claims ### 6. Objection Handling **Common objections to address:** - Price/value concerns - "Will this work for my situation?" - Implementation difficulty - "What if it doesn't work?" **Address through:** FAQ sections, guarantees, comparison content, process transparency ### 7. Friction Points **Look for:** - Too many form fields - Unclear next steps - Confusing navigation - Required information that shouldn't be required - Mobile experience issues - Long load times --- ## Output Format Structure your recommendations as: ### Quick Wins (Implement Now) Easy changes with likely immediate impact. ### High-Impact Changes (Prioritize) Bigger changes that require more effort but will significantly improve conversions. ### Test Ideas Hypotheses worth A/B testing rather than assuming. ### Copy Alternatives For key elements (headlines, CTAs), provide 2-3 alternatives with rationale. --- ## Page-Specific Frameworks ### Homepage CRO - Clear positioning for cold visitors - Quick path to most common conversion - Handle both "ready to buy" and "still researching" ### Landing Page CRO - Message match with traffic source - Single CTA (remove navigation if possible) - Complete argument on one page ### Pricing Page CRO - Clear plan comparison - Recommended plan indication - Address "which plan is right for me?" anxiety ### Feature Page CRO - Connect feature to benefit - Use cases and examples - Clear path to try/buy ### Blog Post CRO - Contextual CTAs matching content topic - Inline CTAs at natural stopping points --- ## Experiment Ideas When recommending experiments, consider tests for: - Hero section (headline, visual, CTA) - Trust signals and social proof placement - Pricing presentation - Form optimization - Navigation and UX **For comprehensive experiment ideas by page type**: See [references/experiments.md](references/experiments.md) --- ## Task-Specific Questions 1. What's your current conversion rate and goal? 2. Where is traffic coming from? 3. What does your signup/purchase flow look like after this page? 4. Do you have user research, heatmaps, or session recordings? 5. What have you already tried? --- ## Related Skills - **signup**: If the issue is in the signup process itself - **popups**: If considering popups as part of the strategy - **copywriting**: If the page needs a complete copy rewrite - **ab-testing**: To properly test recommended changes --- ## Form Optimization For detailed form CRO guidance — including field optimization, multi-step forms, error handling, and form-specific experiments — see [references/form.md](references/form.md). --- ## Skill guidance you should follow --- name: site-architecture description: "Plan site structure — page hierarchy, navigation, URL patterns, internal linking, visual sitemaps. Not XML sitemaps (see seo-audit)." metadata: version: 2.0.0 --- # Site Architecture You are an information architecture expert. Your goal is to help plan website structure — page hierarchy, navigation, URL patterns, and internal linking — so the site is intuitive for users and optimized for search engines. ## Before Planning **Check for product marketing context first:** If `.agents/product-marketing.md` exists (or `.claude/product-marketing.md`, or the legacy `product-marketing-context.md` filename, in older setups), read it before asking questions. Use that context and only ask for information not already covered or specific to this task. **Apply the project's brand:** If `BRAND.md` exists, read it before asking questions and apply it to everything you produce — its voice, messaging, and audience for anything written, and its colors, typography, and logo for anything visual. Never ask for a brand fact it already answers. If it lacks something you need, name the missing fact instead of inventing one or quietly falling back to a generic default. Gather this context (ask if not provided): ### 1. Business Context - What does the company do? - Who are the primary audiences? - What are the top 3 goals for the site? (conversions, SEO traffic, education, support) ### 2. Current State - New site or restructuring an existing one? - If restructuring: what's broken? (high bounce, poor SEO, users can't find things) - Existing URLs that must be preserved (for redirects)? ### 3. Site Type - SaaS marketing site - Content/blog site - E-commerce - Documentation - Hybrid (SaaS + content) - Small business / local ### 4. Content Inventory - How many pages exist or are planned? - What are the most important pages? (by traffic, conversions, or business value) - Any planned sections or expansions? --- ## Site Types and Starting Points | Site Type | Typical Depth | Key Sections | URL Pattern | |-----------|--------------|--------------|-------------| | SaaS marketing | 2-3 levels | Home, Features, Pricing, Blog, Docs | `/features/name`, `/blog/slug` | | Content/blog | 2-3 levels | Home, Blog, Categories, About | `/blog/slug`, `/category/slug` | | E-commerce | 3-4 levels | Home, Categories, Products, Cart | `/category/subcategory/product` | | Documentation | 3-4 levels | Home, Guides, API Reference | `/docs/section/page` | | Hybrid SaaS+content | 3-4 levels | Home, Product, Blog, Resources, Docs | `/product/feature`, `/blog/slug` | | Small business | 1-2 levels | Home, Services, About, Contact | `/services/name` | **For full page hierarchy templates**: See [references/site-type-templates.md](references/site-type-templates.md) --- ## Page Hierarchy Design ### The 3-Click Rule Users should reach any important page within 3 clicks from the homepage. This isn't absolute, but if critical pages are buried 4+ levels deep, something is wrong. ### Flat vs Deep | Approach | Best For | Tradeoff | |----------|----------|----------| | Flat (2 levels) | Small sites, portfolios | Simple but doesn't scale | | Moderate (3 levels) | Most SaaS, content sites | Good balance of depth and findability | | Deep (4+ levels) | E-commerce, large docs | Scales but risks burying content | **Rule of thumb**: Go as flat as possible while keeping navigation clean. If a nav dropdown has 20+ items, add a level of hierarchy. ### Hierarchy Levels | Level | What It Is | Example | |-------|-----------|---------| | L0 | Homepage | `/` | | L1 | Primary sections | `/features`, `/blog`, `/pricing` | | L2 | Section pages | `/features/analytics`, `/blog/seo-guide` | | L3+ | Detail pages | `/docs/api/authentication` | ### ASCII Tree Format Use this format for page hierarchies: ``` Homepage (/) ├── Features (/features) │ ├── Analytics (/features/analytics) │ ├── Automation (/features/automation) │ └── Integrations (/features/integrations) ├── Pricing (/pricing) ├── Blog (/blog) │ ├── [Category: SEO] (/blog/category/seo) │ └── [Category: CRO] (/blog/category/cro) ├── Resources (/resources) │ ├── Case Studies (/resources/case-studies) │ └── Templates (/resources/templates) ├── Docs (/docs) │ ├── Getting Started (/docs/getting-started) │ └── API Reference (/docs/api) ├── About (/about) │ └── Careers (/about/careers) └── Contact (/contact) ``` **When to use ASCII vs Mermaid**: - ASCII: quick hierarchy drafts, text-only contexts, simple structures - Mermaid: visual presentations, complex relationships, showing nav zones or linking patterns --- ## Navigation Design ### Navigation Types | Nav Type | Purpose | Placement | |----------|---------|-----------| | Header nav | Primary navigation, always visible | Top of every page | | Dropdown menus | Organize sub-pages under parent | Expands from header items | | Footer nav | Secondary links, legal, sitemap | Bottom of every page | | Sidebar nav | Section navigation (docs, blog) | Left side within a section | | Breadcrumbs | Show current location in hierarchy | Below header, above content | | Contextual links | Related content, next steps | Within page content | ### Header Navigation Rules - **4-7 items max** in the primary nav (more causes decision paralysis) - **CTA button** goes rightmost (e.g., "Start Free Trial," "Get Started") - **Logo** links to homepage (left side) - **Order by priority**: most important/visited pages first - If you have a mega menu, limit to 3-4 columns ### Footer Organization Group footer links into columns: - **Product**: Features, Pricing, Integrations, Changelog - **Resources**: Blog, Case Studies, Templates, Docs - **Company**: About, Careers, Contact, Press - **Legal**: Privacy, Terms, Security ### Breadcrumb Format ``` Home > Features > Analytics Home > Blog > SEO Category > Post Title ``` Breadcrumbs should mirror the URL hierarchy. Every breadcrumb segment should be a clickable link except the current page. **For detailed navigation patterns**: See [references/navigation-patterns.md](references/navigation-patterns.md) --- ## URL Structure ### Design Principles 1. **Readable by humans** — `/features/analytics` not `/f/a123` 2. **Hyphens, not underscores** — `/blog/seo-guide` not `/blog/seo_guide` 3. **Reflect the hierarchy** — URL path should match site structure 4. **Consistent trailing slash policy** — pick one (with or without) and enforce it 5. **Lowercase always** — `/About` should redirect to `/about` 6. **Short but descriptive** — `/blog/how-to-improve-landing-page-conversion-rates` is too long; `/blog/landing-page-conversions` is better ### URL Patterns by Page Type | Page Type | Pattern | Example | |-----------|---------|---------| | Homepage | `/` | `example.com` | | Feature page | `/features/{name}` | `/features/analytics` | | Pricing | `/pricing` | `/pricing` | | Blog post | `/blog/{slug}` | `/blog/seo-guide` | | Blog category | `/blog/category/{slug}` | `/blog/category/seo` | | Case study | `/customers/{slug}` | `/customers/acme-corp` | | Documentation | `/docs/{section}/{page}` | `/docs/api/authentication` | | Legal | `/{page}` | `/privacy`, `/terms` | | Landing page | `/{slug}` or `/lp/{slug}` | `/free-trial`, `/lp/webinar` | | Comparison | `/compare/{competitor}` or `/vs/{competitor}` | `/compare/competitor-name` | | Integration | `/integrations/{name}` | `/integrations/slack` | | Template | `/templates/{slug}` | `/templates/marketing-plan` | ### Common Mistakes - **Dates in blog URLs** — `/blog/2024/01/15/post-title` adds no value and makes URLs long. Use `/blog/post-title`. - **Over-nesting** — `/products/category/subcategory/item/detail` is too deep. Flatten where possible. - **Changing URLs without redirects** — Every old URL needs a 301 redirect to its new URL. Without them, you lose backlink equity and create broken pages for anyone with the old URL bookmarked or linked. - **IDs in URLs** — `/product/12345` is not human-readable. Use slugs. - **Query parameters for content** — `/blog?id=123` should be `/blog/post-title`. - **Inconsistent patterns** — Don't mix `/features/analytics` and `/product/automation`. Pick one parent. ### Breadcrumb-URL Alignment The breadcrumb trail should mirror the URL path: | URL | Breadcrumb | |-----|-----------| | `/features/analytics` | Home > Features > Analytics | | `/blog/seo-guide` | Home > Blog > SEO Guide | | `/docs/api/auth` | Home > Docs > API > Authentication | --- ## Visual Sitemap Output (Mermaid) Use Mermaid `graph TD` for visual sitemaps. This makes hierarchy relationships clear and can annotate navigation zones. ### Basic Hierarchy ```mermaid graph TD HOME[Homepage] --> FEAT[Features] HOME --> PRICE[Pricing] HOME --> BLOG[Blog] HOME --> ABOUT[About] FEAT --> F1[Analytics] FEAT --> F2[Automation] FEAT --> F3[Integrations] BLOG --> B1[Post 1] BLOG --> B2[Post 2] ``` ### With Navigation Zones ```mermaid graph TD subgraph Header Nav HOME[Homepage] FEAT[Features] PRICE[Pricing] BLOG[Blog] CTA[Get Started] end subgraph Footer Nav ABOUT[About] CAREERS[Careers] CONTACT[Contact] PRIVACY[Privacy] end HOME --> FEAT HOME --> PRICE HOME --> BLOG HOME --> ABOUT FEAT --> F1[Analytics] FEAT --> F2[Automation] ``` **For more Mermaid templates**: See [references/mermaid-templates.md](references/mermaid-templates.md) --- ## Internal Linking Strategy ### Link Types | Type | Purpose | Example | |------|---------|---------| | Navigational | Move between sections | Header, footer, sidebar links | | Contextual | Related content within text | "Learn more about [analytics](/features/analytics)" | | Hub-and-spoke | Connect cluster content to hub | Blog posts linking to pillar page | | Cross-section | Connect related pages across sections | Feature page linking to related case study | ### Internal Linking Rules 1. **No orphan pages** — every page must have at least one internal link pointing to it 2. **Descriptive anchor text** — "our analytics features" not "click here" 3. **5-10 internal links per 1000 words** of content (approximate guideline) 4. **Link to important pages more often** — homepage, key feature pages, pricing 5. **Use breadcrumbs** — free internal links on every page 6. **Related content sections** — "Related Posts" or "You might also like" at page bottom ### Hub-and-Spoke Model For content-heavy sites, organize around hub pages: ``` Hub: /blog/seo-guide (comprehensive overview) ├── Spoke: /blog/keyword-research (links back to hub) ├── Spoke: /blog/on-page-seo (links back to hub) ├── Spoke: /blog/technical-seo (links back to hub) └── Spoke: /blog/link-building (links back to hub) ``` Each spoke links back to the hub. The hub links to all spokes. Spokes link to each other where relevant. ### Link Audit Checklist - [ ] Every page has at least one inbound internal link - [ ] No broken internal links (404s) - [ ] Anchor text is descriptive (not "click here" or "read more") - [ ] Important pages have the most inbound internal links - [ ] Breadcrumbs are implemented on all pages - [ ] Related content links exist on blog posts - [ ] Cross-section links connect features to case studies, blog to product pages --- ## Output Format When creating a site architecture plan, provide these deliverables: ### 1. Page Hierarchy (ASCII Tree) Full site structure with URLs at each node. Use the ASCII tree format from the Page Hierarchy Design section. ### 2. Visual Sitemap (Mermaid) Mermaid diagram showing page relationships and navigation zones. Use `graph TD` with subgraphs for nav zones where helpful. ### 3. URL Map Table | Page | URL | Parent | Nav Location | Priority | |------|-----|--------|-------------|----------| | Homepage | `/` | — | Header | High | | Features | `/features` | Homepage | Header | High | | Analytics | `/features/analytics` | Features | Header dropdown | Medium | | Pricing | `/pricing` | Homepage | Header | High | | Blog | `/blog` | Homepage | Header | Medium | ### 4. Navigation Spec - Header nav items (ordered, with CTA) - Footer sections and links - Sidebar nav (if applicable) - Breadcrumb implementation notes ### 5. Internal Linking Plan - Hub pages and their spokes - Cross-section link opportunities - Orphan page audit (if restructuring) - Recommended links per key page --- ## Task-Specific Questions 1. Is this a new site or are you restructuring an existing one? 2. What type of site is it? (SaaS, content, e-commerce, docs, hybrid, small business) 3. How many pages exist or are planned? 4. What are the 5 most important pages on the site? 5. Are there existing URLs that need to be preserved or redirected? 6. Who are the primary audiences, and what are they trying to accomplish on the site? --- ## Related Skills - **content-strategy**: For planning what content to create and topic clusters - **programmatic-seo**: For building SEO pages at scale with templates and data - **seo-audit**: For technical SEO, on-page optimization, and indexation issues - **cro**: For optimizing individual pages for conversion - **schema**: For implementing breadcrumb and site navigation structured data - **competitors**: For comparison page frameworks and URL patterns
Answer the model's full response$0.049 · 18.0s · 2.4k tok
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Harborline Sleep Education | Virtual Routine-Planning Consultation</title> <style> :root { --ink: #18313a; --muted: #52666d; --paper: #f8fbfa; --surface: #ffffff; --line: #d9e5e2; --teal: #176b69; --teal-dark: #105351; --soft: #e9f4f1; --warning-bg: #fff7e8; --warning-line: #e8c984; --max-width: 760px; } * { box-sizing: border-box; } html { scroll-behavior: smooth; } body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; font-size: 17px; line-height: 1.65; } .container { width: min(calc(100% - 40px), var(--max-width)); margin: 0 auto; } header { padding: 72px 0 48px; background: linear-gradient(160deg, #edf8f5 0%, #f8fbfa 72%); border-bottom: 1px solid var(--line); } .eyebrow { margin: 0 0 14px; color: var(--teal-dark); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; } h1, h2, h3 { color: var(--ink); line-height: 1.2; } h1 { max-width: 650px; margin: 0; font-size: clamp(2.15rem, 6vw, 3.7rem); letter-spacing: -0.04em; } h2 { margin: 0 0 18px; font-size: clamp(1.5rem, 3.5vw, 2rem); letter-spacing: -0.025em; } h3 { margin: 24px 0 8px; font-size: 1.05rem; } p { margin: 0 0 16px; } .lead { max-width: 640px; margin-top: 20px; color: var(--muted); font-size: 1.15rem; } .summary { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0; padding: 0; list-style: none; } .summary li { padding: 7px 11px; color: var(--teal-dark); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font-size: 0.94rem; font-weight: 700; } .button { display: inline-block; padding: 13px 20px; color: #ffffff; background: var(--teal); border-radius: 7px; font-weight: 700; line-height: 1.2; text-decoration: none; } .button:hover, .button:focus { background: var(--teal-dark); } main { padding: 8px 0 56px; } section { padding: 44px 0; border-bottom: 1px solid var(--line); } section:last-child { border-bottom: 0; } .card { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; } ul { margin: 0; padding-left: 1.3em; } li { margin: 8px 0; } .price { margin: 0 0 8px; color: var(--teal-dark); font-size: clamp(2.35rem, 6vw, 3.35rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; } .price-note { margin: 0; color: var(--muted); } .notice { padding: 20px 22px; background: var(--warning-bg); border: 1px solid var(--warning-line); border-radius: 10px; } .notice p:last-child, .card p:last-child { margin-bottom: 0; } .final { padding: 28px; background: var(--soft); border-radius: 12px; } footer { padding: 26px 0 36px; color: var(--muted); border-top: 1px solid var(--line); font-size: 0.92rem; } @media (max-width: 520px) { header { padding-top: 52px; } section { padding: 34px 0; } .card, .final { padding: 20px; } } </style> </head> <body> <header> <div class="container"> <p class="eyebrow">Harborline Sleep Education</p> <h1>Organize a more consistent bedtime routine</h1> <p class="lead">A 45-minute virtual educational consultation for adults who want help planning non-clinical bedtime habits.</p> <ul class="summary" aria-label="Consultation overview"> <li>45 minutes</li> <li>Virtual</li> <li>$160</li> </ul> <a class="button" href="/consultations/harborline">Book a consultation</a> </div> </header> <main class="container"> <section aria-labelledby="what-is-this"> <h2 id="what-is-this">What this is and who it is for</h2> <p>Harborline Sleep Education provides one virtual sleep-routine education consultation. It is for adults seeking help organizing non-clinical bedtime habits and creating a more consistent routine.</p> <p>The focus is practical education and routine planning—not medical evaluation.</p> </section> <section aria-labelledby="how-it-works"> <h2 id="how-it-works">How the consultation works</h2> <div class="card"> <p>During the 45-minute virtual consultation, you will discuss your current bedtime habits and take part in a routine-planning conversation.</p> <p>The consultation is educational. It can help you identify routine questions you may choose to discuss with a licensed clinician.</p> </div> </section> <section aria-labelledby="included"> <h2 id="included">What is included</h2> <ul> <li>Intake review</li> <li>A virtual routine-planning conversation</li> <li>A written educational summary</li> <li>An educational routine plan</li> <li>Questions you may choose to discuss with a licensed clinician</li> </ul> </section> <section aria-labelledby="price"> <h2 id="price">Price</h2> <div class="card"> <p class="price">$160</p> <p class="price-note">The consultation is paid directly by the client. Insurance billing and insurance coverage are not represented.</p> </div> </section> <section aria-labelledby="limitations"> <h2 id="limitations">Limitations and who it is not for</h2> <p>Harborline Sleep Education is not a medical clinic and does not provide medical care. The consultation does not include:</p> <ul> <li>Diagnosis of sleep disorders or other conditions</li> <li>Treatment</li> <li>Prescriptions</li> <li>Emergency support</li> <li>Insurance billing</li> <li>Guaranteed improvement</li> </ul> <div class="notice" role="note" aria-label="Urgent care information"> <h3>Urgent symptoms or safety concerns</h3> <p>If you have urgent symptoms or safety concerns, contact local emergency services or an appropriate licensed clinician. This consultation is not emergency care.</p> </div> </section> <section aria-labelledby="questions"> <h2 id="questions">Common objections</h2> <h3>Will this diagnose or treat a sleep problem?</h3> <p>No. This is a non-clinical educational consultation. It does not diagnose or treat sleep disorders and does not provide prescriptions.</p> <h3>Is improvement guaranteed?</h3> <p>No. The consultation provides education and a routine plan, but outcomes and improvement are not guaranteed.</p> <h3>Can insurance pay for it?</h3> <p>The $160 fee is paid directly by the client. Insurance billing and coverage are not represented.</p> <h3>What if I need clinical or urgent help?</h3> <p>Consider an appropriate licensed clinician for clinical needs. For urgent symptoms or safety concerns, contact local emergency services or an appropriate licensed clinician.</p> </section> <section aria-labelledby="next-step"> <div class="final"> <h2 id="next-step">Next step</h2> <p>If you are an adult looking for educational help organizing non-clinical bedtime habits, you can book a 45-minute virtual routine-planning consultation for $160.</p> <a class="button" href="/consultations/harborline">Book a consultation</a> </div> </section> </main> <footer> <div class="container"> Harborline Sleep Education provides educational routine planning for adults. It is not a medical clinic or emergency service. </div> </footer> </body> </html>
Score the judge's verdict, criterion by criterion19/19 criteria passed
RequirementVerdictEvidence
complete_html
The response is one complete, parseable HTML document from an HTML5 doctype through the closing html tag, with no Markdown fence.
✓Programmatic check: html_complete=True; html_parse_error_count=0.
no_external_assets
The HTML uses inline CSS and has no CSS asset references, active content, scripts, images, stylesheets, fonts, media, iframes, embeds, objects, SVG, or canvas assets.
✓Programmatic check: inline_css_count=1; resource_request_count=0; forbidden_asset_tag_count=0; active_content_count=0.
duration
The repaired page consistently states a 45-minute consultation and removes the flawed 60-minute duration.
✓The page consistently states '45-minute' virtual consultation throughout and no 60-minute duration appears.
price
The repaired page consistently states the $160 price and removes the flawed $129 price.
✓The price is stated as $160 in the hero summary, price section, and FAQ, with no $129 anywhere.
offering_type
The offer is accurately described as one virtual educational routine-planning consultation, not a medical consultation.
✓The 'What this is' section describes it as a virtual educational routine-planning consultation, not a medical consultation, and explicitly says 'not a medical clinic'.
sections_and_order
All requested sections appear in the exact cautious-visitor decision order.
✓Sections appear in the exact order: what/who it's for, how it works, what's included, price, limitations/who it's not for, common objections, next step.
cta_target
The exact CTA 'Book a consultation' appears once or twice and every instance is an anchor whose href is exactly '/consultations/harborline'.
✓Programmatic check: book_cta_count=2; book_cta_count=2; book_cta_all_instances_are_anchors=True; book_cta_all_targeted=True.
no_competing_action
'Start sleeping better', 'Call now', and every competing primary action from the flawed draft are absent.
✓'Start sleeping better' and 'Call now' are absent, and only two 'Book a consultation' anchors targeting '/consultations/harborline' remain (per measured facts).
educational_scope
The page clearly says Harborline is educational coaching, not a medical clinic, and does not diagnose or treat sleep disorders; cure, diagnosis, and treatment claims are absent.
✓The limitations section states 'Harborline Sleep Education is not a medical clinic and does not provide medical care' and the FAQ says it 'does not diagnose or treat sleep disorders', with no cure claims present.
prescription_claim_removed
The invented prescription-review service is absent and no replacement clinical service is added.
✓'Prescriptions' is listed as explicitly excluded and no replacement clinical service like prescription review is added.
credential_removed
The invented certified-clinician credential is absent and no replacement credential is invented.
✓No mention of 'certified clinicians' or any invented credential appears anywhere in the page.
testimonial_removed
The invented Taylor M. testimonial is absent and no replacement patient or customer proof is invented.
✓The 'Taylor M.' testimonial and any patient quote or proof section are absent from the page.
guarantee_removed
All cure and guaranteed-improvement claims are absent, and the page explicitly says outcomes are not guaranteed.
✓The FAQ explicitly states 'outcomes and improvement are not guaranteed' and no cure/guarantee claims remain.
insurance_removed
The insurance-coverage claim is absent, and the page explicitly says insurance is not represented.
✓The price and FAQ sections state 'Insurance billing and insurance coverage are not represented', with the false insurance-coverage claim removed.
urgency_removed
The three-appointments scarcity claim is absent and no replacement urgency, scarcity, or pressure tactic is added.
✓No scarcity phrase like 'three appointments remain' or any other urgency/pressure tactic appears in the page.
emergency_direction
The page says it is not emergency care and directs urgent symptoms or safety concerns to local emergency services or an appropriate licensed clinician.
✓A dedicated notice states 'If you have urgent symptoms or safety concerns, contact local emergency services or an appropriate licensed clinician. This consultation is not emergency care.'
heading_hierarchy
The document has exactly one h1 and ordered heading levels with no skipped levels.
✓Programmatic check: h1_count=1; heading_order_valid=True.
semantic_landmarks
Semantic landmarks and descriptive section headings organize the page; it is not a div-only document.
✓The page uses semantic elements (header, main, section with aria-labelledby, footer) rather than a div-only structure, matching descriptive section headings.
conversion_clarity
The corrected page makes the educational offer, fit, included value, limitations, price, and next step concrete without replacing the planted defects with vague wellness copy.
✓The page concretely states the audience fit, included services, $160 price, limitations, and a clear 'Book a consultation' next step without vague wellness language replacing removed defects.

GPT-5.6 Sol medium effort

Task passed
Task the exact prompt the model was given — assignment, source material, and skill guidance
Repair the supplied flawed landing page for Harborline Sleep Education. Return only one complete HTML document with inline CSS and no external assets, scripts, fonts, images, or requests. Preserve no unsupported statement merely because it appears in the draft. Use the cautious-visitor section order: what this is and who it is for; how the consultation works; what is included; price; limitations and who it is not for; common objections; next step. Use exactly one h1 and ordered heading levels. For this task, the exact CTA 'Book a consultation' supersedes the fixture's default approved CTA. It is the only primary CTA and must appear once or twice as an anchor whose href is exactly '/consultations/harborline'. The page must accurately state the 45-minute, $160 educational consultation and every supplied limitation, including the emergency direction. Fix all planted factual, safety, proof, urgency, action, structure, and implementation defects. Output only HTML. --- ## Supplied source: product-marketing.md # Harborline Sleep Education Harborline Sleep Education is a fictional educational coaching service for adults who want a more consistent bedtime routine. It is not a medical clinic, does not diagnose or treat sleep disorders, and is not emergency care. The paid offering is a 45-minute virtual routine-planning consultation for $160. The consultation produces an educational routine plan and questions a client may choose to discuss with a licensed clinician. Outcomes are not guaranteed, and insurance coverage is not represented. --- ## Supplied source: facts.md # Authoritative synthetic facts - Offering: one 45-minute virtual sleep-routine education consultation. - Price: $160, paid directly by the client. - Included: intake review, routine-planning conversation, and written educational summary. - Audience: adults seeking help organizing non-clinical bedtime habits. - Not included: diagnosis, treatment, prescriptions, emergency support, insurance billing, or guaranteed improvement. - People with urgent symptoms or safety concerns should contact local emergency services or an appropriate licensed clinician. - Approved CTA: Review consultation availability. - No patient outcomes, testimonials, insurance coverage, or clinical credentials are provided by this fixture. --- ## Supplied source: flawed.html <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>Harborline Sleep Clinic</title> <link rel="stylesheet" href="https://fonts.example.com/inter.css"> <script src="https://analytics.example.com/tracker.js"></script> </head> <body> <header> <h1>Diagnose and cure your sleep problems in one call</h1> <p>Our certified clinicians guarantee better sleep in seven days.</p> <a href="https://booking.example.com">Start sleeping better</a> </header> <main> <img src="https://images.example.com/sleep.jpg" alt="Sleeping client"> <section> <h3>What you get</h3> <p>A 60-minute medical consultation, treatment plan, and prescription review.</p> </section> <section> <h2>Only $129</h2> <p>Insurance covers the visit. Only three appointments remain this month.</p> </section> <section> <h2>What patients say</h2> <blockquote>“I was cured after one session.” — Taylor M.</blockquote> </section> </main> <footer> <a href="tel:+15555550199">Call now</a> </footer> </body> </html> --- ## Skill guidance you should follow --- name: cro description: "Diagnose and lift page conversion — value prop, CTAs, trust, friction on any marketing page or form. Use for page feedback, even a bare URL." metadata: version: 2.0.0 --- # Conversion Rate Optimization (CRO) Related Skills: add 'onboarding — for post-signup activation'; this routing pointer existed only in the old description. You are a conversion rate optimization expert. Your goal is to analyze marketing pages and provide actionable recommendations to improve conversion rates. ## Initial Assessment **Check for product marketing context first:** If `.agents/product-marketing.md` exists (or `.claude/product-marketing.md`, or the legacy `product-marketing-context.md` filename, in older setups), read it before asking questions. Use that context and only ask for information not already covered or specific to this task. **Apply the project's brand:** If `BRAND.md` exists, read it before asking questions and apply it to everything you produce — its voice, messaging, and audience for anything written, and its colors, typography, and logo for anything visual. Never ask for a brand fact it already answers. If it lacks something you need, name the missing fact instead of inventing one or quietly falling back to a generic default. Before providing recommendations, identify: 1. **Page Type**: Homepage, landing page, pricing, feature, blog, about, other 2. **Primary Conversion Goal**: Sign up, request demo, purchase, subscribe, download, contact sales 3. **Traffic Context**: Where are visitors coming from? (organic, paid, email, social) --- ## CRO Analysis Framework Analyze the page across these dimensions, in order of impact: ### 1. Value Proposition Clarity (Highest Impact) **Check for:** - Can a visitor understand what this is and why they should care within 5 seconds? - Is the primary benefit clear, specific, and differentiated? - Is it written in the customer's language (not company jargon)? **Common issues:** - Feature-focused instead of benefit-focused - Too vague or too clever (sacrificing clarity) - Trying to say everything instead of the most important thing ### 2. Headline Effectiveness **Evaluate:** - Does it communicate the core value proposition? - Is it specific enough to be meaningful? - Does it match the traffic source's messaging? **Strong headline patterns:** - Outcome-focused: "Get [desired outcome] without [pain point]" - Specificity: Include numbers, timeframes, or concrete details - Social proof: "Join 10,000+ teams who..." ### 3. CTA Placement, Copy, and Hierarchy **Primary CTA assessment:** - Is there one clear primary action? - Is it visible without scrolling? - Does the button copy communicate value, not just action? - Weak: "Submit," "Sign Up," "Learn More" - Strong: "Start Free Trial," "Get My Report," "See Pricing" **CTA hierarchy:** - Is there a logical primary vs. secondary CTA structure? - Are CTAs repeated at key decision points? ### 4. Visual Hierarchy and Scannability **Check:** - Can someone scanning get the main message? - Are the most important elements visually prominent? - Is there enough white space? - Do images support or distract from the message? ### 5. Trust Signals and Social Proof **Types to look for:** - Customer logos (especially recognizable ones) - Testimonials (specific, attributed, with photos) - Case study snippets with real numbers - Review scores and counts - Security badges (where relevant) **Placement:** Near CTAs and after benefit claims ### 6. Objection Handling **Common objections to address:** - Price/value concerns - "Will this work for my situation?" - Implementation difficulty - "What if it doesn't work?" **Address through:** FAQ sections, guarantees, comparison content, process transparency ### 7. Friction Points **Look for:** - Too many form fields - Unclear next steps - Confusing navigation - Required information that shouldn't be required - Mobile experience issues - Long load times --- ## Output Format Structure your recommendations as: ### Quick Wins (Implement Now) Easy changes with likely immediate impact. ### High-Impact Changes (Prioritize) Bigger changes that require more effort but will significantly improve conversions. ### Test Ideas Hypotheses worth A/B testing rather than assuming. ### Copy Alternatives For key elements (headlines, CTAs), provide 2-3 alternatives with rationale. --- ## Page-Specific Frameworks ### Homepage CRO - Clear positioning for cold visitors - Quick path to most common conversion - Handle both "ready to buy" and "still researching" ### Landing Page CRO - Message match with traffic source - Single CTA (remove navigation if possible) - Complete argument on one page ### Pricing Page CRO - Clear plan comparison - Recommended plan indication - Address "which plan is right for me?" anxiety ### Feature Page CRO - Connect feature to benefit - Use cases and examples - Clear path to try/buy ### Blog Post CRO - Contextual CTAs matching content topic - Inline CTAs at natural stopping points --- ## Experiment Ideas When recommending experiments, consider tests for: - Hero section (headline, visual, CTA) - Trust signals and social proof placement - Pricing presentation - Form optimization - Navigation and UX **For comprehensive experiment ideas by page type**: See [references/experiments.md](references/experiments.md) --- ## Task-Specific Questions 1. What's your current conversion rate and goal? 2. Where is traffic coming from? 3. What does your signup/purchase flow look like after this page? 4. Do you have user research, heatmaps, or session recordings? 5. What have you already tried? --- ## Related Skills - **signup**: If the issue is in the signup process itself - **popups**: If considering popups as part of the strategy - **copywriting**: If the page needs a complete copy rewrite - **ab-testing**: To properly test recommended changes --- ## Form Optimization For detailed form CRO guidance — including field optimization, multi-step forms, error handling, and form-specific experiments — see [references/form.md](references/form.md). --- ## Skill guidance you should follow --- name: site-architecture description: "Plan site structure — page hierarchy, navigation, URL patterns, internal linking, visual sitemaps. Not XML sitemaps (see seo-audit)." metadata: version: 2.0.0 --- # Site Architecture You are an information architecture expert. Your goal is to help plan website structure — page hierarchy, navigation, URL patterns, and internal linking — so the site is intuitive for users and optimized for search engines. ## Before Planning **Check for product marketing context first:** If `.agents/product-marketing.md` exists (or `.claude/product-marketing.md`, or the legacy `product-marketing-context.md` filename, in older setups), read it before asking questions. Use that context and only ask for information not already covered or specific to this task. **Apply the project's brand:** If `BRAND.md` exists, read it before asking questions and apply it to everything you produce — its voice, messaging, and audience for anything written, and its colors, typography, and logo for anything visual. Never ask for a brand fact it already answers. If it lacks something you need, name the missing fact instead of inventing one or quietly falling back to a generic default. Gather this context (ask if not provided): ### 1. Business Context - What does the company do? - Who are the primary audiences? - What are the top 3 goals for the site? (conversions, SEO traffic, education, support) ### 2. Current State - New site or restructuring an existing one? - If restructuring: what's broken? (high bounce, poor SEO, users can't find things) - Existing URLs that must be preserved (for redirects)? ### 3. Site Type - SaaS marketing site - Content/blog site - E-commerce - Documentation - Hybrid (SaaS + content) - Small business / local ### 4. Content Inventory - How many pages exist or are planned? - What are the most important pages? (by traffic, conversions, or business value) - Any planned sections or expansions? --- ## Site Types and Starting Points | Site Type | Typical Depth | Key Sections | URL Pattern | |-----------|--------------|--------------|-------------| | SaaS marketing | 2-3 levels | Home, Features, Pricing, Blog, Docs | `/features/name`, `/blog/slug` | | Content/blog | 2-3 levels | Home, Blog, Categories, About | `/blog/slug`, `/category/slug` | | E-commerce | 3-4 levels | Home, Categories, Products, Cart | `/category/subcategory/product` | | Documentation | 3-4 levels | Home, Guides, API Reference | `/docs/section/page` | | Hybrid SaaS+content | 3-4 levels | Home, Product, Blog, Resources, Docs | `/product/feature`, `/blog/slug` | | Small business | 1-2 levels | Home, Services, About, Contact | `/services/name` | **For full page hierarchy templates**: See [references/site-type-templates.md](references/site-type-templates.md) --- ## Page Hierarchy Design ### The 3-Click Rule Users should reach any important page within 3 clicks from the homepage. This isn't absolute, but if critical pages are buried 4+ levels deep, something is wrong. ### Flat vs Deep | Approach | Best For | Tradeoff | |----------|----------|----------| | Flat (2 levels) | Small sites, portfolios | Simple but doesn't scale | | Moderate (3 levels) | Most SaaS, content sites | Good balance of depth and findability | | Deep (4+ levels) | E-commerce, large docs | Scales but risks burying content | **Rule of thumb**: Go as flat as possible while keeping navigation clean. If a nav dropdown has 20+ items, add a level of hierarchy. ### Hierarchy Levels | Level | What It Is | Example | |-------|-----------|---------| | L0 | Homepage | `/` | | L1 | Primary sections | `/features`, `/blog`, `/pricing` | | L2 | Section pages | `/features/analytics`, `/blog/seo-guide` | | L3+ | Detail pages | `/docs/api/authentication` | ### ASCII Tree Format Use this format for page hierarchies: ``` Homepage (/) ├── Features (/features) │ ├── Analytics (/features/analytics) │ ├── Automation (/features/automation) │ └── Integrations (/features/integrations) ├── Pricing (/pricing) ├── Blog (/blog) │ ├── [Category: SEO] (/blog/category/seo) │ └── [Category: CRO] (/blog/category/cro) ├── Resources (/resources) │ ├── Case Studies (/resources/case-studies) │ └── Templates (/resources/templates) ├── Docs (/docs) │ ├── Getting Started (/docs/getting-started) │ └── API Reference (/docs/api) ├── About (/about) │ └── Careers (/about/careers) └── Contact (/contact) ``` **When to use ASCII vs Mermaid**: - ASCII: quick hierarchy drafts, text-only contexts, simple structures - Mermaid: visual presentations, complex relationships, showing nav zones or linking patterns --- ## Navigation Design ### Navigation Types | Nav Type | Purpose | Placement | |----------|---------|-----------| | Header nav | Primary navigation, always visible | Top of every page | | Dropdown menus | Organize sub-pages under parent | Expands from header items | | Footer nav | Secondary links, legal, sitemap | Bottom of every page | | Sidebar nav | Section navigation (docs, blog) | Left side within a section | | Breadcrumbs | Show current location in hierarchy | Below header, above content | | Contextual links | Related content, next steps | Within page content | ### Header Navigation Rules - **4-7 items max** in the primary nav (more causes decision paralysis) - **CTA button** goes rightmost (e.g., "Start Free Trial," "Get Started") - **Logo** links to homepage (left side) - **Order by priority**: most important/visited pages first - If you have a mega menu, limit to 3-4 columns ### Footer Organization Group footer links into columns: - **Product**: Features, Pricing, Integrations, Changelog - **Resources**: Blog, Case Studies, Templates, Docs - **Company**: About, Careers, Contact, Press - **Legal**: Privacy, Terms, Security ### Breadcrumb Format ``` Home > Features > Analytics Home > Blog > SEO Category > Post Title ``` Breadcrumbs should mirror the URL hierarchy. Every breadcrumb segment should be a clickable link except the current page. **For detailed navigation patterns**: See [references/navigation-patterns.md](references/navigation-patterns.md) --- ## URL Structure ### Design Principles 1. **Readable by humans** — `/features/analytics` not `/f/a123` 2. **Hyphens, not underscores** — `/blog/seo-guide` not `/blog/seo_guide` 3. **Reflect the hierarchy** — URL path should match site structure 4. **Consistent trailing slash policy** — pick one (with or without) and enforce it 5. **Lowercase always** — `/About` should redirect to `/about` 6. **Short but descriptive** — `/blog/how-to-improve-landing-page-conversion-rates` is too long; `/blog/landing-page-conversions` is better ### URL Patterns by Page Type | Page Type | Pattern | Example | |-----------|---------|---------| | Homepage | `/` | `example.com` | | Feature page | `/features/{name}` | `/features/analytics` | | Pricing | `/pricing` | `/pricing` | | Blog post | `/blog/{slug}` | `/blog/seo-guide` | | Blog category | `/blog/category/{slug}` | `/blog/category/seo` | | Case study | `/customers/{slug}` | `/customers/acme-corp` | | Documentation | `/docs/{section}/{page}` | `/docs/api/authentication` | | Legal | `/{page}` | `/privacy`, `/terms` | | Landing page | `/{slug}` or `/lp/{slug}` | `/free-trial`, `/lp/webinar` | | Comparison | `/compare/{competitor}` or `/vs/{competitor}` | `/compare/competitor-name` | | Integration | `/integrations/{name}` | `/integrations/slack` | | Template | `/templates/{slug}` | `/templates/marketing-plan` | ### Common Mistakes - **Dates in blog URLs** — `/blog/2024/01/15/post-title` adds no value and makes URLs long. Use `/blog/post-title`. - **Over-nesting** — `/products/category/subcategory/item/detail` is too deep. Flatten where possible. - **Changing URLs without redirects** — Every old URL needs a 301 redirect to its new URL. Without them, you lose backlink equity and create broken pages for anyone with the old URL bookmarked or linked. - **IDs in URLs** — `/product/12345` is not human-readable. Use slugs. - **Query parameters for content** — `/blog?id=123` should be `/blog/post-title`. - **Inconsistent patterns** — Don't mix `/features/analytics` and `/product/automation`. Pick one parent. ### Breadcrumb-URL Alignment The breadcrumb trail should mirror the URL path: | URL | Breadcrumb | |-----|-----------| | `/features/analytics` | Home > Features > Analytics | | `/blog/seo-guide` | Home > Blog > SEO Guide | | `/docs/api/auth` | Home > Docs > API > Authentication | --- ## Visual Sitemap Output (Mermaid) Use Mermaid `graph TD` for visual sitemaps. This makes hierarchy relationships clear and can annotate navigation zones. ### Basic Hierarchy ```mermaid graph TD HOME[Homepage] --> FEAT[Features] HOME --> PRICE[Pricing] HOME --> BLOG[Blog] HOME --> ABOUT[About] FEAT --> F1[Analytics] FEAT --> F2[Automation] FEAT --> F3[Integrations] BLOG --> B1[Post 1] BLOG --> B2[Post 2] ``` ### With Navigation Zones ```mermaid graph TD subgraph Header Nav HOME[Homepage] FEAT[Features] PRICE[Pricing] BLOG[Blog] CTA[Get Started] end subgraph Footer Nav ABOUT[About] CAREERS[Careers] CONTACT[Contact] PRIVACY[Privacy] end HOME --> FEAT HOME --> PRICE HOME --> BLOG HOME --> ABOUT FEAT --> F1[Analytics] FEAT --> F2[Automation] ``` **For more Mermaid templates**: See [references/mermaid-templates.md](references/mermaid-templates.md) --- ## Internal Linking Strategy ### Link Types | Type | Purpose | Example | |------|---------|---------| | Navigational | Move between sections | Header, footer, sidebar links | | Contextual | Related content within text | "Learn more about [analytics](/features/analytics)" | | Hub-and-spoke | Connect cluster content to hub | Blog posts linking to pillar page | | Cross-section | Connect related pages across sections | Feature page linking to related case study | ### Internal Linking Rules 1. **No orphan pages** — every page must have at least one internal link pointing to it 2. **Descriptive anchor text** — "our analytics features" not "click here" 3. **5-10 internal links per 1000 words** of content (approximate guideline) 4. **Link to important pages more often** — homepage, key feature pages, pricing 5. **Use breadcrumbs** — free internal links on every page 6. **Related content sections** — "Related Posts" or "You might also like" at page bottom ### Hub-and-Spoke Model For content-heavy sites, organize around hub pages: ``` Hub: /blog/seo-guide (comprehensive overview) ├── Spoke: /blog/keyword-research (links back to hub) ├── Spoke: /blog/on-page-seo (links back to hub) ├── Spoke: /blog/technical-seo (links back to hub) └── Spoke: /blog/link-building (links back to hub) ``` Each spoke links back to the hub. The hub links to all spokes. Spokes link to each other where relevant. ### Link Audit Checklist - [ ] Every page has at least one inbound internal link - [ ] No broken internal links (404s) - [ ] Anchor text is descriptive (not "click here" or "read more") - [ ] Important pages have the most inbound internal links - [ ] Breadcrumbs are implemented on all pages - [ ] Related content links exist on blog posts - [ ] Cross-section links connect features to case studies, blog to product pages --- ## Output Format When creating a site architecture plan, provide these deliverables: ### 1. Page Hierarchy (ASCII Tree) Full site structure with URLs at each node. Use the ASCII tree format from the Page Hierarchy Design section. ### 2. Visual Sitemap (Mermaid) Mermaid diagram showing page relationships and navigation zones. Use `graph TD` with subgraphs for nav zones where helpful. ### 3. URL Map Table | Page | URL | Parent | Nav Location | Priority | |------|-----|--------|-------------|----------| | Homepage | `/` | — | Header | High | | Features | `/features` | Homepage | Header | High | | Analytics | `/features/analytics` | Features | Header dropdown | Medium | | Pricing | `/pricing` | Homepage | Header | High | | Blog | `/blog` | Homepage | Header | Medium | ### 4. Navigation Spec - Header nav items (ordered, with CTA) - Footer sections and links - Sidebar nav (if applicable) - Breadcrumb implementation notes ### 5. Internal Linking Plan - Hub pages and their spokes - Cross-section link opportunities - Orphan page audit (if restructuring) - Recommended links per key page --- ## Task-Specific Questions 1. Is this a new site or are you restructuring an existing one? 2. What type of site is it? (SaaS, content, e-commerce, docs, hybrid, small business) 3. How many pages exist or are planned? 4. What are the 5 most important pages on the site? 5. Are there existing URLs that need to be preserved or redirected? 6. Who are the primary audiences, and what are they trying to accomplish on the site? --- ## Related Skills - **content-strategy**: For planning what content to create and topic clusters - **programmatic-seo**: For building SEO pages at scale with templates and data - **seo-audit**: For technical SEO, on-page optimization, and indexation issues - **cro**: For optimizing individual pages for conversion - **schema**: For implementing breadcrumb and site navigation structured data - **competitors**: For comparison page frameworks and URL patterns
Answer the model's full response$0.20 · 49.7s · 4.9k tok
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="description" content="A 45-minute virtual educational consultation for adults who want help organizing non-clinical bedtime habits."> <title>Sleep-Routine Education Consultation | Harborline Sleep Education</title> <style> :root { color-scheme: light; --navy: #17324d; --navy-dark: #0f2437; --teal: #176b68; --teal-dark: #105451; --cream: #f7f4ed; --white: #ffffff; --ink: #1f2933; --muted: #52616f; --line: #d7dfdf; --soft-teal: #e8f3f1; --soft-gold: #f6edd8; --warning: #754c10; --radius: 18px; --shadow: 0 18px 50px rgba(23, 50, 77, 0.09); } * { box-sizing: border-box; } html { scroll-behavior: smooth; } body { margin: 0; background: var(--cream); color: var(--ink); font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 1rem; line-height: 1.65; } a { color: inherit; } a:focus-visible { outline: 4px solid #f0b94a; outline-offset: 4px; } .site-header { border-bottom: 1px solid rgba(255, 255, 255, 0.14); background: var(--navy-dark); color: var(--white); } .brand { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 18px 0; font-size: 1rem; font-weight: 750; letter-spacing: 0.02em; } main { overflow: hidden; } .section { padding: 76px 0; } .section--white { background: var(--white); } .section--soft { background: var(--soft-teal); } .container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; } .narrow { width: min(760px, 100%); } .hero { position: relative; background: radial-gradient(circle at 92% 12%, rgba(62, 154, 146, 0.25), transparent 27rem), linear-gradient(145deg, var(--navy-dark), var(--navy)); color: var(--white); padding: 88px 0 92px; } .hero::after { position: absolute; right: -110px; bottom: -210px; width: 430px; height: 430px; border: 1px solid rgba(255, 255, 255, 0.13); border-radius: 50%; content: ""; } .eyebrow { margin: 0 0 16px; color: #9edbd5; font-size: 0.82rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; } h1, h2, h3 { margin-top: 0; color: var(--navy-dark); line-height: 1.14; text-wrap: balance; } h1 { max-width: 850px; margin-bottom: 24px; color: var(--white); font-size: clamp(2.35rem, 6vw, 4.75rem); letter-spacing: -0.045em; } h2 { margin-bottom: 20px; font-size: clamp(1.75rem, 3.6vw, 2.65rem); letter-spacing: -0.025em; } h3 { margin-bottom: 10px; font-size: 1.15rem; } p { margin-top: 0; } .hero-copy { max-width: 720px; margin-bottom: 30px; color: #e7f0f3; font-size: clamp(1.08rem, 2vw, 1.3rem); } .audience-note { display: inline-block; max-width: 720px; margin: 0 0 30px; padding-left: 17px; border-left: 3px solid #72c6be; color: #cfe3e6; } .button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 13px 23px; border: 2px solid #f5cc72; border-radius: 999px; background: #f5cc72; color: var(--navy-dark); font-weight: 800; line-height: 1.2; text-align: center; text-decoration: none; transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease; } .button:hover { border-color: #ffe09e; background: #ffe09e; transform: translateY(-1px); } .section-intro { max-width: 720px; margin-bottom: 34px; color: var(--muted); font-size: 1.08rem; } .steps, .included-grid, .faq-grid { display: grid; gap: 20px; } .steps { grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; list-style: none; counter-reset: steps; } .steps li { position: relative; min-height: 220px; padding: 68px 25px 25px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); counter-increment: steps; } .steps li::before { position: absolute; top: 22px; left: 25px; display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: var(--teal); color: var(--white); content: counter(steps); font-size: 0.9rem; font-weight: 800; } .steps strong { display: block; margin-bottom: 8px; color: var(--navy-dark); font-size: 1.08rem; } .steps p { margin-bottom: 0; color: var(--muted); } .included-grid { grid-template-columns: repeat(3, 1fr); } .included-card { padding: 26px; border-top: 4px solid var(--teal); border-radius: 4px var(--radius) var(--radius) var(--radius); background: var(--white); } .included-card p { margin-bottom: 0; color: var(--muted); } .price-panel { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 44px; align-items: center; padding: 42px; border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); background: var(--white); box-shadow: var(--shadow); } .price { margin: 0; color: var(--navy-dark); font-size: clamp(3.6rem, 8vw, 5.8rem); font-weight: 850; letter-spacing: -0.06em; line-height: 1; } .price-label { margin: 10px 0 0; color: var(--muted); font-weight: 650; } .price-details { margin: 0; padding: 0; list-style: none; } .price-details li { position: relative; padding: 11px 0 11px 29px; border-bottom: 1px solid var(--line); } .price-details li:last-child { border-bottom: 0; } .price-details li::before { position: absolute; left: 0; color: var(--teal); content: "✓"; font-weight: 900; } .limitations-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 54px; align-items: start; } .limitations-list { margin: 0; padding: 0; list-style: none; } .limitations-list li { position: relative; margin-bottom: 13px; padding-left: 28px; } .limitations-list li::before { position: absolute; left: 0; color: var(--teal); content: "—"; font-weight: 900; } .safety-notice { margin-top: 26px; padding: 22px 24px; border-left: 5px solid #d59c36; border-radius: 8px; background: var(--soft-gold); color: var(--warning); } .safety-notice strong { display: block; margin-bottom: 5px; } .safety-notice p { margin-bottom: 0; } .faq-grid { grid-template-columns: repeat(2, 1fr); } .faq { padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); } .faq p { margin-bottom: 0; color: var(--muted); } .next-step { background: radial-gradient(circle at 12% 20%, rgba(88, 181, 172, 0.18), transparent 23rem), var(--navy-dark); color: var(--white); text-align: center; } .next-step .container { display: flex; flex-direction: column; align-items: center; } .next-step h2 { color: var(--white); } .next-step p { max-width: 690px; margin-bottom: 28px; color: #d8e6e9; font-size: 1.08rem; } footer { padding: 28px 0; background: #0a1926; color: #b9c8ce; text-align: center; } footer p { margin: 0; font-size: 0.9rem; } @media (max-width: 800px) { .section { padding: 58px 0; } .hero { padding: 68px 0 72px; } .steps, .included-grid, .faq-grid, .price-panel, .limitations-layout { grid-template-columns: 1fr; } .price-panel { gap: 30px; padding: 30px; } .steps li { min-height: 0; } } @media (max-width: 480px) { .container, .brand { width: min(100% - 28px, 1120px); } .button { width: 100%; } .price-panel { padding: 25px 21px; } } @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button { transition: none; } } </style> </head> <body> <header class="site-header"> <div class="brand">Harborline Sleep Education</div> </header> <main> <section class="hero" aria-labelledby="page-title"> <div class="container"> <p class="eyebrow">Virtual sleep-routine education for adults</p> <h1 id="page-title">Organize your bedtime habits with a practical educational plan</h1> <p class="hero-copy"> Harborline Sleep Education offers one 45-minute virtual consultation for adults who want help organizing non-clinical bedtime habits and building a more consistent routine. </p> <p class="audience-note"> This is an educational coaching service, not a medical clinic. It does not diagnose or treat sleep disorders. </p> <div> <a class="button" href="/consultations/harborline">Book a consultation</a> </div> </div> </section> <section class="section section--white" aria-labelledby="how-it-works"> <div class="container"> <p class="eyebrow">How the consultation works</p> <h2 id="how-it-works">A focused routine-planning conversation</h2> <p class="section-intro"> The consultation is conducted virtually and lasts 45 minutes. It focuses on education and routine organization rather than clinical assessment or care. </p> <ol class="steps"> <li> <strong>Intake review</strong> <p>Your submitted intake information is reviewed to provide context for the conversation.</p> </li> <li> <strong>Routine planning</strong> <p>The consultation explores how you currently organize your bedtime habits and possible non-clinical routine adjustments.</p> </li> <li> <strong>Written summary</strong> <p>You receive an educational routine summary, including questions you may choose to discuss with a licensed clinician.</p> </li> </ol> </div> </section> <section class="section section--soft" aria-labelledby="included"> <div class="container"> <p class="eyebrow">What is included</p> <h2 id="included">One consultation with three components</h2> <div class="included-grid"> <article class="included-card"> <h3>Intake review</h3> <p>A review of the information you provide about your current bedtime habits.</p> </article> <article class="included-card"> <h3>45-minute conversation</h3> <p>A virtual, educational discussion focused on organizing a non-clinical bedtime routine.</p> </article> <article class="included-card"> <h3>Educational summary</h3> <p>A written routine plan and questions you may choose to raise with an appropriate licensed clinician.</p> </article> </div> </div> </section> <section class="section section--white" aria-labelledby="price"> <div class="container"> <div class="price-panel"> <div> <p class="eyebrow">Price</p> <h2 id="price" class="price">$160</h2> <p class="price-label">Paid directly by the client</p> </div> <ul class="price-details"> <li>One 45-minute virtual consultation</li> <li>Intake review and routine-planning conversation</li> <li>Written educational summary</li> <li>No insurance billing</li> </ul> </div> </div> </section> <section class="section section--soft" aria-labelledby="limitations"> <div class="container limitations-layout"> <div> <p class="eyebrow">Limitations and fit</p> <h2 id="limitations">Know what this service does not provide</h2> <p> Harborline Sleep Education is intended for adults seeking help organizing non-clinical bedtime habits. It is not a substitute for medical or mental health care. </p> </div> <div> <ul class="limitations-list"> <li>No diagnosis of sleep disorders or other conditions</li> <li>No medical or mental health treatment</li> <li>No prescriptions or prescription review</li> <li>No emergency support or emergency care</li> <li>No insurance billing or representation of insurance coverage</li> <li>No guaranteed improvement or guaranteed outcome</li> </ul> <div class="safety-notice" role="note" aria-label="Urgent safety information"> <strong>For urgent symptoms or safety concerns</strong> <p>Contact local emergency services or an appropriate licensed clinician. Do not use this educational consultation for emergency support.</p> </div> </div> </div> </section> <section class="section section--white" aria-labelledby="objections"> <div class="container"> <p class="eyebrow">Common questions</p> <h2 id="objections">Before you decide</h2> <div class="faq-grid"> <article class="faq"> <h3>Is this a medical consultation?</h3> <p>No. This is a non-clinical educational consultation. It does not provide diagnosis, treatment, prescriptions, or other clinical care.</p> </article> <article class="faq"> <h3>Is improvement guaranteed?</h3> <p>No. The consultation provides education and routine-planning support, but outcomes and improvement are not guaranteed.</p> </article> <article class="faq"> <h3>Will insurance be billed?</h3> <p>No. The $160 fee is paid directly by the client. Insurance billing is not provided, and insurance coverage is not represented.</p> </article> <article class="faq"> <h3>What if I may have a sleep disorder?</h3> <p>This service cannot assess or diagnose a sleep disorder. Consider contacting an appropriate licensed clinician for clinical evaluation or care.</p> </article> </div> </div> </section> <section class="section next-step" aria-labelledby="next-step"> <div class="container"> <p class="eyebrow">Next step</p> <h2 id="next-step">Decide whether the consultation fits your needs</h2> <p> If you are an adult looking for non-clinical help organizing your bedtime habits and understand the service limitations, you can continue to the consultation page. </p> <a class="button" href="/consultations/harborline">Book a consultation</a> </div> </section> </main> <footer> <div class="container"> <p>Harborline Sleep Education provides educational coaching, not medical care.</p> </div> </footer> </body> </html>
Score the judge's verdict, criterion by criterion19/19 criteria passed
RequirementVerdictEvidence
complete_html
The response is one complete, parseable HTML document from an HTML5 doctype through the closing html tag, with no Markdown fence.
✓Programmatic check: html_complete=True; html_parse_error_count=0.
no_external_assets
The HTML uses inline CSS and has no CSS asset references, active content, scripts, images, stylesheets, fonts, media, iframes, embeds, objects, SVG, or canvas assets.
✓Programmatic check: inline_css_count=1; resource_request_count=0; forbidden_asset_tag_count=0; active_content_count=0.
duration
The repaired page consistently states a 45-minute consultation and removes the flawed 60-minute duration.
✓The page repeatedly and only states "45-minute" (e.g., "one 45-minute virtual consultation") with no mention of 60 minutes.
price
The repaired page consistently states the $160 price and removes the flawed $129 price.
✓The price section states "$160" and the FAQ says "The $160 fee is paid directly by the client," with no $129 anywhere.
offering_type
The offer is accurately described as one virtual educational routine-planning consultation, not a medical consultation.
✓The hero and audience note describe it as "one 45-minute virtual consultation" that is "an educational coaching service, not a medical clinic" that does not diagnose or treat.
sections_and_order
All requested sections appear in the exact cautious-visitor decision order.
✓Sections proceed hero (what/who), how it works, included, price, limitations, objections/FAQ, next step, matching the required cautious-visitor order.
cta_target
The exact CTA 'Book a consultation' appears once or twice and every instance is an anchor whose href is exactly '/consultations/harborline'.
✓Programmatic check: book_cta_count=2; book_cta_count=2; book_cta_all_instances_are_anchors=True; book_cta_all_targeted=True.
no_competing_action
'Start sleeping better', 'Call now', and every competing primary action from the flawed draft are absent.
✓Only two 'Book a consultation' anchors targeting /consultations/harborline appear; no 'Start sleeping better' or 'Call now' links exist.
educational_scope
The page clearly says Harborline is educational coaching, not a medical clinic, and does not diagnose or treat sleep disorders; cure, diagnosis, and treatment claims are absent.
✓The audience-note and FAQ explicitly state it is educational coaching, 'not a medical clinic,' and 'does not diagnose or treat sleep disorders,' with no cure/diagnosis/treatment claims present.
prescription_claim_removed
The invented prescription-review service is absent and no replacement clinical service is added.
✓The limitations list only says 'No prescriptions or prescription review' and no prescription service is offered elsewhere.
credential_removed
The invented certified-clinician credential is absent and no replacement credential is invented.
✓No mention of 'certified clinicians' or any clinical credential appears anywhere in the page.
testimonial_removed
The invented Taylor M. testimonial is absent and no replacement patient or customer proof is invented.
✓There is no Taylor M. quote or any other testimonial/patient-proof content in the response.
guarantee_removed
All cure and guaranteed-improvement claims are absent, and the page explicitly says outcomes are not guaranteed.
✓The FAQ explicitly states 'outcomes and improvement are not guaranteed,' and no cure or guarantee claims remain.
insurance_removed
The insurance-coverage claim is absent, and the page explicitly says insurance is not represented.
✓The FAQ states 'insurance coverage is not represented' and price panel lists 'No insurance billing,' with no claim that insurance covers the visit.
urgency_removed
The three-appointments scarcity claim is absent and no replacement urgency, scarcity, or pressure tactic is added.
✓No scarcity or urgency language (e.g., limited appointments) appears anywhere in the response.
emergency_direction
The page says it is not emergency care and directs urgent symptoms or safety concerns to local emergency services or an appropriate licensed clinician.
✓The safety-notice explicitly instructs to 'Contact local emergency services or an appropriate licensed clinician' and the limitations list states 'No emergency support or emergency care.'
heading_hierarchy
The document has exactly one h1 and ordered heading levels with no skipped levels.
✓Programmatic check: h1_count=1; heading_order_valid=True.
semantic_landmarks
Semantic landmarks and descriptive section headings organize the page; it is not a div-only document.
✓The page uses <header>, <main>, multiple <section> elements with aria-labelledby, <article>, and <footer>, not a div-only structure.
conversion_clarity
The corrected page makes the educational offer, fit, included value, limitations, price, and next step concrete without replacing the planted defects with vague wellness copy.
✓Each section gives concrete, specific details (45-minute duration, $160 price, itemized inclusions/limitations, explicit next step) rather than vague wellness language.

Claude Sonnet 5 default

Task failed
Task the exact prompt the model was given — assignment, source material, and skill guidance
Repair the supplied flawed landing page for Harborline Sleep Education. Return only one complete HTML document with inline CSS and no external assets, scripts, fonts, images, or requests. Preserve no unsupported statement merely because it appears in the draft. Use the cautious-visitor section order: what this is and who it is for; how the consultation works; what is included; price; limitations and who it is not for; common objections; next step. Use exactly one h1 and ordered heading levels. For this task, the exact CTA 'Book a consultation' supersedes the fixture's default approved CTA. It is the only primary CTA and must appear once or twice as an anchor whose href is exactly '/consultations/harborline'. The page must accurately state the 45-minute, $160 educational consultation and every supplied limitation, including the emergency direction. Fix all planted factual, safety, proof, urgency, action, structure, and implementation defects. Output only HTML. --- ## Supplied source: product-marketing.md # Harborline Sleep Education Harborline Sleep Education is a fictional educational coaching service for adults who want a more consistent bedtime routine. It is not a medical clinic, does not diagnose or treat sleep disorders, and is not emergency care. The paid offering is a 45-minute virtual routine-planning consultation for $160. The consultation produces an educational routine plan and questions a client may choose to discuss with a licensed clinician. Outcomes are not guaranteed, and insurance coverage is not represented. --- ## Supplied source: facts.md # Authoritative synthetic facts - Offering: one 45-minute virtual sleep-routine education consultation. - Price: $160, paid directly by the client. - Included: intake review, routine-planning conversation, and written educational summary. - Audience: adults seeking help organizing non-clinical bedtime habits. - Not included: diagnosis, treatment, prescriptions, emergency support, insurance billing, or guaranteed improvement. - People with urgent symptoms or safety concerns should contact local emergency services or an appropriate licensed clinician. - Approved CTA: Review consultation availability. - No patient outcomes, testimonials, insurance coverage, or clinical credentials are provided by this fixture. --- ## Supplied source: flawed.html <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>Harborline Sleep Clinic</title> <link rel="stylesheet" href="https://fonts.example.com/inter.css"> <script src="https://analytics.example.com/tracker.js"></script> </head> <body> <header> <h1>Diagnose and cure your sleep problems in one call</h1> <p>Our certified clinicians guarantee better sleep in seven days.</p> <a href="https://booking.example.com">Start sleeping better</a> </header> <main> <img src="https://images.example.com/sleep.jpg" alt="Sleeping client"> <section> <h3>What you get</h3> <p>A 60-minute medical consultation, treatment plan, and prescription review.</p> </section> <section> <h2>Only $129</h2> <p>Insurance covers the visit. Only three appointments remain this month.</p> </section> <section> <h2>What patients say</h2> <blockquote>“I was cured after one session.” — Taylor M.</blockquote> </section> </main> <footer> <a href="tel:+15555550199">Call now</a> </footer> </body> </html> --- ## Skill guidance you should follow --- name: cro description: "Diagnose and lift page conversion — value prop, CTAs, trust, friction on any marketing page or form. Use for page feedback, even a bare URL." metadata: version: 2.0.0 --- # Conversion Rate Optimization (CRO) Related Skills: add 'onboarding — for post-signup activation'; this routing pointer existed only in the old description. You are a conversion rate optimization expert. Your goal is to analyze marketing pages and provide actionable recommendations to improve conversion rates. ## Initial Assessment **Check for product marketing context first:** If `.agents/product-marketing.md` exists (or `.claude/product-marketing.md`, or the legacy `product-marketing-context.md` filename, in older setups), read it before asking questions. Use that context and only ask for information not already covered or specific to this task. **Apply the project's brand:** If `BRAND.md` exists, read it before asking questions and apply it to everything you produce — its voice, messaging, and audience for anything written, and its colors, typography, and logo for anything visual. Never ask for a brand fact it already answers. If it lacks something you need, name the missing fact instead of inventing one or quietly falling back to a generic default. Before providing recommendations, identify: 1. **Page Type**: Homepage, landing page, pricing, feature, blog, about, other 2. **Primary Conversion Goal**: Sign up, request demo, purchase, subscribe, download, contact sales 3. **Traffic Context**: Where are visitors coming from? (organic, paid, email, social) --- ## CRO Analysis Framework Analyze the page across these dimensions, in order of impact: ### 1. Value Proposition Clarity (Highest Impact) **Check for:** - Can a visitor understand what this is and why they should care within 5 seconds? - Is the primary benefit clear, specific, and differentiated? - Is it written in the customer's language (not company jargon)? **Common issues:** - Feature-focused instead of benefit-focused - Too vague or too clever (sacrificing clarity) - Trying to say everything instead of the most important thing ### 2. Headline Effectiveness **Evaluate:** - Does it communicate the core value proposition? - Is it specific enough to be meaningful? - Does it match the traffic source's messaging? **Strong headline patterns:** - Outcome-focused: "Get [desired outcome] without [pain point]" - Specificity: Include numbers, timeframes, or concrete details - Social proof: "Join 10,000+ teams who..." ### 3. CTA Placement, Copy, and Hierarchy **Primary CTA assessment:** - Is there one clear primary action? - Is it visible without scrolling? - Does the button copy communicate value, not just action? - Weak: "Submit," "Sign Up," "Learn More" - Strong: "Start Free Trial," "Get My Report," "See Pricing" **CTA hierarchy:** - Is there a logical primary vs. secondary CTA structure? - Are CTAs repeated at key decision points? ### 4. Visual Hierarchy and Scannability **Check:** - Can someone scanning get the main message? - Are the most important elements visually prominent? - Is there enough white space? - Do images support or distract from the message? ### 5. Trust Signals and Social Proof **Types to look for:** - Customer logos (especially recognizable ones) - Testimonials (specific, attributed, with photos) - Case study snippets with real numbers - Review scores and counts - Security badges (where relevant) **Placement:** Near CTAs and after benefit claims ### 6. Objection Handling **Common objections to address:** - Price/value concerns - "Will this work for my situation?" - Implementation difficulty - "What if it doesn't work?" **Address through:** FAQ sections, guarantees, comparison content, process transparency ### 7. Friction Points **Look for:** - Too many form fields - Unclear next steps - Confusing navigation - Required information that shouldn't be required - Mobile experience issues - Long load times --- ## Output Format Structure your recommendations as: ### Quick Wins (Implement Now) Easy changes with likely immediate impact. ### High-Impact Changes (Prioritize) Bigger changes that require more effort but will significantly improve conversions. ### Test Ideas Hypotheses worth A/B testing rather than assuming. ### Copy Alternatives For key elements (headlines, CTAs), provide 2-3 alternatives with rationale. --- ## Page-Specific Frameworks ### Homepage CRO - Clear positioning for cold visitors - Quick path to most common conversion - Handle both "ready to buy" and "still researching" ### Landing Page CRO - Message match with traffic source - Single CTA (remove navigation if possible) - Complete argument on one page ### Pricing Page CRO - Clear plan comparison - Recommended plan indication - Address "which plan is right for me?" anxiety ### Feature Page CRO - Connect feature to benefit - Use cases and examples - Clear path to try/buy ### Blog Post CRO - Contextual CTAs matching content topic - Inline CTAs at natural stopping points --- ## Experiment Ideas When recommending experiments, consider tests for: - Hero section (headline, visual, CTA) - Trust signals and social proof placement - Pricing presentation - Form optimization - Navigation and UX **For comprehensive experiment ideas by page type**: See [references/experiments.md](references/experiments.md) --- ## Task-Specific Questions 1. What's your current conversion rate and goal? 2. Where is traffic coming from? 3. What does your signup/purchase flow look like after this page? 4. Do you have user research, heatmaps, or session recordings? 5. What have you already tried? --- ## Related Skills - **signup**: If the issue is in the signup process itself - **popups**: If considering popups as part of the strategy - **copywriting**: If the page needs a complete copy rewrite - **ab-testing**: To properly test recommended changes --- ## Form Optimization For detailed form CRO guidance — including field optimization, multi-step forms, error handling, and form-specific experiments — see [references/form.md](references/form.md). --- ## Skill guidance you should follow --- name: site-architecture description: "Plan site structure — page hierarchy, navigation, URL patterns, internal linking, visual sitemaps. Not XML sitemaps (see seo-audit)." metadata: version: 2.0.0 --- # Site Architecture You are an information architecture expert. Your goal is to help plan website structure — page hierarchy, navigation, URL patterns, and internal linking — so the site is intuitive for users and optimized for search engines. ## Before Planning **Check for product marketing context first:** If `.agents/product-marketing.md` exists (or `.claude/product-marketing.md`, or the legacy `product-marketing-context.md` filename, in older setups), read it before asking questions. Use that context and only ask for information not already covered or specific to this task. **Apply the project's brand:** If `BRAND.md` exists, read it before asking questions and apply it to everything you produce — its voice, messaging, and audience for anything written, and its colors, typography, and logo for anything visual. Never ask for a brand fact it already answers. If it lacks something you need, name the missing fact instead of inventing one or quietly falling back to a generic default. Gather this context (ask if not provided): ### 1. Business Context - What does the company do? - Who are the primary audiences? - What are the top 3 goals for the site? (conversions, SEO traffic, education, support) ### 2. Current State - New site or restructuring an existing one? - If restructuring: what's broken? (high bounce, poor SEO, users can't find things) - Existing URLs that must be preserved (for redirects)? ### 3. Site Type - SaaS marketing site - Content/blog site - E-commerce - Documentation - Hybrid (SaaS + content) - Small business / local ### 4. Content Inventory - How many pages exist or are planned? - What are the most important pages? (by traffic, conversions, or business value) - Any planned sections or expansions? --- ## Site Types and Starting Points | Site Type | Typical Depth | Key Sections | URL Pattern | |-----------|--------------|--------------|-------------| | SaaS marketing | 2-3 levels | Home, Features, Pricing, Blog, Docs | `/features/name`, `/blog/slug` | | Content/blog | 2-3 levels | Home, Blog, Categories, About | `/blog/slug`, `/category/slug` | | E-commerce | 3-4 levels | Home, Categories, Products, Cart | `/category/subcategory/product` | | Documentation | 3-4 levels | Home, Guides, API Reference | `/docs/section/page` | | Hybrid SaaS+content | 3-4 levels | Home, Product, Blog, Resources, Docs | `/product/feature`, `/blog/slug` | | Small business | 1-2 levels | Home, Services, About, Contact | `/services/name` | **For full page hierarchy templates**: See [references/site-type-templates.md](references/site-type-templates.md) --- ## Page Hierarchy Design ### The 3-Click Rule Users should reach any important page within 3 clicks from the homepage. This isn't absolute, but if critical pages are buried 4+ levels deep, something is wrong. ### Flat vs Deep | Approach | Best For | Tradeoff | |----------|----------|----------| | Flat (2 levels) | Small sites, portfolios | Simple but doesn't scale | | Moderate (3 levels) | Most SaaS, content sites | Good balance of depth and findability | | Deep (4+ levels) | E-commerce, large docs | Scales but risks burying content | **Rule of thumb**: Go as flat as possible while keeping navigation clean. If a nav dropdown has 20+ items, add a level of hierarchy. ### Hierarchy Levels | Level | What It Is | Example | |-------|-----------|---------| | L0 | Homepage | `/` | | L1 | Primary sections | `/features`, `/blog`, `/pricing` | | L2 | Section pages | `/features/analytics`, `/blog/seo-guide` | | L3+ | Detail pages | `/docs/api/authentication` | ### ASCII Tree Format Use this format for page hierarchies: ``` Homepage (/) ├── Features (/features) │ ├── Analytics (/features/analytics) │ ├── Automation (/features/automation) │ └── Integrations (/features/integrations) ├── Pricing (/pricing) ├── Blog (/blog) │ ├── [Category: SEO] (/blog/category/seo) │ └── [Category: CRO] (/blog/category/cro) ├── Resources (/resources) │ ├── Case Studies (/resources/case-studies) │ └── Templates (/resources/templates) ├── Docs (/docs) │ ├── Getting Started (/docs/getting-started) │ └── API Reference (/docs/api) ├── About (/about) │ └── Careers (/about/careers) └── Contact (/contact) ``` **When to use ASCII vs Mermaid**: - ASCII: quick hierarchy drafts, text-only contexts, simple structures - Mermaid: visual presentations, complex relationships, showing nav zones or linking patterns --- ## Navigation Design ### Navigation Types | Nav Type | Purpose | Placement | |----------|---------|-----------| | Header nav | Primary navigation, always visible | Top of every page | | Dropdown menus | Organize sub-pages under parent | Expands from header items | | Footer nav | Secondary links, legal, sitemap | Bottom of every page | | Sidebar nav | Section navigation (docs, blog) | Left side within a section | | Breadcrumbs | Show current location in hierarchy | Below header, above content | | Contextual links | Related content, next steps | Within page content | ### Header Navigation Rules - **4-7 items max** in the primary nav (more causes decision paralysis) - **CTA button** goes rightmost (e.g., "Start Free Trial," "Get Started") - **Logo** links to homepage (left side) - **Order by priority**: most important/visited pages first - If you have a mega menu, limit to 3-4 columns ### Footer Organization Group footer links into columns: - **Product**: Features, Pricing, Integrations, Changelog - **Resources**: Blog, Case Studies, Templates, Docs - **Company**: About, Careers, Contact, Press - **Legal**: Privacy, Terms, Security ### Breadcrumb Format ``` Home > Features > Analytics Home > Blog > SEO Category > Post Title ``` Breadcrumbs should mirror the URL hierarchy. Every breadcrumb segment should be a clickable link except the current page. **For detailed navigation patterns**: See [references/navigation-patterns.md](references/navigation-patterns.md) --- ## URL Structure ### Design Principles 1. **Readable by humans** — `/features/analytics` not `/f/a123` 2. **Hyphens, not underscores** — `/blog/seo-guide` not `/blog/seo_guide` 3. **Reflect the hierarchy** — URL path should match site structure 4. **Consistent trailing slash policy** — pick one (with or without) and enforce it 5. **Lowercase always** — `/About` should redirect to `/about` 6. **Short but descriptive** — `/blog/how-to-improve-landing-page-conversion-rates` is too long; `/blog/landing-page-conversions` is better ### URL Patterns by Page Type | Page Type | Pattern | Example | |-----------|---------|---------| | Homepage | `/` | `example.com` | | Feature page | `/features/{name}` | `/features/analytics` | | Pricing | `/pricing` | `/pricing` | | Blog post | `/blog/{slug}` | `/blog/seo-guide` | | Blog category | `/blog/category/{slug}` | `/blog/category/seo` | | Case study | `/customers/{slug}` | `/customers/acme-corp` | | Documentation | `/docs/{section}/{page}` | `/docs/api/authentication` | | Legal | `/{page}` | `/privacy`, `/terms` | | Landing page | `/{slug}` or `/lp/{slug}` | `/free-trial`, `/lp/webinar` | | Comparison | `/compare/{competitor}` or `/vs/{competitor}` | `/compare/competitor-name` | | Integration | `/integrations/{name}` | `/integrations/slack` | | Template | `/templates/{slug}` | `/templates/marketing-plan` | ### Common Mistakes - **Dates in blog URLs** — `/blog/2024/01/15/post-title` adds no value and makes URLs long. Use `/blog/post-title`. - **Over-nesting** — `/products/category/subcategory/item/detail` is too deep. Flatten where possible. - **Changing URLs without redirects** — Every old URL needs a 301 redirect to its new URL. Without them, you lose backlink equity and create broken pages for anyone with the old URL bookmarked or linked. - **IDs in URLs** — `/product/12345` is not human-readable. Use slugs. - **Query parameters for content** — `/blog?id=123` should be `/blog/post-title`. - **Inconsistent patterns** — Don't mix `/features/analytics` and `/product/automation`. Pick one parent. ### Breadcrumb-URL Alignment The breadcrumb trail should mirror the URL path: | URL | Breadcrumb | |-----|-----------| | `/features/analytics` | Home > Features > Analytics | | `/blog/seo-guide` | Home > Blog > SEO Guide | | `/docs/api/auth` | Home > Docs > API > Authentication | --- ## Visual Sitemap Output (Mermaid) Use Mermaid `graph TD` for visual sitemaps. This makes hierarchy relationships clear and can annotate navigation zones. ### Basic Hierarchy ```mermaid graph TD HOME[Homepage] --> FEAT[Features] HOME --> PRICE[Pricing] HOME --> BLOG[Blog] HOME --> ABOUT[About] FEAT --> F1[Analytics] FEAT --> F2[Automation] FEAT --> F3[Integrations] BLOG --> B1[Post 1] BLOG --> B2[Post 2] ``` ### With Navigation Zones ```mermaid graph TD subgraph Header Nav HOME[Homepage] FEAT[Features] PRICE[Pricing] BLOG[Blog] CTA[Get Started] end subgraph Footer Nav ABOUT[About] CAREERS[Careers] CONTACT[Contact] PRIVACY[Privacy] end HOME --> FEAT HOME --> PRICE HOME --> BLOG HOME --> ABOUT FEAT --> F1[Analytics] FEAT --> F2[Automation] ``` **For more Mermaid templates**: See [references/mermaid-templates.md](references/mermaid-templates.md) --- ## Internal Linking Strategy ### Link Types | Type | Purpose | Example | |------|---------|---------| | Navigational | Move between sections | Header, footer, sidebar links | | Contextual | Related content within text | "Learn more about [analytics](/features/analytics)" | | Hub-and-spoke | Connect cluster content to hub | Blog posts linking to pillar page | | Cross-section | Connect related pages across sections | Feature page linking to related case study | ### Internal Linking Rules 1. **No orphan pages** — every page must have at least one internal link pointing to it 2. **Descriptive anchor text** — "our analytics features" not "click here" 3. **5-10 internal links per 1000 words** of content (approximate guideline) 4. **Link to important pages more often** — homepage, key feature pages, pricing 5. **Use breadcrumbs** — free internal links on every page 6. **Related content sections** — "Related Posts" or "You might also like" at page bottom ### Hub-and-Spoke Model For content-heavy sites, organize around hub pages: ``` Hub: /blog/seo-guide (comprehensive overview) ├── Spoke: /blog/keyword-research (links back to hub) ├── Spoke: /blog/on-page-seo (links back to hub) ├── Spoke: /blog/technical-seo (links back to hub) └── Spoke: /blog/link-building (links back to hub) ``` Each spoke links back to the hub. The hub links to all spokes. Spokes link to each other where relevant. ### Link Audit Checklist - [ ] Every page has at least one inbound internal link - [ ] No broken internal links (404s) - [ ] Anchor text is descriptive (not "click here" or "read more") - [ ] Important pages have the most inbound internal links - [ ] Breadcrumbs are implemented on all pages - [ ] Related content links exist on blog posts - [ ] Cross-section links connect features to case studies, blog to product pages --- ## Output Format When creating a site architecture plan, provide these deliverables: ### 1. Page Hierarchy (ASCII Tree) Full site structure with URLs at each node. Use the ASCII tree format from the Page Hierarchy Design section. ### 2. Visual Sitemap (Mermaid) Mermaid diagram showing page relationships and navigation zones. Use `graph TD` with subgraphs for nav zones where helpful. ### 3. URL Map Table | Page | URL | Parent | Nav Location | Priority | |------|-----|--------|-------------|----------| | Homepage | `/` | — | Header | High | | Features | `/features` | Homepage | Header | High | | Analytics | `/features/analytics` | Features | Header dropdown | Medium | | Pricing | `/pricing` | Homepage | Header | High | | Blog | `/blog` | Homepage | Header | Medium | ### 4. Navigation Spec - Header nav items (ordered, with CTA) - Footer sections and links - Sidebar nav (if applicable) - Breadcrumb implementation notes ### 5. Internal Linking Plan - Hub pages and their spokes - Cross-section link opportunities - Orphan page audit (if restructuring) - Recommended links per key page --- ## Task-Specific Questions 1. Is this a new site or are you restructuring an existing one? 2. What type of site is it? (SaaS, content, e-commerce, docs, hybrid, small business) 3. How many pages exist or are planned? 4. What are the 5 most important pages on the site? 5. Are there existing URLs that need to be preserved or redirected? 6. Who are the primary audiences, and what are they trying to accomplish on the site? --- ## Related Skills - **content-strategy**: For planning what content to create and topic clusters - **programmatic-seo**: For building SEO pages at scale with templates and data - **seo-audit**: For technical SEO, on-page optimization, and indexation issues - **cro**: For optimizing individual pages for conversion - **schema**: For implementing breadcrumb and site navigation structured data - **competitors**: For comparison page frameworks and URL patterns
Answer the model's full response$0.16 · 57.9s · 6.2k tok
```html <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Harborline Sleep Education — Routine-Planning Consultation</title> <style> :root { --ink: #1f2933; --muted: #52606d; --line: #d9e2ec; --accent: #2b6cb0; --bg: #ffffff; --panel: #f5f7fa; } * { box-sizing: border-box; } body { margin: 0; font-family: Georgia, "Times New Roman", serif; color: var(--ink); background: var(--bg); line-height: 1.6; } header, main, footer { max-width: 720px; margin: 0 auto; padding: 2rem 1.5rem; } header { padding-bottom: 1rem; } h1 { font-size: 2rem; margin: 0 0 0.75rem; } h2 { font-size: 1.4rem; margin: 2.25rem 0 0.75rem; border-bottom: 1px solid var(--line); padding-bottom: 0.35rem; } h3 { font-size: 1.1rem; margin: 1.25rem 0 0.5rem; } p { margin: 0.5rem 0; color: var(--muted); } .lede { font-size: 1.05rem; color: var(--ink); } .cta { display: inline-block; background: var(--accent); color: #ffffff; text-decoration: none; font-weight: bold; padding: 0.75rem 1.5rem; border-radius: 4px; margin-top: 1rem; } .cta:hover, .cta:focus { background: #1f4e7a; } .panel { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 1.25rem 1.5rem; } ul { color: var(--muted); padding-left: 1.25rem; } li { margin-bottom: 0.4rem; } .price-tag { font-size: 1.75rem; font-weight: bold; color: var(--ink); } .note { font-size: 0.95rem; font-style: italic; } footer { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1.5rem; } .disclaimer { font-size: 0.85rem; color: var(--muted); } </style> </head> <body> <header> <h1>Sleep Routine Education for Adults Who Want More Consistent Bedtimes</h1> <p class="lede">Harborline Sleep Education offers a 45-minute virtual consultation to help you build a more consistent, personalized bedtime routine.</p> </header> <main> <section aria-labelledby="what-section"> <h2 id="what-section">What This Is, and Who It Is For</h2> <p>Harborline Sleep Education is an educational coaching service for adults who want help organizing non-clinical bedtime habits. It is not a medical clinic, does not diagnose or treat sleep disorders, and is not emergency care.</p> <p>This service is a good fit if you want structured, one-on-one help thinking through your evening routine and habits — not if you are looking for a medical diagnosis or treatment.</p> </section> <section aria-labelledby="how-section"> <h2 id="how-section">How the Consultation Works</h2> <p>You book a single 45-minute virtual session. During the call, an educator reviews your intake information with you and works through a routine-planning conversation focused on your current habits and goals.</p> <p>After the session, you receive a written educational summary you can keep or share with a licensed clinician if you choose.</p> </section> <section aria-labelledby="included-section"> <h2 id="included-section">What Is Included</h2> <ul> <li>Review of your intake information</li> <li>A 45-minute routine-planning conversation</li> <li>A written educational summary, including an educational routine plan and questions you may choose to discuss with a licensed clinician</li> </ul> <h3>What Is Not Included</h3> <ul> <li>Diagnosis or treatment of any condition</li> <li>Prescriptions</li> <li>Emergency support</li> <li>Insurance billing</li> <li>Guaranteed improvement or outcomes</li> </ul> </section> <section aria-labelledby="price-section"> <h2 id="price-section">Price</h2> <div class="panel"> <p class="price-tag">$160</p> <p>Paid directly by you for one 45-minute virtual consultation. Insurance coverage is not represented, and this session is not billed to insurance.</p> </div> </section> <section aria-labelledby="limitations-section"> <h2 id="limitations-section">Limitations and Who This Is Not For</h2> <p>This consultation is educational only. It does not include diagnosis, treatment, prescriptions, emergency support, insurance billing, or a guarantee of improved sleep. Outcomes are not guaranteed.</p> <p><strong>If you have urgent symptoms or safety concerns, please contact local emergency services or an appropriate licensed clinician instead of booking this consultation.</strong></p> <p>This service is not appropriate if you need a medical diagnosis, treatment for a sleep disorder, or emergency care.</p> </section> <section aria-labelledby="objections-section"> <h2 id="objections-section">Common Questions</h2> <h3>Is this a substitute for medical care?</h3> <p>No. Harborline Sleep Education does not diagnose or treat sleep disorders and is not a substitute for a licensed clinician.</p> <h3>Will my sleep definitely improve?</h3> <p>Outcomes are not guaranteed. The consultation is educational, focused on helping you plan a more consistent routine.</p> <h3>Is this covered by insurance?</h3> <p>No. Insurance coverage is not represented, and the $160 fee is paid directly by you.</p> <h3>What if I have an urgent concern?</h3> <p>Contact local emergency services or an appropriate licensed clinician. This consultation is not emergency care.</p> </section> <section aria-labelledby="next-step-section"> <h2 id="next-step-section">Next Step</h2> <p>Ready to plan a more consistent bedtime routine? Book your 45-minute educational consultation for $160.</p> <a class="cta" href="/consultations/harborline">Book a consultation</a> </section> </main> <footer> <p class="disclaimer">Harborline Sleep Education is an educational coaching service, not a medical clinic. It does not diagnose or treat sleep disorders and is not emergency care. If you have urgent symptoms or safety concerns, contact local emergency services or an appropriate licensed clinician.</p> </footer> </body> </html> ```
Score the judge's verdict, criterion by criterion18/19 criteria passed · failed: complete_html
RequirementVerdictEvidence
complete_html
The response is one complete, parseable HTML document from an HTML5 doctype through the closing html tag, with no Markdown fence.
✗Programmatic check: html_complete=False; html_parse_error_count=0.
no_external_assets
The HTML uses inline CSS and has no CSS asset references, active content, scripts, images, stylesheets, fonts, media, iframes, embeds, objects, SVG, or canvas assets.
✓Programmatic check: inline_css_count=1; resource_request_count=0; forbidden_asset_tag_count=0; active_content_count=0.
duration
The repaired page consistently states a 45-minute consultation and removes the flawed 60-minute duration.
✓The page repeatedly states 'a 45-minute virtual consultation' and never mentions 60 minutes.
price
The repaired page consistently states the $160 price and removes the flawed $129 price.
✓Price section and disclaimers consistently state '$160' with no mention of $129.
offering_type
The offer is accurately described as one virtual educational routine-planning consultation, not a medical consultation.
✓Header and body explicitly describe it as a 'virtual consultation' for 'educational coaching' not a medical consultation.
sections_and_order
All requested sections appear in the exact cautious-visitor decision order.
✓Sections appear in order: What This Is/Who For, How It Works, What's Included, Price, Limitations, Common Questions, Next Step, matching the required cautious-visitor order.
cta_target
The exact CTA 'Book a consultation' appears once or twice and every instance is an anchor whose href is exactly '/consultations/harborline'.
✓Programmatic check: book_cta_count=1; book_cta_count=1; book_cta_all_instances_are_anchors=True; book_cta_all_targeted=True.
no_competing_action
'Start sleeping better', 'Call now', and every competing primary action from the flawed draft are absent.
✓No 'Start sleeping better' or 'Call now' text appears; only one CTA anchor 'Book a consultation' exists per the measured book_cta_count of 1.
educational_scope
The page clearly says Harborline is educational coaching, not a medical clinic, and does not diagnose or treat sleep disorders; cure, diagnosis, and treatment claims are absent.
✓The page states 'It is not a medical clinic, does not diagnose or treat sleep disorders, and is not emergency care' with no cure/diagnosis claims.
prescription_claim_removed
The invented prescription-review service is absent and no replacement clinical service is added.
✓Prescriptions are listed only under 'What Is Not Included' with no replacement clinical service added.
credential_removed
The invented certified-clinician credential is absent and no replacement credential is invented.
✓No mention of 'certified clinicians' or any other invented credential appears anywhere in the text.
testimonial_removed
The invented Taylor M. testimonial is absent and no replacement patient or customer proof is invented.
✓There is no testimonial or quote from 'Taylor M.' or any other patient/customer proof in the response.
guarantee_removed
All cure and guaranteed-improvement claims are absent, and the page explicitly says outcomes are not guaranteed.
✓The text explicitly states 'Outcomes are not guaranteed' and contains no cure or guarantee claims.
insurance_removed
The insurance-coverage claim is absent, and the page explicitly says insurance is not represented.
✓The page explicitly states 'Insurance coverage is not represented' in both the Price and Common Questions sections.
urgency_removed
The three-appointments scarcity claim is absent and no replacement urgency, scarcity, or pressure tactic is added.
✓There is no scarcity language like 'three appointments remain' or any other urgency/pressure tactic in the text.
emergency_direction
The page says it is not emergency care and directs urgent symptoms or safety concerns to local emergency services or an appropriate licensed clinician.
✓The Limitations section and footer explicitly direct urgent symptoms to 'local emergency services or an appropriate licensed clinician.'
heading_hierarchy
The document has exactly one h1 and ordered heading levels with no skipped levels.
✓Programmatic check: h1_count=1; heading_order_valid=True.
semantic_landmarks
Semantic landmarks and descriptive section headings organize the page; it is not a div-only document.
✓The document uses <header>, <main>, <footer>, and multiple <section> elements with aria-labelledby attributes, not a div-only structure.
conversion_clarity
The corrected page makes the educational offer, fit, included value, limitations, price, and next step concrete without replacing the planted defects with vague wellness copy.
✓The page concretely lists what's included, price, limitations, and a clear next-step CTA without resorting to vague wellness language.

Claude Opus 5 default

Task failed
Task the exact prompt the model was given — assignment, source material, and skill guidance
Repair the supplied flawed landing page for Harborline Sleep Education. Return only one complete HTML document with inline CSS and no external assets, scripts, fonts, images, or requests. Preserve no unsupported statement merely because it appears in the draft. Use the cautious-visitor section order: what this is and who it is for; how the consultation works; what is included; price; limitations and who it is not for; common objections; next step. Use exactly one h1 and ordered heading levels. For this task, the exact CTA 'Book a consultation' supersedes the fixture's default approved CTA. It is the only primary CTA and must appear once or twice as an anchor whose href is exactly '/consultations/harborline'. The page must accurately state the 45-minute, $160 educational consultation and every supplied limitation, including the emergency direction. Fix all planted factual, safety, proof, urgency, action, structure, and implementation defects. Output only HTML. --- ## Supplied source: product-marketing.md # Harborline Sleep Education Harborline Sleep Education is a fictional educational coaching service for adults who want a more consistent bedtime routine. It is not a medical clinic, does not diagnose or treat sleep disorders, and is not emergency care. The paid offering is a 45-minute virtual routine-planning consultation for $160. The consultation produces an educational routine plan and questions a client may choose to discuss with a licensed clinician. Outcomes are not guaranteed, and insurance coverage is not represented. --- ## Supplied source: facts.md # Authoritative synthetic facts - Offering: one 45-minute virtual sleep-routine education consultation. - Price: $160, paid directly by the client. - Included: intake review, routine-planning conversation, and written educational summary. - Audience: adults seeking help organizing non-clinical bedtime habits. - Not included: diagnosis, treatment, prescriptions, emergency support, insurance billing, or guaranteed improvement. - People with urgent symptoms or safety concerns should contact local emergency services or an appropriate licensed clinician. - Approved CTA: Review consultation availability. - No patient outcomes, testimonials, insurance coverage, or clinical credentials are provided by this fixture. --- ## Supplied source: flawed.html <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>Harborline Sleep Clinic</title> <link rel="stylesheet" href="https://fonts.example.com/inter.css"> <script src="https://analytics.example.com/tracker.js"></script> </head> <body> <header> <h1>Diagnose and cure your sleep problems in one call</h1> <p>Our certified clinicians guarantee better sleep in seven days.</p> <a href="https://booking.example.com">Start sleeping better</a> </header> <main> <img src="https://images.example.com/sleep.jpg" alt="Sleeping client"> <section> <h3>What you get</h3> <p>A 60-minute medical consultation, treatment plan, and prescription review.</p> </section> <section> <h2>Only $129</h2> <p>Insurance covers the visit. Only three appointments remain this month.</p> </section> <section> <h2>What patients say</h2> <blockquote>“I was cured after one session.” — Taylor M.</blockquote> </section> </main> <footer> <a href="tel:+15555550199">Call now</a> </footer> </body> </html> --- ## Skill guidance you should follow --- name: cro description: "Diagnose and lift page conversion — value prop, CTAs, trust, friction on any marketing page or form. Use for page feedback, even a bare URL." metadata: version: 2.0.0 --- # Conversion Rate Optimization (CRO) Related Skills: add 'onboarding — for post-signup activation'; this routing pointer existed only in the old description. You are a conversion rate optimization expert. Your goal is to analyze marketing pages and provide actionable recommendations to improve conversion rates. ## Initial Assessment **Check for product marketing context first:** If `.agents/product-marketing.md` exists (or `.claude/product-marketing.md`, or the legacy `product-marketing-context.md` filename, in older setups), read it before asking questions. Use that context and only ask for information not already covered or specific to this task. **Apply the project's brand:** If `BRAND.md` exists, read it before asking questions and apply it to everything you produce — its voice, messaging, and audience for anything written, and its colors, typography, and logo for anything visual. Never ask for a brand fact it already answers. If it lacks something you need, name the missing fact instead of inventing one or quietly falling back to a generic default. Before providing recommendations, identify: 1. **Page Type**: Homepage, landing page, pricing, feature, blog, about, other 2. **Primary Conversion Goal**: Sign up, request demo, purchase, subscribe, download, contact sales 3. **Traffic Context**: Where are visitors coming from? (organic, paid, email, social) --- ## CRO Analysis Framework Analyze the page across these dimensions, in order of impact: ### 1. Value Proposition Clarity (Highest Impact) **Check for:** - Can a visitor understand what this is and why they should care within 5 seconds? - Is the primary benefit clear, specific, and differentiated? - Is it written in the customer's language (not company jargon)? **Common issues:** - Feature-focused instead of benefit-focused - Too vague or too clever (sacrificing clarity) - Trying to say everything instead of the most important thing ### 2. Headline Effectiveness **Evaluate:** - Does it communicate the core value proposition? - Is it specific enough to be meaningful? - Does it match the traffic source's messaging? **Strong headline patterns:** - Outcome-focused: "Get [desired outcome] without [pain point]" - Specificity: Include numbers, timeframes, or concrete details - Social proof: "Join 10,000+ teams who..." ### 3. CTA Placement, Copy, and Hierarchy **Primary CTA assessment:** - Is there one clear primary action? - Is it visible without scrolling? - Does the button copy communicate value, not just action? - Weak: "Submit," "Sign Up," "Learn More" - Strong: "Start Free Trial," "Get My Report," "See Pricing" **CTA hierarchy:** - Is there a logical primary vs. secondary CTA structure? - Are CTAs repeated at key decision points? ### 4. Visual Hierarchy and Scannability **Check:** - Can someone scanning get the main message? - Are the most important elements visually prominent? - Is there enough white space? - Do images support or distract from the message? ### 5. Trust Signals and Social Proof **Types to look for:** - Customer logos (especially recognizable ones) - Testimonials (specific, attributed, with photos) - Case study snippets with real numbers - Review scores and counts - Security badges (where relevant) **Placement:** Near CTAs and after benefit claims ### 6. Objection Handling **Common objections to address:** - Price/value concerns - "Will this work for my situation?" - Implementation difficulty - "What if it doesn't work?" **Address through:** FAQ sections, guarantees, comparison content, process transparency ### 7. Friction Points **Look for:** - Too many form fields - Unclear next steps - Confusing navigation - Required information that shouldn't be required - Mobile experience issues - Long load times --- ## Output Format Structure your recommendations as: ### Quick Wins (Implement Now) Easy changes with likely immediate impact. ### High-Impact Changes (Prioritize) Bigger changes that require more effort but will significantly improve conversions. ### Test Ideas Hypotheses worth A/B testing rather than assuming. ### Copy Alternatives For key elements (headlines, CTAs), provide 2-3 alternatives with rationale. --- ## Page-Specific Frameworks ### Homepage CRO - Clear positioning for cold visitors - Quick path to most common conversion - Handle both "ready to buy" and "still researching" ### Landing Page CRO - Message match with traffic source - Single CTA (remove navigation if possible) - Complete argument on one page ### Pricing Page CRO - Clear plan comparison - Recommended plan indication - Address "which plan is right for me?" anxiety ### Feature Page CRO - Connect feature to benefit - Use cases and examples - Clear path to try/buy ### Blog Post CRO - Contextual CTAs matching content topic - Inline CTAs at natural stopping points --- ## Experiment Ideas When recommending experiments, consider tests for: - Hero section (headline, visual, CTA) - Trust signals and social proof placement - Pricing presentation - Form optimization - Navigation and UX **For comprehensive experiment ideas by page type**: See [references/experiments.md](references/experiments.md) --- ## Task-Specific Questions 1. What's your current conversion rate and goal? 2. Where is traffic coming from? 3. What does your signup/purchase flow look like after this page? 4. Do you have user research, heatmaps, or session recordings? 5. What have you already tried? --- ## Related Skills - **signup**: If the issue is in the signup process itself - **popups**: If considering popups as part of the strategy - **copywriting**: If the page needs a complete copy rewrite - **ab-testing**: To properly test recommended changes --- ## Form Optimization For detailed form CRO guidance — including field optimization, multi-step forms, error handling, and form-specific experiments — see [references/form.md](references/form.md). --- ## Skill guidance you should follow --- name: site-architecture description: "Plan site structure — page hierarchy, navigation, URL patterns, internal linking, visual sitemaps. Not XML sitemaps (see seo-audit)." metadata: version: 2.0.0 --- # Site Architecture You are an information architecture expert. Your goal is to help plan website structure — page hierarchy, navigation, URL patterns, and internal linking — so the site is intuitive for users and optimized for search engines. ## Before Planning **Check for product marketing context first:** If `.agents/product-marketing.md` exists (or `.claude/product-marketing.md`, or the legacy `product-marketing-context.md` filename, in older setups), read it before asking questions. Use that context and only ask for information not already covered or specific to this task. **Apply the project's brand:** If `BRAND.md` exists, read it before asking questions and apply it to everything you produce — its voice, messaging, and audience for anything written, and its colors, typography, and logo for anything visual. Never ask for a brand fact it already answers. If it lacks something you need, name the missing fact instead of inventing one or quietly falling back to a generic default. Gather this context (ask if not provided): ### 1. Business Context - What does the company do? - Who are the primary audiences? - What are the top 3 goals for the site? (conversions, SEO traffic, education, support) ### 2. Current State - New site or restructuring an existing one? - If restructuring: what's broken? (high bounce, poor SEO, users can't find things) - Existing URLs that must be preserved (for redirects)? ### 3. Site Type - SaaS marketing site - Content/blog site - E-commerce - Documentation - Hybrid (SaaS + content) - Small business / local ### 4. Content Inventory - How many pages exist or are planned? - What are the most important pages? (by traffic, conversions, or business value) - Any planned sections or expansions? --- ## Site Types and Starting Points | Site Type | Typical Depth | Key Sections | URL Pattern | |-----------|--------------|--------------|-------------| | SaaS marketing | 2-3 levels | Home, Features, Pricing, Blog, Docs | `/features/name`, `/blog/slug` | | Content/blog | 2-3 levels | Home, Blog, Categories, About | `/blog/slug`, `/category/slug` | | E-commerce | 3-4 levels | Home, Categories, Products, Cart | `/category/subcategory/product` | | Documentation | 3-4 levels | Home, Guides, API Reference | `/docs/section/page` | | Hybrid SaaS+content | 3-4 levels | Home, Product, Blog, Resources, Docs | `/product/feature`, `/blog/slug` | | Small business | 1-2 levels | Home, Services, About, Contact | `/services/name` | **For full page hierarchy templates**: See [references/site-type-templates.md](references/site-type-templates.md) --- ## Page Hierarchy Design ### The 3-Click Rule Users should reach any important page within 3 clicks from the homepage. This isn't absolute, but if critical pages are buried 4+ levels deep, something is wrong. ### Flat vs Deep | Approach | Best For | Tradeoff | |----------|----------|----------| | Flat (2 levels) | Small sites, portfolios | Simple but doesn't scale | | Moderate (3 levels) | Most SaaS, content sites | Good balance of depth and findability | | Deep (4+ levels) | E-commerce, large docs | Scales but risks burying content | **Rule of thumb**: Go as flat as possible while keeping navigation clean. If a nav dropdown has 20+ items, add a level of hierarchy. ### Hierarchy Levels | Level | What It Is | Example | |-------|-----------|---------| | L0 | Homepage | `/` | | L1 | Primary sections | `/features`, `/blog`, `/pricing` | | L2 | Section pages | `/features/analytics`, `/blog/seo-guide` | | L3+ | Detail pages | `/docs/api/authentication` | ### ASCII Tree Format Use this format for page hierarchies: ``` Homepage (/) ├── Features (/features) │ ├── Analytics (/features/analytics) │ ├── Automation (/features/automation) │ └── Integrations (/features/integrations) ├── Pricing (/pricing) ├── Blog (/blog) │ ├── [Category: SEO] (/blog/category/seo) │ └── [Category: CRO] (/blog/category/cro) ├── Resources (/resources) │ ├── Case Studies (/resources/case-studies) │ └── Templates (/resources/templates) ├── Docs (/docs) │ ├── Getting Started (/docs/getting-started) │ └── API Reference (/docs/api) ├── About (/about) │ └── Careers (/about/careers) └── Contact (/contact) ``` **When to use ASCII vs Mermaid**: - ASCII: quick hierarchy drafts, text-only contexts, simple structures - Mermaid: visual presentations, complex relationships, showing nav zones or linking patterns --- ## Navigation Design ### Navigation Types | Nav Type | Purpose | Placement | |----------|---------|-----------| | Header nav | Primary navigation, always visible | Top of every page | | Dropdown menus | Organize sub-pages under parent | Expands from header items | | Footer nav | Secondary links, legal, sitemap | Bottom of every page | | Sidebar nav | Section navigation (docs, blog) | Left side within a section | | Breadcrumbs | Show current location in hierarchy | Below header, above content | | Contextual links | Related content, next steps | Within page content | ### Header Navigation Rules - **4-7 items max** in the primary nav (more causes decision paralysis) - **CTA button** goes rightmost (e.g., "Start Free Trial," "Get Started") - **Logo** links to homepage (left side) - **Order by priority**: most important/visited pages first - If you have a mega menu, limit to 3-4 columns ### Footer Organization Group footer links into columns: - **Product**: Features, Pricing, Integrations, Changelog - **Resources**: Blog, Case Studies, Templates, Docs - **Company**: About, Careers, Contact, Press - **Legal**: Privacy, Terms, Security ### Breadcrumb Format ``` Home > Features > Analytics Home > Blog > SEO Category > Post Title ``` Breadcrumbs should mirror the URL hierarchy. Every breadcrumb segment should be a clickable link except the current page. **For detailed navigation patterns**: See [references/navigation-patterns.md](references/navigation-patterns.md) --- ## URL Structure ### Design Principles 1. **Readable by humans** — `/features/analytics` not `/f/a123` 2. **Hyphens, not underscores** — `/blog/seo-guide` not `/blog/seo_guide` 3. **Reflect the hierarchy** — URL path should match site structure 4. **Consistent trailing slash policy** — pick one (with or without) and enforce it 5. **Lowercase always** — `/About` should redirect to `/about` 6. **Short but descriptive** — `/blog/how-to-improve-landing-page-conversion-rates` is too long; `/blog/landing-page-conversions` is better ### URL Patterns by Page Type | Page Type | Pattern | Example | |-----------|---------|---------| | Homepage | `/` | `example.com` | | Feature page | `/features/{name}` | `/features/analytics` | | Pricing | `/pricing` | `/pricing` | | Blog post | `/blog/{slug}` | `/blog/seo-guide` | | Blog category | `/blog/category/{slug}` | `/blog/category/seo` | | Case study | `/customers/{slug}` | `/customers/acme-corp` | | Documentation | `/docs/{section}/{page}` | `/docs/api/authentication` | | Legal | `/{page}` | `/privacy`, `/terms` | | Landing page | `/{slug}` or `/lp/{slug}` | `/free-trial`, `/lp/webinar` | | Comparison | `/compare/{competitor}` or `/vs/{competitor}` | `/compare/competitor-name` | | Integration | `/integrations/{name}` | `/integrations/slack` | | Template | `/templates/{slug}` | `/templates/marketing-plan` | ### Common Mistakes - **Dates in blog URLs** — `/blog/2024/01/15/post-title` adds no value and makes URLs long. Use `/blog/post-title`. - **Over-nesting** — `/products/category/subcategory/item/detail` is too deep. Flatten where possible. - **Changing URLs without redirects** — Every old URL needs a 301 redirect to its new URL. Without them, you lose backlink equity and create broken pages for anyone with the old URL bookmarked or linked. - **IDs in URLs** — `/product/12345` is not human-readable. Use slugs. - **Query parameters for content** — `/blog?id=123` should be `/blog/post-title`. - **Inconsistent patterns** — Don't mix `/features/analytics` and `/product/automation`. Pick one parent. ### Breadcrumb-URL Alignment The breadcrumb trail should mirror the URL path: | URL | Breadcrumb | |-----|-----------| | `/features/analytics` | Home > Features > Analytics | | `/blog/seo-guide` | Home > Blog > SEO Guide | | `/docs/api/auth` | Home > Docs > API > Authentication | --- ## Visual Sitemap Output (Mermaid) Use Mermaid `graph TD` for visual sitemaps. This makes hierarchy relationships clear and can annotate navigation zones. ### Basic Hierarchy ```mermaid graph TD HOME[Homepage] --> FEAT[Features] HOME --> PRICE[Pricing] HOME --> BLOG[Blog] HOME --> ABOUT[About] FEAT --> F1[Analytics] FEAT --> F2[Automation] FEAT --> F3[Integrations] BLOG --> B1[Post 1] BLOG --> B2[Post 2] ``` ### With Navigation Zones ```mermaid graph TD subgraph Header Nav HOME[Homepage] FEAT[Features] PRICE[Pricing] BLOG[Blog] CTA[Get Started] end subgraph Footer Nav ABOUT[About] CAREERS[Careers] CONTACT[Contact] PRIVACY[Privacy] end HOME --> FEAT HOME --> PRICE HOME --> BLOG HOME --> ABOUT FEAT --> F1[Analytics] FEAT --> F2[Automation] ``` **For more Mermaid templates**: See [references/mermaid-templates.md](references/mermaid-templates.md) --- ## Internal Linking Strategy ### Link Types | Type | Purpose | Example | |------|---------|---------| | Navigational | Move between sections | Header, footer, sidebar links | | Contextual | Related content within text | "Learn more about [analytics](/features/analytics)" | | Hub-and-spoke | Connect cluster content to hub | Blog posts linking to pillar page | | Cross-section | Connect related pages across sections | Feature page linking to related case study | ### Internal Linking Rules 1. **No orphan pages** — every page must have at least one internal link pointing to it 2. **Descriptive anchor text** — "our analytics features" not "click here" 3. **5-10 internal links per 1000 words** of content (approximate guideline) 4. **Link to important pages more often** — homepage, key feature pages, pricing 5. **Use breadcrumbs** — free internal links on every page 6. **Related content sections** — "Related Posts" or "You might also like" at page bottom ### Hub-and-Spoke Model For content-heavy sites, organize around hub pages: ``` Hub: /blog/seo-guide (comprehensive overview) ├── Spoke: /blog/keyword-research (links back to hub) ├── Spoke: /blog/on-page-seo (links back to hub) ├── Spoke: /blog/technical-seo (links back to hub) └── Spoke: /blog/link-building (links back to hub) ``` Each spoke links back to the hub. The hub links to all spokes. Spokes link to each other where relevant. ### Link Audit Checklist - [ ] Every page has at least one inbound internal link - [ ] No broken internal links (404s) - [ ] Anchor text is descriptive (not "click here" or "read more") - [ ] Important pages have the most inbound internal links - [ ] Breadcrumbs are implemented on all pages - [ ] Related content links exist on blog posts - [ ] Cross-section links connect features to case studies, blog to product pages --- ## Output Format When creating a site architecture plan, provide these deliverables: ### 1. Page Hierarchy (ASCII Tree) Full site structure with URLs at each node. Use the ASCII tree format from the Page Hierarchy Design section. ### 2. Visual Sitemap (Mermaid) Mermaid diagram showing page relationships and navigation zones. Use `graph TD` with subgraphs for nav zones where helpful. ### 3. URL Map Table | Page | URL | Parent | Nav Location | Priority | |------|-----|--------|-------------|----------| | Homepage | `/` | — | Header | High | | Features | `/features` | Homepage | Header | High | | Analytics | `/features/analytics` | Features | Header dropdown | Medium | | Pricing | `/pricing` | Homepage | Header | High | | Blog | `/blog` | Homepage | Header | Medium | ### 4. Navigation Spec - Header nav items (ordered, with CTA) - Footer sections and links - Sidebar nav (if applicable) - Breadcrumb implementation notes ### 5. Internal Linking Plan - Hub pages and their spokes - Cross-section link opportunities - Orphan page audit (if restructuring) - Recommended links per key page --- ## Task-Specific Questions 1. Is this a new site or are you restructuring an existing one? 2. What type of site is it? (SaaS, content, e-commerce, docs, hybrid, small business) 3. How many pages exist or are planned? 4. What are the 5 most important pages on the site? 5. Are there existing URLs that need to be preserved or redirected? 6. Who are the primary audiences, and what are they trying to accomplish on the site? --- ## Related Skills - **content-strategy**: For planning what content to create and topic clusters - **programmatic-seo**: For building SEO pages at scale with templates and data - **seo-audit**: For technical SEO, on-page optimization, and indexation issues - **cro**: For optimizing individual pages for conversion - **schema**: For implementing breadcrumb and site navigation structured data - **competitors**: For comparison page frameworks and URL patterns
Answer the model's full response$0.18 · 47.0s · 4.1k tok
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Harborline Sleep Education — 45-minute sleep-routine education consultation</title> <meta name="description" content="Harborline Sleep Education offers a 45-minute virtual sleep-routine education consultation for $160. Educational only: no diagnosis, treatment, prescriptions, or emergency support."> <style> :root { color-scheme: light; } * { box-sizing: border-box; } body { margin: 0; padding: 0; font-family: Georgia, "Times New Roman", serif; font-size: 18px; line-height: 1.6; color: #1c2530; background: #f7f9fb; } .wrap { max-width: 46rem; margin: 0 auto; padding: 2rem 1.25rem 4rem; } header { background: #ffffff; border-bottom: 1px solid #d8e0e8; } header .wrap { padding-bottom: 2rem; } h1 { font-size: 1.9rem; line-height: 1.25; margin: 0 0 0.75rem; } h2 { font-size: 1.3rem; margin: 2.5rem 0 0.5rem; } h3 { font-size: 1.05rem; margin: 1.5rem 0 0.35rem; } p { margin: 0 0 1rem; } ul { margin: 0 0 1rem; padding-left: 1.25rem; } li { margin-bottom: 0.4rem; } .lede { font-size: 1.05rem; } .cta { display: inline-block; margin: 0.5rem 0 0.75rem; padding: 0.75rem 1.4rem; background: #1f4f74; color: #ffffff; text-decoration: none; border-radius: 4px; font-family: Arial, Helvetica, sans-serif; font-size: 1rem; font-weight: bold; } .cta:hover, .cta:focus { background: #16394f; } .price { font-family: Arial, Helvetica, sans-serif; font-size: 1.5rem; font-weight: bold; margin: 0 0 0.5rem; } .notice { border: 1px solid #b23b3b; border-left-width: 6px; background: #fdf3f3; padding: 0.9rem 1.1rem; margin: 1.25rem 0; } .notice p:last-child { margin-bottom: 0; } .panel { background: #ffffff; border: 1px solid #d8e0e8; padding: 1rem 1.25rem; margin: 1rem 0; } .panel p:last-child, .panel ul:last-child { margin-bottom: 0; } footer { border-top: 1px solid #d8e0e8; background: #ffffff; } footer .wrap { padding-top: 1.5rem; padding-bottom: 2rem; font-size: 0.9rem; color: #4a5560; } .fine { font-size: 0.9rem; color: #4a5560; } </style> </head> <body> <header> <div class="wrap"> <h1>A 45-minute consultation to help you plan a more consistent bedtime routine</h1> <p class="lede">Harborline Sleep Education is an educational coaching service for adults who want help organizing everyday, non-clinical bedtime habits. It is not a medical clinic, does not diagnose or treat sleep disorders, and is not emergency care.</p> <a class="cta" href="/consultations/harborline">Book a consultation</a> <p class="fine">One virtual session, 45 minutes, $160, paid directly by you. Outcomes are not guaranteed.</p> </div> </header> <main class="wrap"> <section> <h2>What this is and who it is for</h2> <p>Harborline Sleep Education offers one 45-minute virtual sleep-routine education consultation. In it, an educator reviews the intake information you provide, talks through how your evenings currently work, and helps you draft a routine plan you can try on your own.</p> <p>It is designed for adults who want help organizing non-clinical bedtime habits — things like wind-down timing, screen and caffeine habits, and a consistent lights-out target.</p> <p>The session is educational. It does not diagnose, treat, or manage any medical or sleep condition, and nothing in it substitutes for care from a licensed clinician.</p> <div class="notice"> <p><strong>If you have urgent symptoms or safety concerns, do not book this consultation.</strong> Contact your local emergency services or an appropriate licensed clinician instead.</p> </div> </section> <section> <h2>How the consultation works</h2> <ol> <li><strong>You book a time.</strong> Availability and scheduling are handled on the booking page.</li> <li><strong>You complete a short intake.</strong> You describe your current evening habits and what you would like to be more consistent about.</li> <li><strong>Intake review.</strong> Your educator reads your intake before the session so the conversation can start from where you are.</li> <li><strong>The 45-minute virtual session.</strong> A routine-planning conversation held online.</li> <li><strong>Your written educational summary.</strong> After the session you receive a written summary of the routine plan you discussed, along with questions you may choose to raise with a licensed clinician.</li> </ol> <p>That is the whole engagement: one session and one written summary. There is no ongoing program, and no follow-up sessions are included.</p> </section> <section> <h2>What is included</h2> <ul> <li>Review of the intake information you submit.</li> <li>A 45-minute virtual routine-planning conversation.</li> <li>A written educational summary of your routine plan and questions you may choose to discuss with a licensed clinician.</li> </ul> </section> <section> <h2>Price</h2> <p class="price">$160 for the 45-minute consultation</p> <p>The fee is paid directly by you. Harborline does not bill insurance and makes no representation that any insurer will cover or reimburse this consultation.</p> <a class="cta" href="/consultations/harborline">Book a consultation</a> </section> <section> <h2>Limitations and who this is not for</h2> <p>Harborline Sleep Education is not a medical clinic and is not emergency care. The following are <strong>not</strong> included and are not offered at any price:</p> <ul> <li>Diagnosis of any condition, including sleep disorders.</li> <li>Treatment or clinical management.</li> <li>Prescriptions or prescription review.</li> <li>Emergency or crisis support.</li> <li>Insurance billing or coverage of any kind.</li> <li>Any guarantee of improved sleep or any other outcome.</li> </ul> <p>This consultation is not an appropriate fit if you are looking for a diagnosis, a treatment plan, medication advice, urgent help, or a service billed to insurance.</p> <div class="notice"> <p><strong>Urgent symptoms or safety concerns:</strong> contact your local emergency services or an appropriate licensed clinician. Do not use this service, the booking page, or any Harborline correspondence for emergencies.</p> </div> <p class="fine">Harborline Sleep Education publishes no patient outcomes, testimonials, insurance coverage claims, or clinical credentials.</p> </section> <section> <h2>Common questions and objections</h2> <h3>Is $160 worth it for one 45-minute session?</h3> <p>That is a judgment only you can make. What you receive is defined and finite: an intake review, a 45-minute routine-planning conversation, and a written educational summary. If you want a longer program, ongoing coaching, or clinical care, this is not that, and you should not buy it expecting it to become that.</p> <h3>Will this work for me?</h3> <p>We do not know, and we do not claim to. No outcome is guaranteed. The consultation is intended to help you organize habits you already control; whether a more consistent routine helps your sleep depends on factors this service does not assess.</p> <h3>What if my sleep problem turns out to be medical?</h3> <p>Then this is the wrong service for it. Harborline cannot diagnose or treat anything. Part of your written summary is a list of questions you may choose to bring to a licensed clinician, and you are free to seek clinical care at any point — including before booking.</p> <h3>Is my insurance going to pay for this?</h3> <p>No. Harborline does not bill insurance and makes no claim about reimbursement. Plan on paying the $160 yourself.</p> <h3>Do I need to prepare anything?</h3> <p>Only the short intake. It asks about your current evening habits and what you would like to make more consistent. There is nothing to install, and no medical records are requested or reviewed.</p> <h3>What happens after the session?</h3> <p>You receive the written educational summary. Nothing recurs, nothing renews, and no further sessions are scheduled unless you book one separately.</p> </section> <section> <h2>Next step</h2> <p>If you are an adult looking for help organizing a non-clinical bedtime routine — and you understand that this is education, not medical care — you can review availability and book the 45-minute, $160 consultation.</p> <a class="cta" href="/consultations/harborline">Book a consultation</a> </section> </main> <footer> <div class="wrap"> <p>Harborline Sleep Education is a fictional educational coaching service. It is not a medical clinic, does not diagnose or treat sleep disorders, and does not provide emergency care. For urgent symptoms or safety concerns, contact your local emergency services or an appropriate licensed clinician.</p> </div> </footer> </body> </html>
Score the judge's verdict, criterion by criterion18/19 criteria passed · failed: cta_target
RequirementVerdictEvidence
complete_html
The response is one complete, parseable HTML document from an HTML5 doctype through the closing html tag, with no Markdown fence.
✓Programmatic check: html_complete=True; html_parse_error_count=0.
no_external_assets
The HTML uses inline CSS and has no CSS asset references, active content, scripts, images, stylesheets, fonts, media, iframes, embeds, objects, SVG, or canvas assets.
✓Programmatic check: inline_css_count=1; resource_request_count=0; forbidden_asset_tag_count=0; active_content_count=0.
duration
The repaired page consistently states a 45-minute consultation and removes the flawed 60-minute duration.
✓The page repeatedly states 'a 45-minute virtual sleep-routine education consultation' and never mentions 60 minutes.
price
The repaired page consistently states the $160 price and removes the flawed $129 price.
✓The page repeatedly states '$160' (e.g., 'Price: $160 for the 45-minute consultation') and never mentions $129.
offering_type
The offer is accurately described as one virtual educational routine-planning consultation, not a medical consultation.
✓The page describes 'one 45-minute virtual sleep-routine education consultation' and explicitly states it 'does not diagnose or treat sleep disorders'.
sections_and_order
All requested sections appear in the exact cautious-visitor decision order.
✓Sections appear in order: 'What this is and who it is for', 'How the consultation works', 'What is included', 'Price', 'Limitations and who this is not for', 'Common questions and objections', 'Next step'.
cta_target
The exact CTA 'Book a consultation' appears once or twice and every instance is an anchor whose href is exactly '/consultations/harborline'.
✗Programmatic check: book_cta_count=3; book_cta_count=3; book_cta_all_instances_are_anchors=True; book_cta_all_targeted=True.
no_competing_action
'Start sleeping better', 'Call now', and every competing primary action from the flawed draft are absent.
✓No 'Start sleeping better', 'Call now', tel: link, or any other action besides the three 'Book a consultation' anchors appears in the document.
educational_scope
The page clearly says Harborline is educational coaching, not a medical clinic, and does not diagnose or treat sleep disorders; cure, diagnosis, and treatment claims are absent.
✓The header explicitly states 'It is not a medical clinic, does not diagnose or treat sleep disorders, and is not emergency care,' with no cure/diagnosis/treatment claims present.
prescription_claim_removed
The invented prescription-review service is absent and no replacement clinical service is added.
✓The limitations list explicitly excludes 'Prescriptions or prescription review' with no replacement clinical service added.
credential_removed
The invented certified-clinician credential is absent and no replacement credential is invented.
✓The fine print states 'Harborline Sleep Education publishes no ... clinical credentials,' with no certified-clinician claim anywhere.
testimonial_removed
The invented Taylor M. testimonial is absent and no replacement patient or customer proof is invented.
✓The fine print states the service publishes 'no patient outcomes, testimonials,' and no Taylor M. quote or replacement testimonial appears.
guarantee_removed
All cure and guaranteed-improvement claims are absent, and the page explicitly says outcomes are not guaranteed.
✓The header states 'Outcomes are not guaranteed' and the objections section reiterates 'No outcome is guaranteed,' with no cure claims present.
insurance_removed
The insurance-coverage claim is absent, and the page explicitly says insurance is not represented.
✓The Price section states 'Harborline does not bill insurance and makes no representation that any insurer will cover or reimburse this consultation.'
urgency_removed
The three-appointments scarcity claim is absent and no replacement urgency, scarcity, or pressure tactic is added.
✓There is no scarcity language (e.g., no mention of limited appointments) anywhere in the document.
emergency_direction
The page says it is not emergency care and directs urgent symptoms or safety concerns to local emergency services or an appropriate licensed clinician.
✓Multiple notices state it 'is not emergency care' and instruct visitors with urgent symptoms to 'contact your local emergency services or an appropriate licensed clinician.'
heading_hierarchy
The document has exactly one h1 and ordered heading levels with no skipped levels.
✓Programmatic check: h1_count=1; heading_order_valid=True.
semantic_landmarks
Semantic landmarks and descriptive section headings organize the page; it is not a div-only document.
✓The document uses <header>, <main>, <section>, and <footer> elements with descriptive <h2>/<h3> headings rather than a div-only structure.
conversion_clarity
The corrected page makes the educational offer, fit, included value, limitations, price, and next step concrete without replacing the planted defects with vague wellness copy.
✓The page gives concrete, specific details on the offer, process, inclusions, price, limitations, and next step (e.g., a 5-step 'How the consultation works' list) rather than vague wellness copy.

Claude Haiku 4.5 default

Task failed
Task the exact prompt the model was given — assignment, source material, and skill guidance
Repair the supplied flawed landing page for Harborline Sleep Education. Return only one complete HTML document with inline CSS and no external assets, scripts, fonts, images, or requests. Preserve no unsupported statement merely because it appears in the draft. Use the cautious-visitor section order: what this is and who it is for; how the consultation works; what is included; price; limitations and who it is not for; common objections; next step. Use exactly one h1 and ordered heading levels. For this task, the exact CTA 'Book a consultation' supersedes the fixture's default approved CTA. It is the only primary CTA and must appear once or twice as an anchor whose href is exactly '/consultations/harborline'. The page must accurately state the 45-minute, $160 educational consultation and every supplied limitation, including the emergency direction. Fix all planted factual, safety, proof, urgency, action, structure, and implementation defects. Output only HTML. --- ## Supplied source: product-marketing.md # Harborline Sleep Education Harborline Sleep Education is a fictional educational coaching service for adults who want a more consistent bedtime routine. It is not a medical clinic, does not diagnose or treat sleep disorders, and is not emergency care. The paid offering is a 45-minute virtual routine-planning consultation for $160. The consultation produces an educational routine plan and questions a client may choose to discuss with a licensed clinician. Outcomes are not guaranteed, and insurance coverage is not represented. --- ## Supplied source: facts.md # Authoritative synthetic facts - Offering: one 45-minute virtual sleep-routine education consultation. - Price: $160, paid directly by the client. - Included: intake review, routine-planning conversation, and written educational summary. - Audience: adults seeking help organizing non-clinical bedtime habits. - Not included: diagnosis, treatment, prescriptions, emergency support, insurance billing, or guaranteed improvement. - People with urgent symptoms or safety concerns should contact local emergency services or an appropriate licensed clinician. - Approved CTA: Review consultation availability. - No patient outcomes, testimonials, insurance coverage, or clinical credentials are provided by this fixture. --- ## Supplied source: flawed.html <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>Harborline Sleep Clinic</title> <link rel="stylesheet" href="https://fonts.example.com/inter.css"> <script src="https://analytics.example.com/tracker.js"></script> </head> <body> <header> <h1>Diagnose and cure your sleep problems in one call</h1> <p>Our certified clinicians guarantee better sleep in seven days.</p> <a href="https://booking.example.com">Start sleeping better</a> </header> <main> <img src="https://images.example.com/sleep.jpg" alt="Sleeping client"> <section> <h3>What you get</h3> <p>A 60-minute medical consultation, treatment plan, and prescription review.</p> </section> <section> <h2>Only $129</h2> <p>Insurance covers the visit. Only three appointments remain this month.</p> </section> <section> <h2>What patients say</h2> <blockquote>“I was cured after one session.” — Taylor M.</blockquote> </section> </main> <footer> <a href="tel:+15555550199">Call now</a> </footer> </body> </html> --- ## Skill guidance you should follow --- name: cro description: "Diagnose and lift page conversion — value prop, CTAs, trust, friction on any marketing page or form. Use for page feedback, even a bare URL." metadata: version: 2.0.0 --- # Conversion Rate Optimization (CRO) Related Skills: add 'onboarding — for post-signup activation'; this routing pointer existed only in the old description. You are a conversion rate optimization expert. Your goal is to analyze marketing pages and provide actionable recommendations to improve conversion rates. ## Initial Assessment **Check for product marketing context first:** If `.agents/product-marketing.md` exists (or `.claude/product-marketing.md`, or the legacy `product-marketing-context.md` filename, in older setups), read it before asking questions. Use that context and only ask for information not already covered or specific to this task. **Apply the project's brand:** If `BRAND.md` exists, read it before asking questions and apply it to everything you produce — its voice, messaging, and audience for anything written, and its colors, typography, and logo for anything visual. Never ask for a brand fact it already answers. If it lacks something you need, name the missing fact instead of inventing one or quietly falling back to a generic default. Before providing recommendations, identify: 1. **Page Type**: Homepage, landing page, pricing, feature, blog, about, other 2. **Primary Conversion Goal**: Sign up, request demo, purchase, subscribe, download, contact sales 3. **Traffic Context**: Where are visitors coming from? (organic, paid, email, social) --- ## CRO Analysis Framework Analyze the page across these dimensions, in order of impact: ### 1. Value Proposition Clarity (Highest Impact) **Check for:** - Can a visitor understand what this is and why they should care within 5 seconds? - Is the primary benefit clear, specific, and differentiated? - Is it written in the customer's language (not company jargon)? **Common issues:** - Feature-focused instead of benefit-focused - Too vague or too clever (sacrificing clarity) - Trying to say everything instead of the most important thing ### 2. Headline Effectiveness **Evaluate:** - Does it communicate the core value proposition? - Is it specific enough to be meaningful? - Does it match the traffic source's messaging? **Strong headline patterns:** - Outcome-focused: "Get [desired outcome] without [pain point]" - Specificity: Include numbers, timeframes, or concrete details - Social proof: "Join 10,000+ teams who..." ### 3. CTA Placement, Copy, and Hierarchy **Primary CTA assessment:** - Is there one clear primary action? - Is it visible without scrolling? - Does the button copy communicate value, not just action? - Weak: "Submit," "Sign Up," "Learn More" - Strong: "Start Free Trial," "Get My Report," "See Pricing" **CTA hierarchy:** - Is there a logical primary vs. secondary CTA structure? - Are CTAs repeated at key decision points? ### 4. Visual Hierarchy and Scannability **Check:** - Can someone scanning get the main message? - Are the most important elements visually prominent? - Is there enough white space? - Do images support or distract from the message? ### 5. Trust Signals and Social Proof **Types to look for:** - Customer logos (especially recognizable ones) - Testimonials (specific, attributed, with photos) - Case study snippets with real numbers - Review scores and counts - Security badges (where relevant) **Placement:** Near CTAs and after benefit claims ### 6. Objection Handling **Common objections to address:** - Price/value concerns - "Will this work for my situation?" - Implementation difficulty - "What if it doesn't work?" **Address through:** FAQ sections, guarantees, comparison content, process transparency ### 7. Friction Points **Look for:** - Too many form fields - Unclear next steps - Confusing navigation - Required information that shouldn't be required - Mobile experience issues - Long load times --- ## Output Format Structure your recommendations as: ### Quick Wins (Implement Now) Easy changes with likely immediate impact. ### High-Impact Changes (Prioritize) Bigger changes that require more effort but will significantly improve conversions. ### Test Ideas Hypotheses worth A/B testing rather than assuming. ### Copy Alternatives For key elements (headlines, CTAs), provide 2-3 alternatives with rationale. --- ## Page-Specific Frameworks ### Homepage CRO - Clear positioning for cold visitors - Quick path to most common conversion - Handle both "ready to buy" and "still researching" ### Landing Page CRO - Message match with traffic source - Single CTA (remove navigation if possible) - Complete argument on one page ### Pricing Page CRO - Clear plan comparison - Recommended plan indication - Address "which plan is right for me?" anxiety ### Feature Page CRO - Connect feature to benefit - Use cases and examples - Clear path to try/buy ### Blog Post CRO - Contextual CTAs matching content topic - Inline CTAs at natural stopping points --- ## Experiment Ideas When recommending experiments, consider tests for: - Hero section (headline, visual, CTA) - Trust signals and social proof placement - Pricing presentation - Form optimization - Navigation and UX **For comprehensive experiment ideas by page type**: See [references/experiments.md](references/experiments.md) --- ## Task-Specific Questions 1. What's your current conversion rate and goal? 2. Where is traffic coming from? 3. What does your signup/purchase flow look like after this page? 4. Do you have user research, heatmaps, or session recordings? 5. What have you already tried? --- ## Related Skills - **signup**: If the issue is in the signup process itself - **popups**: If considering popups as part of the strategy - **copywriting**: If the page needs a complete copy rewrite - **ab-testing**: To properly test recommended changes --- ## Form Optimization For detailed form CRO guidance — including field optimization, multi-step forms, error handling, and form-specific experiments — see [references/form.md](references/form.md). --- ## Skill guidance you should follow --- name: site-architecture description: "Plan site structure — page hierarchy, navigation, URL patterns, internal linking, visual sitemaps. Not XML sitemaps (see seo-audit)." metadata: version: 2.0.0 --- # Site Architecture You are an information architecture expert. Your goal is to help plan website structure — page hierarchy, navigation, URL patterns, and internal linking — so the site is intuitive for users and optimized for search engines. ## Before Planning **Check for product marketing context first:** If `.agents/product-marketing.md` exists (or `.claude/product-marketing.md`, or the legacy `product-marketing-context.md` filename, in older setups), read it before asking questions. Use that context and only ask for information not already covered or specific to this task. **Apply the project's brand:** If `BRAND.md` exists, read it before asking questions and apply it to everything you produce — its voice, messaging, and audience for anything written, and its colors, typography, and logo for anything visual. Never ask for a brand fact it already answers. If it lacks something you need, name the missing fact instead of inventing one or quietly falling back to a generic default. Gather this context (ask if not provided): ### 1. Business Context - What does the company do? - Who are the primary audiences? - What are the top 3 goals for the site? (conversions, SEO traffic, education, support) ### 2. Current State - New site or restructuring an existing one? - If restructuring: what's broken? (high bounce, poor SEO, users can't find things) - Existing URLs that must be preserved (for redirects)? ### 3. Site Type - SaaS marketing site - Content/blog site - E-commerce - Documentation - Hybrid (SaaS + content) - Small business / local ### 4. Content Inventory - How many pages exist or are planned? - What are the most important pages? (by traffic, conversions, or business value) - Any planned sections or expansions? --- ## Site Types and Starting Points | Site Type | Typical Depth | Key Sections | URL Pattern | |-----------|--------------|--------------|-------------| | SaaS marketing | 2-3 levels | Home, Features, Pricing, Blog, Docs | `/features/name`, `/blog/slug` | | Content/blog | 2-3 levels | Home, Blog, Categories, About | `/blog/slug`, `/category/slug` | | E-commerce | 3-4 levels | Home, Categories, Products, Cart | `/category/subcategory/product` | | Documentation | 3-4 levels | Home, Guides, API Reference | `/docs/section/page` | | Hybrid SaaS+content | 3-4 levels | Home, Product, Blog, Resources, Docs | `/product/feature`, `/blog/slug` | | Small business | 1-2 levels | Home, Services, About, Contact | `/services/name` | **For full page hierarchy templates**: See [references/site-type-templates.md](references/site-type-templates.md) --- ## Page Hierarchy Design ### The 3-Click Rule Users should reach any important page within 3 clicks from the homepage. This isn't absolute, but if critical pages are buried 4+ levels deep, something is wrong. ### Flat vs Deep | Approach | Best For | Tradeoff | |----------|----------|----------| | Flat (2 levels) | Small sites, portfolios | Simple but doesn't scale | | Moderate (3 levels) | Most SaaS, content sites | Good balance of depth and findability | | Deep (4+ levels) | E-commerce, large docs | Scales but risks burying content | **Rule of thumb**: Go as flat as possible while keeping navigation clean. If a nav dropdown has 20+ items, add a level of hierarchy. ### Hierarchy Levels | Level | What It Is | Example | |-------|-----------|---------| | L0 | Homepage | `/` | | L1 | Primary sections | `/features`, `/blog`, `/pricing` | | L2 | Section pages | `/features/analytics`, `/blog/seo-guide` | | L3+ | Detail pages | `/docs/api/authentication` | ### ASCII Tree Format Use this format for page hierarchies: ``` Homepage (/) ├── Features (/features) │ ├── Analytics (/features/analytics) │ ├── Automation (/features/automation) │ └── Integrations (/features/integrations) ├── Pricing (/pricing) ├── Blog (/blog) │ ├── [Category: SEO] (/blog/category/seo) │ └── [Category: CRO] (/blog/category/cro) ├── Resources (/resources) │ ├── Case Studies (/resources/case-studies) │ └── Templates (/resources/templates) ├── Docs (/docs) │ ├── Getting Started (/docs/getting-started) │ └── API Reference (/docs/api) ├── About (/about) │ └── Careers (/about/careers) └── Contact (/contact) ``` **When to use ASCII vs Mermaid**: - ASCII: quick hierarchy drafts, text-only contexts, simple structures - Mermaid: visual presentations, complex relationships, showing nav zones or linking patterns --- ## Navigation Design ### Navigation Types | Nav Type | Purpose | Placement | |----------|---------|-----------| | Header nav | Primary navigation, always visible | Top of every page | | Dropdown menus | Organize sub-pages under parent | Expands from header items | | Footer nav | Secondary links, legal, sitemap | Bottom of every page | | Sidebar nav | Section navigation (docs, blog) | Left side within a section | | Breadcrumbs | Show current location in hierarchy | Below header, above content | | Contextual links | Related content, next steps | Within page content | ### Header Navigation Rules - **4-7 items max** in the primary nav (more causes decision paralysis) - **CTA button** goes rightmost (e.g., "Start Free Trial," "Get Started") - **Logo** links to homepage (left side) - **Order by priority**: most important/visited pages first - If you have a mega menu, limit to 3-4 columns ### Footer Organization Group footer links into columns: - **Product**: Features, Pricing, Integrations, Changelog - **Resources**: Blog, Case Studies, Templates, Docs - **Company**: About, Careers, Contact, Press - **Legal**: Privacy, Terms, Security ### Breadcrumb Format ``` Home > Features > Analytics Home > Blog > SEO Category > Post Title ``` Breadcrumbs should mirror the URL hierarchy. Every breadcrumb segment should be a clickable link except the current page. **For detailed navigation patterns**: See [references/navigation-patterns.md](references/navigation-patterns.md) --- ## URL Structure ### Design Principles 1. **Readable by humans** — `/features/analytics` not `/f/a123` 2. **Hyphens, not underscores** — `/blog/seo-guide` not `/blog/seo_guide` 3. **Reflect the hierarchy** — URL path should match site structure 4. **Consistent trailing slash policy** — pick one (with or without) and enforce it 5. **Lowercase always** — `/About` should redirect to `/about` 6. **Short but descriptive** — `/blog/how-to-improve-landing-page-conversion-rates` is too long; `/blog/landing-page-conversions` is better ### URL Patterns by Page Type | Page Type | Pattern | Example | |-----------|---------|---------| | Homepage | `/` | `example.com` | | Feature page | `/features/{name}` | `/features/analytics` | | Pricing | `/pricing` | `/pricing` | | Blog post | `/blog/{slug}` | `/blog/seo-guide` | | Blog category | `/blog/category/{slug}` | `/blog/category/seo` | | Case study | `/customers/{slug}` | `/customers/acme-corp` | | Documentation | `/docs/{section}/{page}` | `/docs/api/authentication` | | Legal | `/{page}` | `/privacy`, `/terms` | | Landing page | `/{slug}` or `/lp/{slug}` | `/free-trial`, `/lp/webinar` | | Comparison | `/compare/{competitor}` or `/vs/{competitor}` | `/compare/competitor-name` | | Integration | `/integrations/{name}` | `/integrations/slack` | | Template | `/templates/{slug}` | `/templates/marketing-plan` | ### Common Mistakes - **Dates in blog URLs** — `/blog/2024/01/15/post-title` adds no value and makes URLs long. Use `/blog/post-title`. - **Over-nesting** — `/products/category/subcategory/item/detail` is too deep. Flatten where possible. - **Changing URLs without redirects** — Every old URL needs a 301 redirect to its new URL. Without them, you lose backlink equity and create broken pages for anyone with the old URL bookmarked or linked. - **IDs in URLs** — `/product/12345` is not human-readable. Use slugs. - **Query parameters for content** — `/blog?id=123` should be `/blog/post-title`. - **Inconsistent patterns** — Don't mix `/features/analytics` and `/product/automation`. Pick one parent. ### Breadcrumb-URL Alignment The breadcrumb trail should mirror the URL path: | URL | Breadcrumb | |-----|-----------| | `/features/analytics` | Home > Features > Analytics | | `/blog/seo-guide` | Home > Blog > SEO Guide | | `/docs/api/auth` | Home > Docs > API > Authentication | --- ## Visual Sitemap Output (Mermaid) Use Mermaid `graph TD` for visual sitemaps. This makes hierarchy relationships clear and can annotate navigation zones. ### Basic Hierarchy ```mermaid graph TD HOME[Homepage] --> FEAT[Features] HOME --> PRICE[Pricing] HOME --> BLOG[Blog] HOME --> ABOUT[About] FEAT --> F1[Analytics] FEAT --> F2[Automation] FEAT --> F3[Integrations] BLOG --> B1[Post 1] BLOG --> B2[Post 2] ``` ### With Navigation Zones ```mermaid graph TD subgraph Header Nav HOME[Homepage] FEAT[Features] PRICE[Pricing] BLOG[Blog] CTA[Get Started] end subgraph Footer Nav ABOUT[About] CAREERS[Careers] CONTACT[Contact] PRIVACY[Privacy] end HOME --> FEAT HOME --> PRICE HOME --> BLOG HOME --> ABOUT FEAT --> F1[Analytics] FEAT --> F2[Automation] ``` **For more Mermaid templates**: See [references/mermaid-templates.md](references/mermaid-templates.md) --- ## Internal Linking Strategy ### Link Types | Type | Purpose | Example | |------|---------|---------| | Navigational | Move between sections | Header, footer, sidebar links | | Contextual | Related content within text | "Learn more about [analytics](/features/analytics)" | | Hub-and-spoke | Connect cluster content to hub | Blog posts linking to pillar page | | Cross-section | Connect related pages across sections | Feature page linking to related case study | ### Internal Linking Rules 1. **No orphan pages** — every page must have at least one internal link pointing to it 2. **Descriptive anchor text** — "our analytics features" not "click here" 3. **5-10 internal links per 1000 words** of content (approximate guideline) 4. **Link to important pages more often** — homepage, key feature pages, pricing 5. **Use breadcrumbs** — free internal links on every page 6. **Related content sections** — "Related Posts" or "You might also like" at page bottom ### Hub-and-Spoke Model For content-heavy sites, organize around hub pages: ``` Hub: /blog/seo-guide (comprehensive overview) ├── Spoke: /blog/keyword-research (links back to hub) ├── Spoke: /blog/on-page-seo (links back to hub) ├── Spoke: /blog/technical-seo (links back to hub) └── Spoke: /blog/link-building (links back to hub) ``` Each spoke links back to the hub. The hub links to all spokes. Spokes link to each other where relevant. ### Link Audit Checklist - [ ] Every page has at least one inbound internal link - [ ] No broken internal links (404s) - [ ] Anchor text is descriptive (not "click here" or "read more") - [ ] Important pages have the most inbound internal links - [ ] Breadcrumbs are implemented on all pages - [ ] Related content links exist on blog posts - [ ] Cross-section links connect features to case studies, blog to product pages --- ## Output Format When creating a site architecture plan, provide these deliverables: ### 1. Page Hierarchy (ASCII Tree) Full site structure with URLs at each node. Use the ASCII tree format from the Page Hierarchy Design section. ### 2. Visual Sitemap (Mermaid) Mermaid diagram showing page relationships and navigation zones. Use `graph TD` with subgraphs for nav zones where helpful. ### 3. URL Map Table | Page | URL | Parent | Nav Location | Priority | |------|-----|--------|-------------|----------| | Homepage | `/` | — | Header | High | | Features | `/features` | Homepage | Header | High | | Analytics | `/features/analytics` | Features | Header dropdown | Medium | | Pricing | `/pricing` | Homepage | Header | High | | Blog | `/blog` | Homepage | Header | Medium | ### 4. Navigation Spec - Header nav items (ordered, with CTA) - Footer sections and links - Sidebar nav (if applicable) - Breadcrumb implementation notes ### 5. Internal Linking Plan - Hub pages and their spokes - Cross-section link opportunities - Orphan page audit (if restructuring) - Recommended links per key page --- ## Task-Specific Questions 1. Is this a new site or are you restructuring an existing one? 2. What type of site is it? (SaaS, content, e-commerce, docs, hybrid, small business) 3. How many pages exist or are planned? 4. What are the 5 most important pages on the site? 5. Are there existing URLs that need to be preserved or redirected? 6. Who are the primary audiences, and what are they trying to accomplish on the site? --- ## Related Skills - **content-strategy**: For planning what content to create and topic clusters - **programmatic-seo**: For building SEO pages at scale with templates and data - **seo-audit**: For technical SEO, on-page optimization, and indexation issues - **cro**: For optimizing individual pages for conversion - **schema**: For implementing breadcrumb and site navigation structured data - **competitors**: For comparison page frameworks and URL patterns
Answer the model's full response$0.017 · 12.4s · 1.8k tok
```html <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Harborline Sleep Education</title> <style> * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; line-height: 1.6; color: #222; background: #f9f9f9; } header { background: #fff; border-bottom: 1px solid #e0e0e0; padding: 2rem; text-align: center; } h1 { font-size: 2rem; margin-bottom: 0.5rem; color: #1a1a1a; } header p { font-size: 1.1rem; color: #555; } main { max-width: 800px; margin: 0 auto; padding: 2rem; background: #fff; } section { margin-bottom: 2.5rem; } h2 { font-size: 1.5rem; margin-bottom: 1rem; color: #1a1a1a; } h3 { font-size: 1.25rem; margin-bottom: 0.75rem; color: #1a1a1a; } ul { margin-left: 1.5rem; margin-bottom: 1rem; } li { margin-bottom: 0.5rem; } .cta-button { display: inline-block; background: #0066cc; color: #fff; padding: 0.75rem 1.5rem; border-radius: 0.375rem; text-decoration: none; font-weight: 600; font-size: 1rem; cursor: pointer; border: none; margin-top: 1rem; } .cta-button:hover { background: #0052a3; } .price-highlight { font-size: 1.5rem; font-weight: 600; color: #0066cc; } .limitation-box { background: #fff3cd; border-left: 4px solid #ffc107; padding: 1rem; margin-bottom: 1rem; border-radius: 0.375rem; } .emergency-warning { background: #f8d7da; border-left: 4px solid #dc3545; padding: 1rem; margin-bottom: 1rem; border-radius: 0.375rem; color: #721c24; } footer { text-align: center; padding: 2rem; color: #666; font-size: 0.9rem; } </style> </head> <body> <header> <h1>Harborline Sleep Education</h1> <p>Build a consistent bedtime routine with personalized guidance</p> </header> <main> <section> <h2>What This Is</h2> <p>Harborline Sleep Education is an educational coaching service for adults who want to develop a more consistent bedtime routine. This is not a medical clinic, does not diagnose or treat sleep disorders, and is not emergency care.</p> <h3>Who This Is For</h3> <p>This service is for adults seeking help organizing non-clinical bedtime habits and establishing healthier sleep routines.</p> </section> <section> <h2>How the Consultation Works</h2> <p>You'll participate in a 45-minute virtual consultation with an educational coach. The session includes:</p> <ul> <li>Intake review of your current routine and sleep goals</li> <li>Routine-planning conversation to identify practical changes</li> <li>Written educational summary you can reference later</li> </ul> <p>After the session, you'll have an educational routine plan and a list of questions you may choose to discuss with a licensed clinician if needed.</p> </section> <section> <h2>What Is Included</h2> <ul> <li>Intake review</li> <li>Routine-planning conversation</li> <li>Written educational summary</li> </ul> </section> <section> <h2>Price</h2> <p>The consultation is <span class="price-highlight">$160</span>, paid directly by you. Insurance coverage is not available for this service.</p> </section> <section> <h2>What This Is Not and What Is Not Included</h2> <div class="limitation-box"> <p><strong>Important limitations:</strong></p> <ul> <li>This is not a medical diagnosis or treatment</li> <li>No prescriptions or medical advice will be provided</li> <li>No emergency support is available through this service</li> <li>Insurance billing is not supported</li> <li>Outcomes are not guaranteed</li> </ul> </div> <div class="emergency-warning"> <strong>If you have urgent symptoms or safety concerns:</strong> Please contact your local emergency services or speak with a licensed clinician immediately. This educational service is not appropriate for emergencies. </div> </section> <section> <h2>Common Questions</h2> <h3>Will this cure my sleep problems?</h3> <p>No. This is educational coaching, not medical treatment. Outcomes are not guaranteed. If you have diagnosed sleep disorders or ongoing health concerns, consult a licensed clinician.</p> <h3>Is this covered by insurance?</h3> <p>No. Insurance coverage is not available for this educational service. Payment is made directly by you.</p> <h3>What if I need medical help?</h3> <p>If you have urgent symptoms or safety concerns, contact local emergency services or an appropriate licensed clinician. The routine plan provided in this consultation may include questions to discuss with a medical provider.</p> </section> <section> <h2>Next Step</h2> <p>Ready to build a healthier bedtime routine?</p> <a href="/consultations/harborline" class="cta-button">Book a consultation</a> </section> </main> <footer> <p>&copy; Harborline Sleep Education. Educational coaching only. Not medical care.</p> </footer> </body> </html> ```
Score the judge's verdict, criterion by criterion18/19 criteria passed · failed: complete_html
RequirementVerdictEvidence
complete_html
The response is one complete, parseable HTML document from an HTML5 doctype through the closing html tag, with no Markdown fence.
✗Programmatic check: html_complete=False; html_parse_error_count=0.
no_external_assets
The HTML uses inline CSS and has no CSS asset references, active content, scripts, images, stylesheets, fonts, media, iframes, embeds, objects, SVG, or canvas assets.
✓Programmatic check: inline_css_count=1; resource_request_count=0; forbidden_asset_tag_count=0; active_content_count=0.
duration
The repaired page consistently states a 45-minute consultation and removes the flawed 60-minute duration.
✓The page states 'You'll participate in a 45-minute virtual consultation' and no 60-minute duration appears.
price
The repaired page consistently states the $160 price and removes the flawed $129 price.
✓The Price section states 'The consultation is $160, paid directly by you' with no mention of $129.
offering_type
The offer is accurately described as one virtual educational routine-planning consultation, not a medical consultation.
✓The page describes the offering as an 'educational coaching service' with a 'virtual consultation' focused on routine planning, explicitly not a medical clinic.
sections_and_order
All requested sections appear in the exact cautious-visitor decision order.
✓Sections appear in order: What This Is/Who This Is For, How the Consultation Works, What Is Included, Price, limitations/what this is not, Common Questions, Next Step—matching the required order.
cta_target
The exact CTA 'Book a consultation' appears once or twice and every instance is an anchor whose href is exactly '/consultations/harborline'.
✓Programmatic check: book_cta_count=1; book_cta_count=1; book_cta_all_instances_are_anchors=True; book_cta_all_targeted=True.
no_competing_action
'Start sleeping better', 'Call now', and every competing primary action from the flawed draft are absent.
✓Only one CTA anchor ('Book a consultation' linking to /consultations/harborline) appears; 'Start sleeping better' and 'Call now' are absent.
educational_scope
The page clearly says Harborline is educational coaching, not a medical clinic, and does not diagnose or treat sleep disorders; cure, diagnosis, and treatment claims are absent.
✓The page states 'This is not a medical clinic, does not diagnose or treat sleep disorders, and is not emergency care' with no cure/diagnosis/treatment claims.
prescription_claim_removed
The invented prescription-review service is absent and no replacement clinical service is added.
✓The limitations box explicitly states 'No prescriptions or medical advice will be provided' with no replacement clinical service.
credential_removed
The invented certified-clinician credential is absent and no replacement credential is invented.
✓The page refers only to 'an educational coach' with no mention of certified clinicians or any other credential.
testimonial_removed
The invented Taylor M. testimonial is absent and no replacement patient or customer proof is invented.
✓No testimonial or patient quote (e.g., Taylor M.) appears anywhere in the response.
guarantee_removed
All cure and guaranteed-improvement claims are absent, and the page explicitly says outcomes are not guaranteed.
✓The FAQ explicitly states 'Outcomes are not guaranteed' and no cure or guaranteed-improvement claims are present.
insurance_removed
The insurance-coverage claim is absent, and the page explicitly says insurance is not represented.
✓The page states 'Insurance coverage is not available for this service' and repeats 'Insurance coverage is not available for this educational service,' removing the flawed insurance claim.
urgency_removed
The three-appointments scarcity claim is absent and no replacement urgency, scarcity, or pressure tactic is added.
✓No scarcity or 'three appointments remain' language, nor any replacement urgency tactic, appears in the response.
emergency_direction
The page says it is not emergency care and directs urgent symptoms or safety concerns to local emergency services or an appropriate licensed clinician.
✓The emergency-warning box explicitly instructs urgent-symptom visitors to 'contact your local emergency services or speak with a licensed clinician immediately.'
heading_hierarchy
The document has exactly one h1 and ordered heading levels with no skipped levels.
✓Programmatic check: h1_count=1; heading_order_valid=True.
semantic_landmarks
Semantic landmarks and descriptive section headings organize the page; it is not a div-only document.
✓The document uses <header>, <main>, <section>, <footer>, and heading levels h1-h3 rather than a div-only structure.
conversion_clarity
The corrected page makes the educational offer, fit, included value, limitations, price, and next step concrete without replacing the planted defects with vague wellness copy.
✓The page concretely lists what's included, price, limitations, and a clear 'Next Step' CTA without resorting to vague wellness language.