Summary
将 wot-starter v2 模板精简为最小可开发状态,移除文档、演示分包、生成文件和 monorepo 配置,并同步清理相关 Vite 与 package.json 配置。用户要求“清理模板”“移除示例”“生成最小模板”“精简 wot-starter v2”时使用。
wot-ui/open-wot
将 wot-starter v2 模板精简为最小可开发状态,移除文档、演示分?
npx skills add wot-ui/open-wot --skill starter-cleaner
将 wot-starter v2 模板精简为最小可开发状态,移除文档、演示分包、生成文件和 monorepo 配置,并同步清理相关 Vite 与 package.json 配置。用户要求“清理模板”“移除示例”“生成最小模板”“精简 wot-starter v2”时使用。
Related neighbors and high-traction skills in the same topics — useful to compare before installing.
Guidance for distinctive, intentional visual design when building new UI or reshaping an existi…
866.4K installsBrowser automation CLI for AI agents. Use when the user needs to interact with websites, includ…
810.4K installsReview UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "chec…
617.3K installsBuild, deploy, evaluate, optimize, fine-tune, and manage Microsoft Foundry agents, models, and …
576.5K installsDebug Azure production issues on Azure using AppLens, Azure Monitor, resource health, and safe …
568.9K installsOther skills from wot-ui/open-wot · top by installs.
npx skills add wot-ui/open-wot
Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.
main
Files included with this skill beyond the listing page.
SKILL.md
2,299 B
SUMMARY.md
309 B
使用随技能提供的确定性脚本清理 wot-starter v2,保留基础页面、Wot UI、uni-echarts 和 echarts 能力。
git status --short,确认并告知用户未提交改动会被保留,但待清理目录中的改动会随目录一起删除。``sh node .agents/skills/starter-cleaner/scripts/clean.js --dry-run ``
wot-starter v2 后执行。脚本会删除旧的 src/pages.json,然后受控运行 pnpm dev:h5,等新的最小 src/pages.json 生成后退出 dev server:``sh node .agents/skills/starter-cleaner/scripts/clean.js ``
pnpm install --lockfile-only 更新锁文件,再运行 pnpm type-check 和 pnpm lint。如果依赖不可用,至少检查 git diff --check 和清理后的 diff,并将未运行的验证明确告知用户。脚本执行以下操作,且支持重复运行:
docs/、src/subPages/、src/subEcharts/、src/subAsyncEcharts/。src/pages.json,再通过 pnpm dev:h5 触发 vite-plugin-uni-pages 重新生成最小页面配置。pnpm-workspace.yaml,将项目从文档 workspace 恢复为单包项目。vite.config.ts 的 UniHelperPages 配置中移除上述三个示例分包入口。package.json 中移除 docs:* 与 lint:docs 脚本。uni-echarts、echarts 依赖和相关 Vite 配置,方便业务继续使用图表。wot-starter v2 项目中运行。仅在用户明确确认目标项目后使用 --force 跳过项目身份检查。--force 绕过未提交改动提示;该参数只用于项目身份检查。