agentleFS
VelimirMuellerVelimirMueller/ai-development-skills/skills/landing/build-landing-page/SKILL.md

build-landing-page

Skill7 starsChanged 36 days agoMITView on GitHub

Use when building or restructuring a landing, marketing, or other public conversion page — checks it against a section grammar, one conversion goal, a semantic skeleton, and a hero LCP/CLS budget. Works on built HTML from any stack.

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 3 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Run the gate from ../_shared/page-types.md: must this page be findable and readable without JS?

    line 14
  2. Very specific:

    Read the page and list: which grammar sections exist, what the h1 claims, how many competing CTAs there are.

    line 29
  3. Distinctive:

    Every landing page converts toward exactly one action: sign up, buy, book, subscribe, download.

    line 36
  4. Distinctive:

    No page yet → compose from the grammar (step 5), required sections first.

    line 44
  5. Distinctive:

    All sections present → tighten against the grammar's must-haves (step 5) and the budget (step 7).

    line 46
  6. Very specific:

    No carousel, no autoplay video, no JS-gated rendering in the hero — each delays the LCP element or shifts layout.

    line 108

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Build Landing Page

A landing page has one job. This skill names it, audits which sections serve it, adds only what's missing, and holds the hero to a performance budget — because on a public page LCP and CLS are ranking and revenue, not polish.

1. Gate — is this a public page?

Run the gate from ../_shared/page-types.md: must this page be findable and readable without JS? If it's an authenticated app surface, stop — this skill doesn't apply; the skills/frontend/ catalogue owns app screens.

2. Audit current state

Work from the built/served HTML (a URL or a file from dist//build//out/):

curl -s "$URL" -o /tmp/page.html        # or cp the built file
grep -ci "<h1" /tmp/page.html                                  # exactly 1?
grep -oE "<(header|main|section|footer|nav)\b" /tmp/page.html | sort | uniq -c   # landmarks
grep -oiE "<(img|picture|video)[^>]*" /tmp/page.html | head -5                   # hero media + attrs

Read the page and list: which grammar sections exist, what the h1 claims, how many competing CTAs there are. Prerequisite check: if the main content isn't in the HTML (view-source test, ../_shared/page-types.md), fix crawlability first — ../set-up-seo/SKILL.md.

3. Name the one job

Every landing page converts toward exactly one action: sign up, buy, book, subscribe, download. Name it in one sentence ("this page exists to get a demo booked"). If nobody can, that is the first finding — no section work matters until the job is named. Every primary CTA on the page is that action; anything else is subordinate (footer, text links).

4. Decide what to do

  • No page yet → compose from the grammar (step 5), required sections first.
  • Page exists, sections missing for its goal → add only those.
  • All sections present → tighten against the grammar's must-haves (step 5) and the budget (step 7). Re-running on a conforming page changes nothing.

5. Section grammar

Walk top to bottom; details and anti-patterns in ./section-grammar.md.

SectionIts jobMust containSkip when
Herostate value + actionh1 = outcome (not product name); one primary CTA above the fold; LCP visual on budgetnever
Social proofborrow trustreal logos / named quotes / specific numbersnothing real yet — omit, don't fake
Problem → solutionmirror the painthe problem in the visitor's words, then the turnproduct self-evident (waitlist)
Features as benefitscapability → outcomeeach item leads with what the visitor getssingle-feature page
Pricingremove the price questionreal numbers or honest "from …"; one recommended tierno self-serve price
FAQanswer created objections4–8 real questions, direct answers (visible text first; schema is optional, see ../set-up-seo/structured-data.md)nothing left open
Final CTAcatch the convinced scrollerone line of value + the same primary action; no new linkssingle-screen page

6. Semantic skeleton

Landmarks and heading order are accessibility and machine-readability at once:

<header><!-- logo, minimal nav --></header>
<main>
  <section aria-labelledby="hero-h">
    <h1 id="hero-h">Outcome the visitor gets</h1>
    <p>One supporting line — the mechanism.</p>
    <a class="cta" href="#signup">The one action</a>
  </section>
  <section aria-labelledby="proof-h"><h2 id="proof-h">…</h2>…</section>
  <!-- further sections: h2 each, h3 inside, no skipped levels -->
</main>
<footer><!-- legal links: imprint/privacy — required, not optional chrome --></footer>

Exactly one h1. Every section gets a real heading — screen readers and answer engines navigate by them.

7. Hero performance budget

The hero owns LCP and most CLS risk. Core Web Vitals "good" thresholds, judged at the 75th percentile of real page loads (mobile and desktop separately): LCP ≤ 2.5 s, CLS ≤ 0.1, INP ≤ 200 ms (web.dev/articles/vitals, verified 2026-10-09). A public page with near-zero JS rarely fails INP; LCP and CLS are where it is won or lost.

<!-- the LCP image: dimensions reserve space (CLS), priority wins the network race -->
<img src="/hero.avif" alt="What the image shows" width="1200" height="800"
     fetchpriority="high" decoding="async">
<!-- a hero font: preload + swap so text is never invisible -->
<link rel="preload" href="/fonts/heading.woff2" as="font" type="font/woff2" crossorigin>
@font-face { font-family: Heading; src: url(/fonts/heading.woff2) format('woff2');
             font-display: swap; }
  • Modern format (AVIF/WebP), sized for its largest rendered width — not the original. Bare AVIF accepts a small no-support tail; wrap in <picture> with WebP/JPEG <source> fallbacks when the audience skews to older browsers.
  • width/height (or CSS aspect-ratio) on every image so nothing shifts.
  • No carousel, no autoplay video, no JS-gated rendering in the hero — each delays the LCP element or shifts layout. Scripts use defer (or type="module") and sit below the fold; a public page's JS budget starts at zero (../_shared/page-types.md).

8. Verify

curl -s "$URL" | grep -ci "<h1"          # 1
curl -s "$URL" | grep -ci "fetchpriority"   # ≥1 (the hero image)

View the page with JS disabled: full content, readable order. Run Lighthouse (mobile profile) on the deployed URL: LCP ≤ 2.5 s, CLS ≤ 0.1. Lighthouse is a lab run on one device; the pass/fail Google uses is field data (CrUX, or RUM via configure-analytics), which a new page only has after about four weeks of traffic.

References

  • ./section-grammar.md — per-section rules, anti-examples, when to deviate.
  • ./stack-pointers.md — where hero/meta wiring lives in Next, Astro, Nuxt, Vite SPA.
  • ../set-up-seo/SKILL.md — crawlability, metadata, structured data for this page.
  • ../set-up-lead-capture/SKILL.md — when the one action is a form.
  • ../../frontend/optimize-performance/SKILL.md — app-side CWV work (the other side of the priority inversion).

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.