Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/weapp-vite/weapp-vite/docs-and-website-syncnpx skills add weapp-vite/weapp-vite --skill docs-and-website-syncgit clone --depth 1 https://github.com/weapp-vite/weapp-viteWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/weapp-vite/weapp-vite/docs-and-website-sync)<a href="https://agentmods.dev/skills/weapp-vite/weapp-vite/docs-and-website-sync"><img src="https://agentmods.dev/badge/skills/weapp-vite/weapp-vite/docs-and-website-sync.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00079 | $0.01879 |
| Opus 5 | $0.00039 | $0.00940 |
| Sonnet 5 | $0.00016 | $0.00376 |
| Haiku 4.5 | $0.00008 | $0.00188 |
Grade A, and why
docs-and-website-sync scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
Copies of this mod
1 near-identical copy found in the catalogue:
- docs-and-website-sync — 100% identical, 0 lines differ
How it starts
The opening of the file, as written. The whole thing — 126 lines — stays where its author put it; the contents beside it link to each section on GitHub.
docs-and-website-sync
用途
根据仓库真实能力,更新 website、docs、README、skills、脚手架 AI 指引和随包文档,避免公开入口落后于实现。
何时使用
- 用户要求“根据现有代码更新 website/docs/skills”。
weapp-vite、wevu、weapp-ide-cli或脚手架新增了配置、CLI 命令、AI 工作流。- 网站配置页、AI 指南、包说明和 skills 之间出现漂移。
- 新增或调整这些公开能力:
weapp.autoRoutes/routeRules/ layout.weapp-vite支持文件与wv prepareforwardConsole/mcp init|print|doctorwv screenshot/wv compare/wv ide logswv analyze --markdown|--report pr|--budget-check|--hmr-profile与weapp.analyzewebruntime /libmode / 多平台 / npm / 分包 / worker- React 19 / JSX/TSX / mpcore headless parity
create-weapp-vite的 AI skills 安装与AGENTS.md
不适用场景
本 skill 聚焦“对外文档与技能入口同步”。
- 工程配置、构建策略、CLI 分发:使用
weapp-vite-best-practices。 .vue宏、模板和 SFC 兼容:使用weapp-vite-vue-sfc-best-practices。wevu运行时语义:使用wevu-best-practices。- DevTools runtime e2e:使用
weapp-devtools-e2e-best-practices。 - React runtime、render mode 和组件 bridge:使用
weapp-vite-react-best-practices。
核心流程
- 先查事实来源,不要在旧文案之间互相复制:
packages/weapp-vite/src/types/config/**packages/weapp-vite/src/cli/**packages/weapp-ide-cli/src/cli/**packages-runtime/react/src/**packages-runtime/wevu/src/**mpcore/packages/**packages/weapp-vite/docs/README.mdpackages/weapp-vite/docs/mcp.mdpackages/weapp-vite/docs/volar.mdpackages/weapp-vite/docs/define-config-overloads.mdpackages/weapp-vite/docs/packaged/**packages/weapp-vite/scripts/sync-package-docs.mjspackages/create-weapp-vite/src/agents.tspackages/create-weapp-vite/src/skills.tsskills/*/SKILL.md
- 建立“能力变化 -> 入口页”映射,再统一修改:
- 配置变化:
website/config/** - CLI / AI / MCP:
website/guide/**、website/packages/**、website/.vitepress/components/AiLearningPage.vue、packages/weapp-vite/README.md - 脚手架与 AI 约束:
website/packages/create-weapp-vite.md、packages/create-weapp-vite/src/agents.ts - 运行时与框架:
website/config/vue.md、website/config/wevu.md、website/packages/web.md - React:
website/config/react.md、docs/integration/react.md、React 模板与@weapp-vite/reactREADME - 多平台与 headless:
website/guide/multi-platform.md、mpcore package docs、provider-compatible e2e
- 配置变化:
- 同步 AI 合约口径:
- 先读根
AGENTS.md - 再读
node_modules/weapp-vite/dist/docs/*.md MCP 接入->wv mcp init|print|doctor <codex|claude-code|cursor>运行时检查->weapp_devtools_*/weapp_runtime_*tools截图->wv screenshot/take_weapp_screenshot截图对比->wv compare/compare_weapp_screenshot日志->wv ide logs --open分析报告->wv analyze --markdown|--report pr|--budget-check|--hmr-profile.weapp-vite支持文件 ->wv prepare
- 先读根
- 生成资产只通过脚本或构建刷新,不手改:
website/public/llms-index.jsonwebsite/public/seo-quality-report.json
- 若新增、删除或合并 skill,同时更新:
website/guide/skills.mdwebsite/guide/ai-workflows.mdwebsite/guide/ai.mdwebsite/.vitepress/components/AiLearningPage.vueskills/skill-trigger-regression-checklist.mdskills/scripts/score-skill-trigger-regression.mjsCLAUDE.md与脚手架AGENTS.md模板
- 按最小范围验证:
pnpm exec eslint --no-warn-ignored skills/*/SKILL.md- 涉及
website/**时跑pnpm --filter website-weapp-vite build - 涉及 skill 触发/评分时再跑
pnpm skills:check:yaml、pnpm skills:score:json
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 7d ago First seen · 126 lines · 79 tokens per session scan A 806ac664cc51
docs-and-website-sync is a skill published in the GitHub repository weapp-vite/weapp-vite (473 stars, last pushed today), licensed MIT. It adds 79 tokens to every session and 1,879 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
weapp-tailwindcss-custom-build
将 weapp-tailwindcss 集成到自研构建器或高级流水线,覆盖 weapp-tailwindcss/core、generator、Vite/Webpack/Rspack/Rollup/Rolldown/Gulp 生命周期、ModuleGraph、Tailwind Scanner/source candidates、watch/HMR、source map、weapp-style-injector 和分包样式隔离。Use for custom bundlers, Node API, build adapters, asset graphs, loaders, plugins, or subpackage style…
weapp-tailwindcss-setup
为新项目配置当前 weapp-tailwindcss v5 与 Tailwind CSS 4,覆盖 uni-app、uni-app x、Taro、Mpx、原生小程序、weapp-vite、Vite、Webpack 5、Rspack、Gulp、独立 CLI 及小程序/H5/Web/App 多端。Use when setting up, installing, integrating, choosing a framework configuration, or building CSS with weapp-tw; 不用于旧版迁移、故障诊断、自研构建器、Expo React Native 或 ReactLynx。.
weapp-tailwindcss
协调 weapp-tailwindcss 全端任务并提供当前安全基线。Use when 用户泛化地询问 weapp-tailwindcss、Tailwind CSS in mini-programs、Web CLI、React Native 或 ReactLynx,或尚未明确是接入、迁移、排障、运行时、自定义构建还是原生跨端集成;具体任务优先路由到对应专用 skill。.
weapp-tailwindcss-lynx
为 ReactLynx + Rspeedy 配置 @weapp-tailwindcss/lynx 0.3.2 与 Tailwind CSS 4,覆盖 Rspeedy plugin、Lynx 原生 CSS、静态 className、theme 变量静态化、任意值、encoder 警告和 iOS/Android 运行端验证。Use for ReactLynx, Rspeedy, Lynx native CSS, arbitrary value compatibility, or Lynx bundle styling;不用于 React Native、uni-app App、Web 或普通小程序构建。.
weapp-tailwindcss-migrate
将现有 weapp-tailwindcss 项目迁移到当前 v5/Tailwind CSS 4 生成链路,处理旧 weapp-tw patch、旧版 CLI init/Sass/Less/目录扫描、tailwindcss-patch、官方 PostCSS/Vite 插件、相对 cssEntries、H5 disabled、Webpack 4、Node/HBuilderX/ESM 要求。Use for upgrade, migration, legacy CLI cleanup, v4-to-v5, or deprecated setup removal;不用于全新接入或单点故障排查。.
weapp-tailwindcss-react-native
为 Expo/React Native 配置 @weapp-tailwindcss/react-native 0.2.5 的 Tailwind CSS 4 编译器、Metro virtual module、Babel JSX transform、style manifest、tw runtime、dark/ios/android/native variants。Use for Expo SDK 54+, React Native 0.81+, Metro, native className, Android/iOS style compilation;不用于 uni-app App、ReactLynx 或普通小程序构建。.