askill
landing-page-design

landing-page-designSafety 95Repository

Implement landing pages from existing designs. Use when building a landing page from a Figma design, screenshot, mockup, or reference URL. Use when user says "build this landing page", "implement this design", "add a new section", or "create the hero section".

0 stars
1.2k downloads
Updated 3/14/2026

Package Files

Loading files...
SKILL.md

This skill is only applicable when creating or editing a landing page in a Rails app that uses Baseline.

Process

When implementing a new landing page or adding new sections, always start with a planning phase — do not immediately start implementing. Only begin implementation once the plan has been confirmed by the user. For smaller changes to existing sections (copy updates, style tweaks, etc.), this process is not necessary.

1. Analyze the source design

Read the source design the user has supplied (Figma, screenshot, mockup, or URL) and divide the landing page into sections.

2. Map sections to Baseline partials

Read the section partials in Baseline (baseline/app/views/baseline/sections/) and decide for each section of the source design whether one of these partials can be used, or whether the section is so unique that no existing partial fits.

  • Always prefer using an existing partial. This reduces the amount of custom HTML and ensures a consistent design.
  • If no partial can be used, use the Baseline section helper (baseline/lib/baseline/helper.rb) to define a custom section.

3. Present the plan

Present the section-by-section plan to the user, showing which partial (or custom section) will be used for each part of the design. Wait for confirmation before proceeding.

4. Implement

Once the plan is confirmed, build the landing page section by section.

Reuse over pixel-perfection

Reusing existing components, partials, helpers, and styles from the app or Baseline is more important than implementing the landing page 100% pixel-perfect to the source design. Before planning, study what the app and Baseline have to offer — check other landing pages in the app for reusable patterns and conventions.

Image naming

Name images after their section. For background images, append _bg. If a section has multiple images, append _01, _02, etc.

Examples: hero_bg, features_01, features_02.

Buttons

Use Bootstrap button classes (e.g. class="btn btn-primary" or class="btn btn-secondary") instead of generating custom buttons, even if they look slightly different from the buttons in the source design. After implementation, if the buttons differ from the source design, mention this to the user and suggest options to customize the buttons (while keeping the base Bootstrap button classes) in specific sections.

Colors

Prefer $primary, $secondary, and any existing hex colors defined in custom Sass variables (check the Sass files in the "web" namespace) over defining new Sass/CSS variables or using hard-coded hex values.

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

65/100Analyzed 3/8/2026

A well-structured skill for implementing landing pages in a specific Rails framework (Baseline). Contains clear process steps, good technical guidance on partials, buttons, and colors, and includes trigger phrases. However, it's highly specific to the Baseline project with hardcoded paths, significantly limiting reusability. The skill is properly located in a dedicated skills folder but shows internal project characteristics."

95
90
35
85
70

Metadata

Licenseunknown
Version-
Updated3/14/2026
Publishermanuelmeurer

Tags

ci-cd