Token导航 LogoToken导航TokenDH.com
前端设计只读github未标认证来源可访问clear审计通过

landing-page-guide登陆页面指南

Agent Skill

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。它适合让 Agent 生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。

总安装

1,236

周安装

50

GitHub Stars

836

下载量

388
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:landing-page-guide(登陆页面指南)
来源仓库:https://github.com/bear2u/my-skills
仓库路径:skills/landing-page-guide
安装命令:
npx skills add https://github.com/bear2u/my-skills --skill landing-page-guide
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/bear2u/my-skills --skill landing-page-guide

简介

landing-page-guide 用于辅助前端页面、组件、样式和交互逻辑的开发与维护。

  • 它适合让 Agent 生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。
  • 使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。
  • 当前顶部介绍为空,需参考原始 SKILL.md 补充细节。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Landing Page Guide

Overview

This skill enables creation of professional, high-converting landing pages following the 11 essential elements framework from DESIGNNAS. It provides complete implementation patterns for Next.js 14+ and React with ShadCN UI integration, ensuring every landing page includes proper SEO optimization, accessibility standards, and conversion-focused design.

When to Use This Skill

Use this skill when users request:

  • Creation of landing pages, marketing pages, or product pages
  • Next.js or React-based promotional websites
  • Pages that need to convert visitors into customers
  • Professional marketing pages with SEO optimization
  • Landing pages following industry best practices

The 11 Essential Elements Framework

Every effective landing page must include these 11 essential elements. These are based on DESIGNNAS's proven framework for high-converting landing pages:

  1. URL with Keywords - SEO-optimized, descriptive URL structure
  2. Company Logo - Brand identity placed prominently (top-left)
  3. SEO-Optimized Title and Subtitle - Clear value proposition with keywords
  4. Primary CTA - Main call-to-action button in hero section
  5. Social Proof - Reviews, ratings, user statistics
  6. Images or Videos - Visual demonstration of product/service
  7. Core Benefits/Features - 3-6 key advantages with icons
  8. Customer Testimonials - 4-6 authentic reviews with photos
  9. FAQ Section - 5-10 common questions with accordion UI
  10. Final CTA - Bottom call-to-action for second chance conversion
  11. Contact Information/Legal Pages - Footer with complete information

Critical: All 11 elements must be included in every landing page. No exceptions.

For detailed explanations of each element, refer to references/11-essential-elements.md.

Technology Stack Requirements

When creating landing pages, always use:

Required Technologies

  • Next.js 14+ with App Router
  • TypeScript for type safety
  • Tailwind CSS for styling
  • ShadCN UI for all UI components

ShadCN UI Components to Install

Before creating any landing page, ensure these components are installed:

npx shadcn-ui@latest add button
npx shadcn-ui@latest add card
npx shadcn-ui@latest add accordion
npx shadcn-ui@latest add badge
npx shadcn-ui@latest add avatar
npx shadcn-ui@latest add separator
npx shadcn-ui@latest add input

Why ShadCN UI?

  • Accessibility: WCAG-compliant components
  • Customizable: Fully customizable with Tailwind CSS
  • Type-safe: Written in TypeScript
  • Performance: Copy only what you need, minimal bundle size
  • Consistency: Built-in design system

Project Structure

Create landing pages with this structure:

landing-page/
├── app/
│   ├── layout.tsx          # Root layout with metadata
│   ├── page.tsx            # Main landing page
│   └── globals.css         # Global styles
├── components/
│   ├── Header.tsx          # Logo & Navigation (Element 2)
│   ├── Hero.tsx            # Title, CTA, Social Proof (Elements 3-5)
│   ├── MediaSection.tsx    # Images/Videos (Element 6)
│   ├── Benefits.tsx        # Core Benefits (Element 7)
│   ├── Testimonials.tsx    # Customer Reviews (Element 8)
│   ├── FAQ.tsx             # FAQ Accordion (Element 9)
│   ├── FinalCTA.tsx        # Bottom CTA (Element 10)
│   └── Footer.tsx          # Contact & Legal (Element 11)
├── public/
│   └── images/             # Optimized images
└── package.json

Implementation Workflow

Step 1: Setup Metadata (SEO)

Always start with proper SEO metadata in layout.tsx or page.tsx:

import type { Metadata } from 'next'

export const metadata: Metadata = {
  title: 'SEO Optimized Title with Keywords | Brand Name',
  description: 'Compelling description with main keywords',
  keywords: ['keyword1', 'keyword2', 'keyword3'],
  openGraph: {
    title: 'OG Title',
    description: 'OG Description',
    images: ['/og-image.jpg'],
  },
}

Step 2: Create Component Structure

Build components in this order to ensure proper flow:

  1. Header with logo (Element 2)
  2. Hero section with title, subtitle, primary CTA, and social proof (Elements 3-5)
  3. MediaSection with product images/videos (Element 6)
  4. Benefits section with 3-6 feature cards (Element 7)
  5. Testimonials with customer reviews (Element 8)
  6. FAQ with accordion (Element 9)
  7. FinalCTA at bottom (Element 10)
  8. Footer with contact and legal links (Element 11)

