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 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/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<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="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.5 | $0.00032 | $0.00752 |
| Sonnet 5.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 1mo 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.
- 1mo 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 (516 stars, last pushed today), licensed MIT. It adds 79 tokens to every session and 1,879 once invoked, about $0.0003 per session on Opus 5.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
A programming integration for adding Tailwind CSS support to a custom build tool or advanced build pipeline for WeChat Mini Programs. It connects CSS conversion with tools such as Vite, Webpack, Rspack, Rollup, Rolldown, and Gulp, including file watching and hot updates.
weapp-tailwindcss-lynx
A setup guide for using Tailwind CSS with ReactLynx and Rspeedy, a build system for Lynx applications.
weapp-tailwindcss-react-native
Guidance for configuring weapp-tailwindcss with Expo and React Native, a framework for building mobile apps for Android and iOS with React. It covers compiling Tailwind classes into native style lookups through Metro, React Native’s build tool.
weapp-tailwindcss-runtime
Guidance for using weapp-tailwindcss runtime packages in small-program projects. It covers combining Tailwind class names, choosing variant helpers, handling escaped classes, and keeping runtime classes aligned with build-time scanning.
weapp-tailwindcss-setup
A setup guide for adding weapp-tailwindcss v5 and Tailwind CSS 4 to projects that build WeChat Mini Programs and other targets. It covers common frameworks and build tools.
weapp-tailwindcss-troubleshoot
A troubleshooting guide for weapp-tailwindcss and its CLI when generated styles, class conversion, builds, or hot reload do not work as expected.