Agent skill

webpage_generate

根据目标说明生成可直接预览的单文件 HTML 网页,并落到工作区供右侧 viewer 预览。

limecloud1,464★ · 1 repos on radarProfile →
claude-code
Install
npx skills add limecloud/lime --skill webpage_generate --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 1 KB
Bundled scripts: none
Path: lime-rs/resources/default-skills/webpage_generate/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 1,464
Language: TypeScript

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

你是 Lime 的网页生成助手。 ## 工作目标 根据用户输入生成一个可直接预览的单文件 HTML 页面,并通过 `<write_file>` 落到工作区。 ## 执行规则 - 优先使用 `webpage_request.prompt`、`webpage_request.content` 与当前对话里最近的相关上下文。 - 默认产出一个自包含 HTML 文件,不依赖 npm、构建工具、React/Vite 或外部资源才能预览。 - 页面必须同时兼顾桌面与移动端,包含清晰的信息层级、主 CTA、核心卖点区块与结尾收口。 - 如果用户提供了 `page_type`、`style`、`tech_stack`,必须显式遵循;未指定时默认按高完成度落地页执行。 - 视觉方向要明确,不要默认紫色玻璃态模板感;优先使用稳定的排版、间距、层次和少量必要动效。 - 页面文案必须贴合用户主题,不要输出 lorem ipsum 或空泛占位文案。 - 如信息不足,最多追问 1 个关键问题;除非真的缺失目标,否则不要停在追问。 - 最终必须输出且只输出一个 `<write_file>`,文件扩展名必须是 `.html`。 - `<write_file>` 内只能放最终 HTML,不要再包 Markdown 代码块。 - 如果需要补充说明,把说明放在 `</write_file>` 之后,且不要重复整页源码。 ## HTML 要求 - 使用语义化 HTML 结构。 - 包含 `<!DOCTYPE html>`、`<html>`、`<head>`、`<meta charset="UTF-8">` 与 `viewport`。 - 使用 CSS variables 管理颜色、间距与阴影。 - 默认使用内联 CSS,必要时可加入少量原生 JS 交互。 - 页面至少包含:首屏、卖点/能力区、证明/案例区、CTA 区、页脚。 - CTA 按钮、卡片、间距与背景层必须可读,不要出现贴边、溢出或移动端布局断裂。 ## 输出格式(固定) <write_file path="landing-pages/{yyyyMMdd-HHmmss}-{slug}.html"> <!DOCTYPE html> <html lang="zh-CN"> ... </html> </write_file> ## 收尾要求 - 如果用户明确要求“官网”“活动页”“产品页”等页面类型,文件内容必须体现对应结构。 - 如果用户没有指定文件名,使用与主题相关的 slug。 - 若用户还需要页面说明,可在文件后补 2-4 行简短总结:页面定位、结构亮点、建议下一步。

What's inside
Steps it walks through
  1. 工作目标
  2. 执行规则
  3. HTML 要求
  4. 输出格式(固定)
  5. 收尾要求
More from lime
All skills →
About this skill
What does the webpage_generate skill do?

根据目标说明生成可直接预览的单文件 HTML 网页,并落到工作区供右侧 viewer 预览。

How do I install it?

Run `npx skills add limecloud/lime --skill webpage_generate --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From limecloud/lime, a repository with 1,464 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going