Step 3: Use ShadCN UI Components

Map each section to appropriate ShadCN components:

  • Hero CTA: Use Button component with size="lg"
  • Benefits: Use Card, CardHeader, CardTitle, CardContent
  • Testimonials: Use Card, Avatar, Badge
  • FAQ: Use Accordion, AccordionItem, AccordionTrigger, AccordionContent
  • Final CTA: Use Button and Card
  • Footer: Use Separator, Input for newsletter

Step 4: Implement Responsive Design

Ensure mobile-first responsive design:

  • Use Tailwind responsive prefixes: sm:, md:, lg:, xl:
  • Test all breakpoints: 640px (sm), 768px (md), 1024px (lg), 1280px (xl)
  • Minimum touch target size: 44x44px for buttons
  • Base font size: minimum 16px on mobile

Step 5: Optimize Performance

  • Use Next.js Image component for all images
  • Add priority prop to above-the-fold images
  • Implement lazy loading for below-the-fold content
  • Use dynamic imports for heavy components if needed

Step 6: Ensure Accessibility

  • Use semantic HTML5 elements (<header>, <main>, <section>, <footer>)
  • Add ARIA labels where needed
  • Ensure keyboard navigation works
  • Provide alt text for all images
  • Maintain sufficient color contrast (WCAG AA minimum)

Component Examples

For complete, production-ready component implementations using ShadCN UI, refer to references/component-examples.md.

This reference file includes:

  • Hero section with Button, Badge, and Image optimization
  • Benefits section with Card components
  • Testimonials with Avatar and Card
  • FAQ with Accordion
  • Final CTA with Card and Button
  • Footer with Separator and links

Load this reference when implementing components to follow best practices.

Validation Checklist

Before completing any landing page, verify:

11 Essential Elements:

  • 1. URL with keywords
  • 2. Company logo (top-left)
  • 3. SEO-optimized title and subtitle
  • 4. Primary CTA in hero
  • 5. Social proof (reviews, stats)
  • 6. Images or videos
  • 7. Benefits/features section (3-6 items)
  • 8. Customer testimonials (4-6 items)
  • 9. FAQ section (5-10 questions)
  • 10. Final CTA at bottom
  • 11. Footer with contact and legal links

Technical Requirements:

  • Next.js 14+ with App Router
  • TypeScript types defined
  • Tailwind CSS styling
  • ShadCN UI components used
  • Metadata configured for SEO
  • Images optimized with Next.js Image
  • Responsive design implemented
  • Accessibility standards met
  • Performance optimized

Best Practices

Content Guidelines

  • Write clear, benefit-focused copy
  • Use action-oriented language in CTAs
  • Keep sections scannable with proper headings
  • Include specific numbers and statistics
  • Use authentic testimonials with real names

Design Guidelines

  • Maintain visual hierarchy throughout
  • Use consistent color palette
  • Ensure adequate whitespace
  • Choose readable fonts (16px+ base size)
  • Design for mobile-first

SEO Optimization

  • Include keywords naturally in content
  • Use proper heading tag structure (H1 → H2 → H3)
  • Add alt text to all images
  • Optimize page load speed
  • Create descriptive meta tags

Conversion Optimization

  • Place CTAs strategically (hero + bottom minimum)
  • Reduce friction in user journey
  • Highlight trust signals prominently
  • Use contrasting colors for CTAs
  • Test different CTA copy variations

Common Patterns

SaaS Product Landing Page

Focus on: Free trial CTA, feature comparisons, pricing clarity, security badges

E-commerce Product Landing Page

Focus on: Product images, pricing, shipping info, return policy, urgency

Service/Agency Landing Page

Focus on: Portfolio/case studies, process explanation, team credentials, contact form

Event/Webinar Landing Page

Focus on: Date/time prominence, speaker profiles, agenda, registration form, countdown timer

Resources

references/

This skill includes detailed reference documentation:

  • 11-essential-elements.md - In-depth explanation of each of the 11 essential elements with principles, implementation tips, and examples
  • component-examples.md - Complete, production-ready component code using ShadCN UI for all major sections

Load these references as needed when implementing specific sections or when you need detailed guidance on any element.

Notes

  • This framework is based on DESIGNNAS's "11 Essential Landing Page Elements"
  • Adapt to brand guidelines and target audience as needed
  • Use A/B testing to continuously improve conversion rates
  • All implementations should prioritize user experience and conversion optimization

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

32.38%
按下载量换算126

OpenCode

23.25%
按下载量换算90

Cursor

17.06%
按下载量换算66

Antigravity

12.79%
按下载量换算50

Gemini CLI

7.43%
按下载量换算29

windsurf

3.32%
按下载量换算13

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills