prototype
MAmattpocock/skills336k5,004 new stars in the last 7 days
Complete system for building high converting landing pages: intake questions, page structure, layout selection, conversion copywriting, SEO, plus strict visual rules for typography, spacing, corner radius, backgrounds, hero layout, icons, and motion. Use this skill whenever building, editing, styling, reviewing, or writing copy for ANY landing page, marketing site, web UI, page section, component, or prototype, even when the user does not mention design, conversion, tokens, or a design system. Always consult it before choosing page sections, headlines, CTAs, fonts, font sizes, spacing values, border radii, background colors, icons, or transitions.
A landing page is not a homepage. A homepage serves multiple intents. A landing page wins one intent:
one offer → one audience → one primary action.
This skill has two halves. Part A decides what the page says and how it is structured. Part B is the non negotiable visual system. Work through A before touching B.
Apply to all web UI work: landing pages, marketing sites, components, dashboards, prototypes, and design reviews. When a rule here conflicts with a framework default, this file wins. When the user's explicit prompt conflicts with a rule, the user wins.
Companion skill. For upgrading an existing site rather than building a new one, use redesign-existing-projects (github.com/elayadesign/redesign-skill). It diagnoses generic patterns and defers to this file for every concrete value.
Gather these before designing or writing. Ask only for what is missing, and ask in one batch rather than one question at a time.
Purpose
Audience and context
Proof and assets
Constraints
If the user cannot answer, make a reasonable assumption, state it in one line, and continue. Do not stall the build.
Above the fold (required)
Mid page (the argument) 6. Problem to solution, one section 7. Benefits, three to five, outcome driven 8. How it works, three steps 9. Social proof, testimonials or a case study
Bottom (objection handling) 10. FAQ, six to twelve questions 11. Risk reversal, trial, cancel anytime, guarantee 12. Final CTA, identical to the top
Include the mandatory tagline reveal section from B11 somewhere in the mid page argument, typically right after the hero or after benefits.
Pick one and say why.
| Type | Use when |
|---|---|
| A. Classic hero plus sections | The product is understandable from a hero screenshot. Most common. |
| B. Long form story | You need to educate and overcome skepticism. |
| C. Minimal conversion page | High intent traffic (email to known users), or a short offer like a download or waitlist. |
| D. Comparison page | Search intent includes alternatives ("X vs Y", "best for"). Usually paired with SEO pages. |
Match message to source. If traffic comes from ads, mirror the ad headline in the hero and keep the same promise and visual tone.
Make the next step obvious. One primary CTA. Never place competing CTAs above the fold.
Write benefit first. Features are what it does. Benefits are what that means for them.
Be specific.
Reduce risk. Pick at least one: free trial, free plan, no credit card, cancel anytime, money back guarantee.
Treat objections as a section, not a footnote. Move the FAQ earlier for high friction offers. Put proof directly beside the claim it supports.
Headline formulas
Subheadline. One or two sentences. Clarify what it is and who it is for.
CTA. Verb plus what they get. Never "Learn more" or "Submit". Use "Start free trial", "Book a demo", "Get the checklist".
Benefit bullets. Bold benefit, then the proof or detail. Example: Faster iteration — generate three layout variants in one click.
Note: the copy rules in B1 still apply. No hyphens inside sentences, no orphaned words.
Work section by section, in this order:
Never rebuild the whole page on each iteration. Section by section keeps control and keeps diffs reviewable.
Do not index ad only campaign pages or highly time bound offers. Use noindex or keep them behind a non indexed path.
Do index evergreen offers and pages where search intent matches the promise. Add a clear title and meta description, internal links from the homepage and feature pages, and the FAQ in plain question and answer form for AEO. Add FAQ schema if appropriate.
Every visual value must resolve through these rules instead of being invented ad hoc.
Use: Geist, Manrope, Geist Mono, Poppins.
Never use: Inter, Roboto, Arial, Open Sans, Helvetica.
Never use italic fonts anywhere in the interface.
One typeface per site. Do not pair two fonts unless the prompt explicitly asks for it. Geist Mono is allowed alongside a primary font only for code, data, or numeric UI where a monospace is functionally required.
Never use ultra bold weights (900 / black). Cap at semibold or bold.
No hyphens in text. Do not use - inside body copy, headings, or labels. Rewrite the phrase instead.
No orphaned words. A single word must never sit alone on the last line. Apply text-wrap: balance for headings and text-wrap: pretty for body copy.
Always resolve font sizes to Tailwind's default type scale. Never leave arbitrary values in place, including text-[19px], font-size: 22px, or 1.4rem.
If an existing size does not land exactly on a step, snap it to the closest step below, taking both the size and its paired line height.
| Class | Size | Line height |
|---|---|---|
text-xs | 12px (0.75rem) | 16px |
text-sm | 14px (0.875rem) | 20px |
text-base | 16px (1rem) | 24px |
text-lg | 18px (1.125rem) | 28px |
text-xl | 20px (1.25rem) | 28px |
text-2xl | 24px (1.5rem) | 32px |
text-3xl | 30px (1.875rem) | 36px |
text-4xl | 36px (2.25rem) | 40px |
text-5xl | 48px (3rem) | 1 |
text-6xl | 60px (3.75rem) | 1 |
text-7xl | 72px (4.5rem) | 1 |
text-8xl | 96px (6rem) | 1 |
text-9xl | 128px (8rem) | 1 |
Do not combine scale snapping with independently set custom line heights elsewhere in an audit. Tracking and line height may only be adjusted within the value the matched step already provides, so the two rules never fight each other.
Every piece of text uses one of these named styles. Never style text with a loose size and weight. Use the names exactly as written, including capitalization.
| Style | Scale step | Size / line height | Weight |
|---|---|---|---|
| Heading 1 | text-6xl | 60 / 60 | Semibold |
| Heading 2 | text-5xl | 48 / 48 | Semibold |
| Heading 3 | text-4xl | 36 / 40 | Semibold |
| Heading 4 | text-3xl | 30 / 36 | Semibold |
| Heading 5 | text-2xl | 24 / 32 | Semibold |
| Heading 6 | text-xl | 20 / 28 | Semibold |
| Title 1 | text-xl | 20 / 28 | Medium |
| Title 2 | text-lg | 18 / 28 | Medium |
| Title 3 | text-base | 16 / 24 | Medium |
| Title 4 | text-sm | 14 / 20 | Medium |
| Title 5 | text-xs | 12 / 16 | Medium |
| Body 1 | text-base | 16 / 24 | Semibold |
| Body 2 | text-base | 16 / 24 | Medium |
| Body 3 | text-base | 16 / 24 | Regular |
| Body 4 | text-sm | 14 / 20 | Semibold |
| Body 5 | text-sm | 14 / 20 | Medium |
| Body 6 | text-sm | 14 / 20 | Regular |
| Button-lg | text-lg | 18 / 28 | Semibold |
| Button-md | text-base | 16 / 24 | Semibold |
| Button-sm | text-sm | 14 / 20 | Semibold |
| Button-Xsm | text-xs | 12 / 16 | Semibold |
| Caption 1 | text-sm | 14 / 20 | Medium |
| Caption 2 | text-sm | 14 / 20 | Regular |
| Caption 3 | text-xs | 12 / 16 | Semibold |
| Caption 4 | text-xs | 12 / 16 | Medium |
| Caption 5 | text-xs | 12 / 16 | Regular |
How the groups work:
The sizes come from the type scale above, so a style never introduces an off scale value. If a project needs a new style, add the next number in its group (for example Body 7) built from a scale step, rather than inventing a new name.
In code, define each style once as a reusable class or token with the same name in kebab case (heading-1, body-4, button-md, caption-2) and apply that, instead of repeating size and weight utilities on every element.
Only these values. Nothing between them, nothing outside them.
| Token | Value |
|---|---|
| Spacing-0 | 0 |
| Spacing-25 | 2px |
| Spacing-50 | 4px |
| Spacing-75 | 8px |
| Spacing-100 | 12px |
| Spacing-200 | 16px |
| Spacing-300 | 24px |
| Spacing-400 | 32px |
| Spacing-500 | 40px |
| Spacing-600 | 48px |
| Spacing-700 | 64px |
| Spacing-800 | 80px |
| Spacing-900 | 96px |
Main buttons: 8px vertical padding, 12px horizontal padding.
Only use Tailwind's radius values.
Nested radius formula. When a shape sits inside another shape and the gap between them is less than 32px:
inner radius = outer radius − gap
Apply this only when the result is greater than 2. Below that, leave the inner shape square or unchanged.
Example: an outer card at rounded-2xl (16px) with 8px of internal padding gives an inner element an 8px radius (rounded-lg).
Use only these:
#000000 · #181818 · #1F1F1F · #272727 · #313131 · #131209
#FFFFFF → #9B9B9B.#000000 → #666666.This is the one place gradients are used, and only on text, never on the background.
Use: Phosphor, Solar, or Iconamoon.
Never use: Material Icons, Material Symbols.
Motion should feel weighted and decelerate into place. Never ship a browser default curve (ease, linear, ease-in-out).
Base curve: ease-[cubic-bezier(0.22,1,0.36,1)] with duration-500 for layout and position changes. Color and opacity shifts on hover may use duration-300, never shorter than 200ms.
Animate only transform and opacity. Never animate top, left, width, or height.
Respect prefers-reduced-motion: replace movement with a plain opacity change.
Resting state. A compact bar that floats off the top edge rather than sitting flush against it, centered and sized to its content. It uses a translucent surface over a background blur so page content stays faintly visible behind it. Spacing comes from B2, radius from B3.
Menu toggle. The open and close icon transforms between its two states instead of swapping instantly. Use an icon from B6 or draw the lines yourself; either way the change is animated with the base curve.
Mobile menu. Opens as a full height panel, not a small dropdown. The panel background uses the theme's base surface at high opacity with a strong blur.
Link entrance. Links inside the open menu arrive one after another in reading order, each moving up a short distance (Spacing-300, 24px) while fading in. Step each item 60ms after the previous one and cap the total sequence at 400ms so long menus never feel slow.
Sections entering the viewport rise a short distance (Spacing-400, 32px) and fade from 0 to full opacity over 600 to 800ms on the base curve. Reveal each section once; do not replay on scroll back up.
Trigger reveals with IntersectionObserver or Framer Motion's whileInView. Never attach work to an unthrottled window.addEventListener('scroll'), since it runs on every frame and drags down mobile performance.
Every piece of sample content should read like it came from a real product with real users.
{{price}} or {{testimonial}} instead of making one up.Every interactive element ships with its full state set:
scale(0.98) or translateY(1px) for physical feedbackwindow.alert().No dead links. A button pointing at # is either linked or visually disabled. The current page must be indicated in the navigation.
Things that get forgotten and make a page feel unfinished:
<title>, meta description, og:image, and social sharing tags<nav>, <main>, <article>, <aside>, <section>Every landing page includes one large type section stating the core benefit or tagline, separate from the hero. It sits further down the page as its own moment, not stacked directly under the hero.
Copy
Typography
Animation
IntersectionObserver per word, or a single scroll listener throttled through requestAnimationFrame. Never an unthrottled window.addEventListener('scroll'), per B7.prefers-reduced-motion, show the final text at full color right away, with no word by word animation.When generating a landing page from scratch, return these in order before writing code:
Then build section by section per A6.
Strategy
Visual
Content and ship
The no invented facts rule and reduced motion support for the tagline reveal were suggested by @allen-baler in #1.
Parts of this skill were adapted from taste-skill by Leon Lin (@LexnLin), MIT licensed. Its redesign audit structure, content realism checks, and motion and navigation ideas informed the matching sections here, which have since been rewritten.
MIT License
Copyright (c) 2026 Leonxlnx
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
MAmattpocock/skills336k5,004 new stars in the last 7 days
AFaffaan-m/ECC314k4,125 new stars in the last 7 days
FIfirecrawl/firecrawl214k5,821 new stars in the last 7 days
ANanthropics/skills203k3,333 new stars in the last 7 days
Set visual direction and typography for UI, avoiding templated defaults.
ANanthropics/skills203k3,333 new stars in the last 7 days
Build complex HTML artifacts with React, Tailwind CSS, state management and routing.
ANanthropics/skills203k3,333 new stars in the last 7 days