Token导航 LogoToken导航

Agent Skill · 前端设计

agentic-website-design(Agent 网站设计)

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

agentic-website-design 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为操作浏览器;许可证信息还不明确,第三方扫描已通过,按安装量在前端设计类的 10,216 个 Skill 里排第 6,766。

总安装 461周安装 19GitHub Stars 3下载 150核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 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

这个 Skill 是做什么的

前端设计类 Skill 关注页面结构、视觉规范和组件写法,输出通常是可运行的界面代码。

用于构建生产级网站,让 Agent 完全控制代码生成与静态站点部署。适用于需要精细控制前端实现、使用 Astro 等静态生成器的项目场景。支持全代码输出、浏览器实时预览和技能增强提示,确保所见即所得。安装前建议确认仓库权限、维护状态及是否触发文件读写或命令执行。

agentic-website-design 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/agentic-website-design

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/melvinmt/skills --skill agentic-website-design;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

agentic-website-design 怎么安装?

在终端执行 npx skills add https://github.com/melvinmt/skills --skill agentic-website-design。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

agentic-website-design 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

agentic-website-design 需要什么权限?

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

agentic-website-design 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

agentic-website-design 用的人多吗?

公开数据是累计安装 461 次,近一周安装 19 次,下载 150 次,GitHub 3 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

agentic-website-design 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理前端设计类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

前端设计类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
frontend-design

前端设计 · Codex、Claude

8,823,360126,072只读MIT通过
vercel-composition-patterns

Vercel 组合模式 · Codex、Claude

3,858,81625,893需要联网MIT通过
vercel-react-native-skills

Vercel React native skills 前端 · Codex、Claude

2,468,66425,878只读MIT通过
adapt

adapt 搜索 · Codex、Claude

2,027,04023,125操作浏览器未明确通过
bolder

bolder 分析 · Codex、Claude

2,004,28823,130只读未明确通过
agentic-website-design

Agent 网站设计 · 本页

4613操作浏览器未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

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

平台分布

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