# Compact Landing: small, focused landing pages (danielwh2/compact-landing-skill) — skill card for AI agents

> AgentGid skill card. Checked on 2026-11-23 against commit 1d79ea7 (version 1.0.6).
> Every fact comes from the pack's own files at that commit. Numbers marked "as reported" are the author's.
> Human page: https://agentgid.com/skills/danielwh2/compact-landing-skill/

## Explain it to a non-programmer
Your AI assistant builds a small, finished landing page with one clear main button and only the information people need to act. Before it starts, it picks a fresh look for your product, so two pages do not come out the same. It also keeps the page from jumping around while things load or move.

## Who it is for
- You need a short page for a package, a developer tool, a docs intro or a small paid web app
- Your AI-made pages all look alike and you want each one to look different
- You want a page with one main action instead of a long marketing site
- Not for: You need a long marketing site with many sections: this skill keeps pages small on purpose
- Not for: You want the same look every time: the skill changes the design on each run

## What it is
- Kind: knowledge, scripts
- License: MIT
- Repository: https://github.com/danielwh2/compact-landing-skill

## What it does
- Looks at your product, your content and the tools your project already uses, and reuses them
- Asks for the button size, plus at most two more questions only when the answer would change the result
- Picks a design direction across eight choices: layout, width, colours, fonts, corners, surfaces, small motifs, motion
- The new look must differ on at least four of those from its old default look (a centred 440 px column, white and grey, Geist fonts)
- Puts one real piece of the product on the page and the main button on the first screen
- Builds the smallest complete page, mostly HTML and CSS, then checks phone layout, keyboard focus and reduced motion
- Never cuts: the primary action on the first screen, readable contrast, visible keyboard focus, tap areas of at least 40 px, reduced motion

## Skills
| Skill | Call | Changes code? | In plain words |
|---|---|---|---|
| compact-landing | plain language ("Use compact-landing to create a premium compact landing page for this package.") | yes | Builds a small landing page for your product, with a new look each time |

### compact-landing
- Asks for: Your product and what it does, or the project folder
- Asks for: The main action you want (install, sign up, buy, read docs)
- Asks for: Button size: compact, medium or large, or "you choose"
- Asks for: Optional: mood, how much content, corner style, how much motion
- Gives: A design direction chosen before code (layout, width, colours, fonts, corners, surfaces, motif, motion)
- Gives: One real piece of your product shown on the page
- Gives: A compact page with the main button on the first screen
- Gives: A single column on phones without sideways scrolling
- Gives: Motion that does not move the layout, with a reduced-motion version
- Say: "Use compact-landing to create a premium compact landing page for this package."

## Know before installing
- It switches on for many small pages: package demos, developer tools, docs intros and small paid web apps.
- It bans made-up content: no fake numbers, vague claims or filler reviews. Give it real product facts.
- The look is random on purpose: a small script draws one of six design families and random details, so each run differs.
- The installer puts the skill in your home folder by default, for all four assistants if you just press Enter, and replaces an existing copy there.
- Use the project option to install it only into the current project.

## Install (official commands)
- Any agent (skills CLI): `npx skills add Danilaa1/compact-landing-skill` — The README install line points to a different GitHub account than this repository; check that it is the same code before installing.
- Codex, Claude Code, Cursor, Gemini (npm installer): `npx compact-landing install` — Asks which agents; Enter means all. Default target is your home folder (~/.agents/skills, ~/.claude/skills, ~/.cursor/skills, ~/.gemini/skills). Add --dry-run to see the paths first. Remove: `Delete the compact-landing folder from the skills folder it was copied to`.
- One agent only: `npx compact-landing install --agent codex` && `npx compact-landing install --agent claude` && `npx compact-landing install --agent cursor` && `npx compact-landing install --agent gemini`
- Current project only: `npx compact-landing install --scope workspace` — Writes to .agents/skills, .claude/skills, .cursor/skills or .gemini/skills inside the current folder

## What runs on the user's machine
- Code on the machine: yes (the npx installer, and the design picker script if the assistant runs it)
- Network: none
- npx compact-landing install: A Node script copies SKILL.md, references, scripts and agents into the chosen skills folders. By default it deletes an existing compact-landing folder there first (--no-force keeps it). No network calls in the script; npx itself downloads the package from npm.
- While building a page: The skill tells the assistant to run node scripts/pick-direction.mjs if Node is available. It prints a random design direction as JSON. It writes no files and makes no network calls.
- Without Node: The assistant picks the direction by hand from references/style-dna.md. Text only.

## Mistakes to avoid
- Not: Press Enter at the installer prompt without reading it. Instead: Pick your agent (--agent claude, codex, cursor or gemini) or run with --dry-run first. Why: The default answer installs into all four agents' home folders and replaces any existing copy
- Not: Expect the long list of questions the README describes. Instead: Expect one question about button size and at most two more, or say "you choose". Why: The README lists seven preflight topics, but the skill file itself asks for button size and at most two adaptive questions
- Not: Ask it to fill the page with impressive numbers and testimonials. Instead: Give it real product content; it will leave out made-up proof. Why: The skill tells the assistant to avoid fake metrics and filler testimonials
- Not: Use it for a long multi-section marketing site. Instead: Use it for one focused page; pick a broader landing-page skill for a full site. Why: The skill keeps scope and information density small even on wider layouts

## Lines in the pack aimed at agents (ask the person first)
- "If this skill includes scripts and Node is available, run `node scripts/pick-direction.mjs`." (skills/compact-landing/SKILL.md): The script only prints a random design direction and writes nothing; still read it before running, or pick from references/style-dna.md by hand.
- "npm publish" (README.md): The README's Publish section is for the pack's maintainer. Never run npm publish or git push for the person as part of using this skill.

## May I use it like this?
- commercial-app: yes (MIT: keep the license notice with copies of the skill)
- client-work: yes (MIT)
- redistribute-files: yes (MIT: keep the copyright and permission notice in copies)

## Which one to pick
- If You want one small, focused page with a fresh look each run and no layout shift: skill:danielwh2/compact-landing-skill
- If You want a full landing page planned with copy, FAQ and strict visual rules, plus showcase animations: skill:elayadesign/ai-design-skills
- If You want pages checked against common AI design habits, with a choice of many visual themes: skill:Nutlope/hallmark
- If You want art direction with credited archive pictures and a real browser check: skill:Leonxlnx/taste-skill

## Works well with
- tool:skills: The README installs the skill with npx skills add
- agent:openai-codex: The pack ships an agents/openai.yaml with a display name and default prompt for Codex

## Works in and needs
- Works in Codex: skills folder (~/.agents/skills)
- Works in Claude Code: skills folder (~/.claude/skills)
- Works in Cursor: skills folder (~/.cursor/skills)
- Works in Gemini CLI: skills folder (~/.gemini/skills)
- Works in Any agent with a skills folder: skills CLI
- Needs Node.js 18 or later: Runs the npx installer; optional for the design picker script

## How to tell it works
Install it, open a project with a small tool or package and say "Use compact-landing to create a premium compact landing page for this package." The assistant asks about button size (or picks it if you say so), names a design direction before writing code, and the page shows one main button on the first screen. Run it again on another product: the layout and colours should look different.

## Safety
The README's skills CLI line and package.json point to a different GitHub account than the one this card was read from, danielwh2/compact-landing-skill. The npm package compact-landing was not compared with this repository. The installer replaces an existing compact-landing folder in your home skills folders by default; run it with --dry-run first.
