Token导航 LogoToken导航TokenDH.com
前端设计操作浏览器github未标认证来源可访问许可证需确认审计通过

agentic-website-designAgent 网站设计

Agent Skill

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。它适合让 Agent 根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级。使用时需要结合现有品牌、设计系统和用户任务,不应只堆装饰元素;涉及真实页面改动时,应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。

总安装

461

周安装

19

GitHub Stars

3

下载量

150
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/melvinmt/skills --skill agentic-website-design

简介

用于构建生产级网站,让 Agent 完全控制代码生成与静态站点部署。

  • 适用于需要精细控制前端实现、使用 Astro 等静态生成器的项目场景。
  • 支持全代码输出、浏览器实时预览和技能增强提示,确保所见即所得。
  • 安装前建议确认仓库权限、维护状态及是否触发文件读写或命令执行。
  • agentic-website-design 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Agentic Website Design

Build production-quality websites where the AI coding agent has full control over every line of code. Use static site generators (Astro preferred) — never no-code tools like Framer or Webflow that limit LLM control.

Core Principles

  1. Full code control — The LLM generates all HTML, CSS, JS, and content. No drag-and-drop, no visual editors, no black boxes.
  2. Browser-in-the-loop — The agent MUST see what it builds. Use browser tools to screenshot and inspect the live site after every change.
  3. Skill-enhanced prompting — Delegate specialized work to dedicated skills (frontend-design, copywriting, etc.) instead of doing everything in one prompt.
  4. Relentless iteration — Never accept the first output. Set a high bar and improve repeatedly until the result is exceptional.

Stack Selection

Default: Astro

Astro is the preferred static site generator because it ships zero JS by default, supports any UI framework, and gives the LLM full template control.

npm create astro@latest my-site
cd my-site
npm run dev

Alternatives

GeneratorWhen to Use
AstroDefault choice — best DX, island architecture
Next.jsNeed SSR, API routes, or React ecosystem
NuxtVue-based projects
SvelteKitSvelte-based projects
11tySimplest possible static sites

Pick one and stick with it. The LLM must have full control over templates, styles, and content.


Browser Feedback Loop

The agent MUST visually verify every change. Without browser access, the agent is coding blind.

Setup

Cursor: Install the Browser plugin (browser-tools MCP) to give the agent access to screenshots, console logs, and network requests.

Claude Code: Use the Chrome DevTools integration to capture screenshots and inspect the DOM.

Workflow

After every meaningful change:

  1. Save files and wait for hot reload
  2. Screenshot the page — capture the full viewport
  3. Inspect the result — check layout, spacing, colors, typography
  4. Identify issues — misalignment, overflow, broken responsive, missing states
  5. Fix and re-screenshot — repeat until the section looks correct
Loop:
  Make change → Save → Screenshot → Evaluate → Fix → Screenshot
  Exit when: section meets quality bar

Never skip the screenshot step. The visual feedback loop is what separates good agentic design from broken layouts.

For browser tool setup details, see references/browser-setup.md.


Skill-Enhanced Prompting

Delegate specialized tasks to dedicated skills. This produces dramatically better results than generic prompting.

Pattern

When working on a specific aspect of the site, invoke the relevant skill explicitly:

"Use the frontend-design skill to redesign the hero section with modern layout patterns"
"Use the copywriting skill to rewrite the homepage headline and subheading"
"Use the frontend-design skill to add micro-interactions to the CTA buttons"
"Use the copywriting skill to improve the feature descriptions — make them benefit-driven"

Recommended Skills

SkillUse For
frontend-designLayout, visual hierarchy, component patterns, responsive design
copywritingHeadlines, CTAs, feature descriptions, brand voice
seoMeta tags, structured data, performance, Core Web Vitals
accessibilityARIA labels, keyboard navigation, color contrast

Composing Skills

Chain skills together for full-section work:

1. "Use the copywriting skill to write compelling copy for the pricing section"
2. "Use the frontend-design skill to design the pricing cards layout with the copy above"
3. "Now screenshot and let's iterate on the visual design"

Iterative Improvement Workflow

This is the most important section. The difference between mediocre and exceptional output is iteration count.

The Improvement Loop

Task Progress:
- [ ] Step 1: Generate initial version
- [ ] Step 2: Screenshot and evaluate
- [ ] Step 3: Identify the weakest element
- [ ] Step 4: Improve that element specifically
- [ ] Step 5: Screenshot and compare
- [ ] Step 6: Repeat steps 3-5 at least 3 more times
- [ ] Step 7: Final polish pass

