Agent skill Landing pages
Compact Landing
Build a concise landing page with a prominent hero and a small number of supporting sections.
Install the skill
Run the command from your project root with Node.js and npm.
npx skills@latest add Danilaa1/compact-landing-skill --skill compact-landing --agent claude-code --yesCheck this file in your project.claude/skills/compact-landing/SKILL.md
Other ways to install
Choose an assistant interactively
npx skills@latest add Danilaa1/compact-landing-skill --skill compact-landingSelect your assistant and choose the project installation scope.
Official instructions
The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. Bring an existing frontend project, a real product sample and the main action. Node.js is needed for the bundled direction picker.
View operation manualWhat this skill helps with
- Build a concise landing page with a prominent hero and a small number of supporting sections.
Good for
- Marketing websites
- Design choices
- Composition, measure, palette, type, geometry, surfaces, motif and motion.
- Picker
- scripts/pick-direction.mjs outputs a direction as JSON.
- Product proof
- One genuine demo, sample output, useful control or miniature workflow.
- Acceptance
- A working first-view action with stable, readable narrow and wide layouts.
- Skill name
compact-landing- Repository
Danilaa1/compact-landing-skill
Give the first screen a reason to exist
A style request alone
Use compact-landing to make a minimal website.
The assistant has no product-specific artifact or user action from which to choose a useful shape and hierarchy.
A compact brief
- State the product, audience and primary action.
- Share one real artifact visitors can inspect.
- Review a visual fingerprint before implementation.
Compact Landing operation manual
Use one real product sample to create a focused page with a clear action and check the result with the project’s existing workflow.
Prepare a sample, the destination of the main action and the route you want to change.
Choose a layout around the product sample
The Skill starts by choosing button size and a visual fingerprint.
Prompt · Step 1Use compact-landing for [Product name] in [Project directory]. The audience is [Audience], the action is [Action and destination], and the proof is [Real sample or demo]. Use [Compact, medium or large] buttons. Read references/style-dna.md and, if available, run node "[Installed Skill directory]/scripts/pick-direction.mjs" using its actual path. Adapt the proposed fingerprint to this product. Show me the layout, palette, type treatment and the first-screen placement of the sample and action. Wait for approval before editing.Implement the smallest complete page
The primary action should sit alongside an artifact that shows what the product can do.
- The primary action reaches the intended destination.
- The sample demonstrates a real capability.
Prompt · Step 2Implement the approved compact-landing fingerprint at [Route]. Put [Primary call to action] in the first viewport and use [Real product sample] as the example. Reserve dimensions for changing media and copy, and preserve true status labels and accessible focus. Reuse existing styles and dependencies. Open the local preview and show where to find the sample and action.Test narrow layouts and changing states
Check the rendered first screen and exercise the real button through the states it supports.
- The narrow layout has no horizontal overflow.
- Focus is clear and the primary action works.
- Changing content does not shift nearby elements.
Prompt · Step 3Verify [Route] at [Narrow and wide viewports] and with reduced motion. Use Tab and activate [Primary action]. Check any copied, loading or success state supported by the page and confirm the page does not move when labels or assets change. Run [Existing project checks]. Report actual results and fix regressions limited to this landing page.
Look up a specific compact-page decision
Use the publisher’s notes to resolve one choice at a time.
Choose a new directionPicker
- Command or reference
scripts/pick-direction.mjs- Examples
- Use its output as a starting point and match the decisions to the product artifact.
The button changes width when it shows CopiedStable width
- Command or reference
Zero-Shift Motion- Examples
- Reserve space for both labels and use the same outer button geometry.
Troubleshooting and FAQ
What if the picker is missing?
The publisher documents a manual fallback using references/style-dna.md. Record the chosen fingerprint before writing code.
What can I show as product proof?
Use real output, a small demo, a readable sample or an interaction that teaches the visitor what the product does.