用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tangle-network/skills --skill site-clone命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Adopt agent-eval: run the real agent, capture records, calibrate cases, and control promotion.
Integrate or audit Tangle runtime, evaluation, knowledge, profiles, and candidate activation.
Build or migrate an agent product with agent-app modules, billing, integrations, and evals.
基于 SOC 职业分类
正在显示 SKILL.md
| name | site-clone |
| description | Migrate a site to Astro, Next.js, or Vite using real DOM, styles, assets, and browser checks. |
You are performing a complete website migration. The goal is a 1:1 reproduction that is indistinguishable from the original. "Close enough" is not acceptable — use the actual CSS values, actual fonts, actual assets, and actual DOM structure from the source site.
The user will provide:
If not specified, default to Astro + Tailwind + Cloudflare Pages (static, zero-cost).
Run ALL of these simultaneously:
Write and execute a Playwright script that for EVERY page:
<link rel="stylesheet"> URLs and downloads them<style> blocksEither via the rip script or separately:
Parse the downloaded CSS to extract:
:root CSS custom properties — these define the themeIf the source is Webflow/Squarespace/WordPress, ask the user to export assets from the platform dashboard. These are higher quality than ripped versions.
Review the ripped data and create a mental model:
:root or body CSS, not from eyeballing screenshots.public/images/ (use original filenames)public/fonts/@font-face declarations using the ACTUAL font names from the CSSTHIS IS THE CRITICAL STEP. Do NOT approximate. Do NOT use "similar" Tailwind classes.
wf- (or similar) to namespace them@media queriesThe CSS should be a faithful translation of the original — same values, same structure, same selectors — just cleaned up and organized.
For each page:
public/images/Take screenshots of the built pages and compare against the originals side-by-side. Fix any discrepancies.
| 50% (Walmart ripoff) | 95% (Pixel-perfect) |
|---|---|
| Guess the font from screenshots | Extract actual font from CSS/font files |
| Eyeball colors | Use exact hex from :root variables |
| Invent your own layout | Mirror the actual DOM structure |
| Use placeholder images | Use original assets |
| Approximate spacing with Tailwind | Use exact px/rem values from CSS |
| Skip animations | Replicate transitions and keyframes |
| Generic border-radius | Exact border-radius per element |
#1f1d2b vs #0b0b1e looks "close" but feels completely differentborder: 1px solid #211a41 on sections20px 38px vs 12px 24px changes the entire feelopacity: 0.6 vs full white is a huge difference-0.02em on nav links is subtle but contributes to feel95vh vs 100vh vs arbitrary padding changes the impact/site-clone https://example.com
/site-clone https://example.com --framework nextjs --host vercel