Setting a High Bar

After every change, ask:

  • "Now improve what you just did"
  • "Make the animations smoother and more intentional"
  • "This is good, but push it further — what would a top design agency do differently?"
  • "Add subtle micro-interactions that make this feel premium"
  • "The spacing feels off — tighten it up and make it breathe properly"

Never settle on the first version. Always push for at least 3 rounds of improvement on each section.

Section-by-Section Approach

Work on one section at a time, fully polishing it before moving on:

  1. Hero — Most important. Spend the most time here. Nail the headline, visual, and CTA.
  2. Social proof — Logos, testimonials, metrics. Make it feel credible.
  3. Features — Clear, benefit-driven, with supporting visuals or icons.
  4. Pricing — Clean comparison, obvious recommended tier.
  5. Footer — Professional, complete, well-organized.

For each section: generate → screenshot → critique → improve → screenshot → critique → improve → move on.


Animations & Micro-Interactions

Animations are what separate a flat page from a polished product. Always add them.

Must-Have Animations

ElementAnimation
Hero headlineFade-in + slight upward slide on load
CTA buttonsHover scale + color transition
Feature cardsScroll-triggered fade-in with stagger
NavigationSmooth scroll, sticky header with backdrop blur
Page transitionsSubtle fade between routes
ImagesLazy load with fade-in

Implementation

Use CSS animations and IntersectionObserver for scroll-triggered effects. Avoid heavy JS animation libraries unless needed.

/* Scroll-triggered fade-in */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

For Astro-specific animation patterns, see references/animations.md.

Demanding Quality

After adding animations:

  • "The easing feels linear — use a custom cubic-bezier for more natural motion"
  • "Stagger the feature cards so they animate in sequence, not all at once"
  • "Add a subtle parallax effect to the hero background"
  • "The hover states need more personality — try a slight rotation or shadow lift"

Responsive Design

Every page MUST work on mobile, tablet, and desktop. Screenshot at all breakpoints.

Breakpoint Checklist

- [ ] Mobile (375px) — single column, touch-friendly targets
- [ ] Tablet (768px) — adapted grid, readable line lengths
- [ ] Desktop (1280px) — full layout, max-width containers
- [ ] Wide (1536px+) — content doesn't stretch awkwardly

After building each section, screenshot at mobile and desktop minimum. Fix layout issues before moving on.


Project Structure (Astro)

my-site/
├── src/
│   ├── layouts/
│   │   └── Layout.astro          # Base HTML shell
│   ├── components/
│   │   ├── Hero.astro
│   │   ├── Features.astro
│   │   ├── Pricing.astro
│   │   └── Footer.astro
│   ├── pages/
│   │   └── index.astro
│   └── styles/
│       └── global.css
├── public/
│   └── fonts/
├── astro.config.mjs
└── package.json

Use component-per-section architecture. Each section is its own .astro file for clean iteration.


Quality Checklist

Before considering a page done:

Visual Quality:
- [ ] Every section screenshotted and reviewed at mobile + desktop
- [ ] Typography hierarchy is clear (max 2-3 font sizes per section)
- [ ] Color palette is consistent (3-5 colors max)
- [ ] Whitespace is generous and intentional
- [ ] Images are optimized and properly sized

Animations:
- [ ] Hero has entry animation
- [ ] Scroll-triggered animations on content sections
- [ ] Hover states on all interactive elements
- [ ] No janky or stuttering animations
- [ ] Animations respect prefers-reduced-motion

Content:
- [ ] Headlines are benefit-driven, not feature-driven
- [ ] CTAs are clear and compelling
- [ ] No lorem ipsum or placeholder content
- [ ] Copy reviewed with copywriting skill

Technical:
- [ ] Lighthouse score 90+ on all categories
- [ ] Responsive at all breakpoints
- [ ] Semantic HTML throughout
- [ ] Accessible (keyboard nav, ARIA labels, contrast)
- [ ] Fast load time (minimal JS, optimized assets)

Additional Resources

  • Browser Setup — Cursor Browser plugin and Claude Code Chrome integration
  • Animations — Astro animation patterns, scroll effects, and micro-interactions
  • Prompting Patterns — Example prompts for each design phase

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

33.11%
按下载量换算50

Claude

31.62%
按下载量换算47

Cursor

18.98%
按下载量换算28

Gemini CLI

8.15%
按下载量换算12

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills