Agent SkillsAutomattic/studio › liberate

liberate

GitHub

将Wix、Shopify等封闭平台网站迁移至Studio WordPress。通过调用数据解放引擎,提取内容并重构为可编辑区块或高保真主题,实现无缝导入与设计重建。

apps/cli/ai/skills/liberate/SKILL.md Automattic/studio

Trigger Scenarios

用户希望从Wix、Squarespace等平台迁移网站 用户需要导入和重建封闭平台的网站

Install

npx skills add Automattic/studio --skill liberate -g -y
More Options

Non-standard path

npx skills add https://github.com/Automattic/studio/tree/trunk/apps/cli/ai/skills/liberate -g -y

Use without installing

npx skills use Automattic/studio@liberate

指定 Agent (Claude Code)

npx skills add Automattic/studio --skill liberate -a claude-code -g -y

安装 repo 全部 skill

npx skills add Automattic/studio --all -g -y

预览 repo 内 skill

npx skills add Automattic/studio --list

SKILL.md

Frontmatter
{
    "name": "liberate",
    "description": "Import and rebuild a website from a closed platform (Wix, Squarespace, Webflow, Shopify, GoDaddy, Hostinger, HubSpot, Weebly) into a Studio WordPress site. Extracts pages\/posts\/products + media, then reconstructs the design as editable blocks + WooCommerce OR as a high-fidelity replica theme. Invoke when the user wants to migrate, import, liberate, or rebuild a site from one of these platforms."
}

Liberate a website into Studio

This skill is only a redirect. The real, always-up-to-date pipeline lives in the Data Liberation engine's own skill. Do NOT re-plan or summarize the steps here — defer to the engine skill so its updates take effect automatically. Your job is just to (1) stand the engine up and (2) follow its skill, translating its tool calls into Studio's bridge.

Step 1 — Locate the engine

Call the data_liberation tool with { tool: "setup" }. It returns { engineDir, liberateSkill, skillsDir } — the paths to the engine's skill files. The engine ships prebuilt with Studio, so this is instant — just proceed.

Step 2 — Load the engine's tool catalog

Call data_liberation with { tool: "list" } to load the engine's full tool catalog (every tool name + its argument JSON-Schema). Treat that catalog as the source of truth for tool names and arguments — the engine skill names the tools to call, but the catalog tells you their exact arguments. If you are ever unsure of an argument, re-read the catalog rather than guessing.

Step 3 — Follow the engine's real liberate skill

Read the liberateSkill path from Step 1 (the engine's own SKILL.md) and execute its workflow verbatim, applying these Studio bindings wherever it instructs you:

  • Engine tool call — where it says "call the liberate_X tool with {…}", instead call Studio's data_liberation tool with { tool: "liberate_X", args: {…} } and read the returned text/JSON as that tool's result. (args is a JSON object, never a stringified JSON.)
  • Sub-skill dispatch — where it dispatches another skill (e.g. replicate-with-blocks / replicate-theme), Read it under engineDir/skills/<name>/SKILL.md and continue inline with these same bindings.
  • Install & import — follow the engine's install step (it documents both liberate_preview and liberate_install_theme + liberate_import); /liberate is the engine's standalone context, so prefer liberate_preview (one call: creates the Studio site, imports the WXR + media, runs WP-default cleanup, activates the theme). Two Studio specifics the engine can't know: (1) liberate_import needs credentials — create an application password with studio wp user application-password create and pass it; (2) never point studio wp import / wp eval-file at the host _liberations path — Studio's PHP sandbox only reads inside the site (/wordpress/...), so let liberate_preview / liberate_import do the import rather than hand-rolling it.
  • Don't skip the final QA — it's nested a level deeper and easy to stop short of after a long run. The chosen sub-skill ends with a mandatory parity step: blocksRead engineDir/skills/design-qa/SKILL.md and complete its loop; themereplicate-theme's liberate_compare step. Run it fully; never substitute eyeballed screenshots, and honor the engine's honesty rule — no "looks good / matches" without measured parity.
  • liberate_blockify_wxr — if it reports "no platform recorded", re-call with the platform from liberate_detect (e.g. { platform: "wix" }); a no-op on platforms without a block recipe is expected, not a failure.
  • Timeouts (MCP error -32001) mean "still working," not "failed." Any engine op can return -32001 on the client side while it keeps running inside the engine — never treat it as a failure and never blindly re-invoke (a re-invoke often errors, e.g. extraction already in progress). For extraction/reconstruct ops (liberate_extract, liberate_screenshot, reconstruct), poll liberate_status with { outputDir } until running is false, then continue from the output artifacts. For any other op that times out, wait and re-check its output/state before concluding it failed.

Reporting

When the engine finishes, summarize its run report: the Studio site built into, the reconstruct path taken, counts (pages/posts/products/media), the parity/verdict, and anything flagged for manual attention.

Version History

  • 0d55cb5 Current 2026-08-20 12:15

Same Skill Collection

apps/cli/ai/skills/annotate/SKILL.md
apps/cli/ai/skills/block-content/SKILL.md
apps/cli/ai/skills/hosting-plans-helper/SKILL.md
apps/cli/ai/skills/need-for-speed/SKILL.md
apps/cli/ai/skills/plugin-recommendations/SKILL.md
apps/cli/ai/skills/rank-me-up/SKILL.md
apps/cli/ai/skills/site-spec/SKILL.md
apps/cli/ai/skills/taxonomist/SKILL.md
apps/cli/ai/skills/visual-design/SKILL.md
apps/cli/ai/skills/visual-polish/SKILL.md
apps/cli/ai/skills/wpcom-remote-management/SKILL.md
packages/data-liberation-agent/skills/adapt/SKILL.md
packages/data-liberation-agent/skills/creating-blocks/SKILL.md
packages/data-liberation-agent/skills/creating-themes/SKILL.md
packages/data-liberation-agent/skills/design-foundations/SKILL.md
packages/data-liberation-agent/skills/diagnose/SKILL.md
packages/data-liberation-agent/skills/editing-blocks/SKILL.md
packages/data-liberation-agent/skills/editing-themes/SKILL.md
packages/data-liberation-agent/skills/generating-patterns/SKILL.md
packages/data-liberation-agent/skills/migrate/SKILL.md
packages/data-liberation-agent/skills/model-local-data/SKILL.md
packages/data-liberation-agent/skills/qa/SKILL.md
packages/data-liberation-agent/skills/rebuild-section/SKILL.md
packages/data-liberation-agent/skills/testing-js/SKILL.md
packages/data-liberation-agent/skills/testing-php/SKILL.md
packages/data-liberation-agent/skills/testing-wp-runtime/SKILL.md
skills/studio-cli/SKILL.md
packages/data-liberation-agent/skills/compose-page-blocks/SKILL.md
packages/data-liberation-agent/skills/design-qa/SKILL.md
packages/data-liberation-agent/skills/match-page/SKILL.md
packages/data-liberation-agent/skills/match-section/SKILL.md
packages/data-liberation-agent/skills/replicate-theme/SKILL.md
packages/data-liberation-agent/skills/replicate-with-blocks/SKILL.md

Metadata

Files
0
Version
0d55cb5
Hash
bde93de8
Indexed
2026-08-20 12:15

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-26 03:23
浙ICP备14020137号-1 $방문자$