docs-and-website-sync

docs-and-website-sync is a skill for Codex from weapp-vite/weapp-vite. It costs 79 tokens per session (1,879 once invoked), scanned A, original, MIT.

A synchronization guide for keeping source code, website pages, READMEs, packaged documentation, and public coding-agent instructions consistent in a monorepo.

In plain words
What is it for?
Use it after changes to configuration, commands, runtimes, platform builds, React or Wevu support, package behavior, or generated project instructions.
Why use it?
It prevents public documentation and agent guidance from falling behind newly added or changed capabilities.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions CLAUDE.md; mentions AGENTS.md; mentions Codex.

Install

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.

agentmods
npx agentmods add skills/weapp-vite/weapp-vite/docs-and-website-sync
Any agent
npx skills add weapp-vite/weapp-vite --skill docs-and-website-sync
Clone the repo
git clone --depth 1 https://github.com/weapp-vite/weapp-vite

Made for: Codex.

Wrote 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.

agentmods badge for docs-and-website-sync

README.md
[![agentmods](https://agentmods.dev/badge/skills/weapp-vite/weapp-vite/docs-and-website-sync.svg)](https://agentmods.dev/skills/weapp-vite/weapp-vite/docs-and-website-sync)
Your own site
<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>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,879 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 7d ago against content hash 806ac664cc51, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/docs-and-website-sync/SKILL.md · 126 lines

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

用途

根据仓库真实能力,更新 websitedocsREADMEskills、脚手架 AI 指引和随包文档,避免公开入口落后于实现。

何时使用

  • 用户要求“根据现有代码更新 website/docs/skills”。
  • weapp-vitewevuweapp-ide-cli 或脚手架新增了配置、CLI 命令、AI 工作流。
  • 网站配置页、AI 指南、包说明和 skills 之间出现漂移。
  • 新增或调整这些公开能力:
    • weapp.autoRoutes / routeRules / layout
    • .weapp-vite 支持文件与 wv prepare
    • forwardConsole / mcp init|print|doctor
    • wv screenshot / wv compare / wv ide logs
    • wv analyze --markdown|--report pr|--budget-check|--hmr-profileweapp.analyze
    • web runtime / lib mode / 多平台 / 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

核心流程

  1. 先查事实来源,不要在旧文案之间互相复制:
    • 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.md
    • packages/weapp-vite/docs/mcp.md
    • packages/weapp-vite/docs/volar.md
    • packages/weapp-vite/docs/define-config-overloads.md
    • packages/weapp-vite/docs/packaged/**
    • packages/weapp-vite/scripts/sync-package-docs.mjs
    • packages/create-weapp-vite/src/agents.ts
    • packages/create-weapp-vite/src/skills.ts
    • skills/*/SKILL.md
  2. 建立“能力变化 -> 入口页”映射,再统一修改:
    • 配置变化:website/config/**
    • CLI / AI / MCP:website/guide/**website/packages/**website/.vitepress/components/AiLearningPage.vuepackages/weapp-vite/README.md
    • 脚手架与 AI 约束:website/packages/create-weapp-vite.mdpackages/create-weapp-vite/src/agents.ts
    • 运行时与框架:website/config/vue.mdwebsite/config/wevu.mdwebsite/packages/web.md
    • React:website/config/react.mddocs/integration/react.md、React 模板与 @weapp-vite/react README
    • 多平台与 headless:website/guide/multi-platform.md、mpcore package docs、provider-compatible e2e
  3. 同步 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
  4. 生成资产只通过脚本或构建刷新,不手改:
    • website/public/llms-index.json
    • website/public/seo-quality-report.json
  5. 若新增、删除或合并 skill,同时更新:
    • website/guide/skills.md
    • website/guide/ai-workflows.md
    • website/guide/ai.md
    • website/.vitepress/components/AiLearningPage.vue
    • skills/skill-trigger-regression-checklist.md
    • skills/scripts/score-skill-trigger-regression.mjs
    • CLAUDE.md 与脚手架 AGENTS.md 模板
  6. 按最小范围验证:
    • pnpm exec eslint --no-warn-ignored skills/*/SKILL.md
    • 涉及 website/** 时跑 pnpm --filter website-weapp-vite build
    • 涉及 skill 触发/评分时再跑 pnpm skills:check:yamlpnpm skills:score:json

Read the full file on GitHub · 126 lines

Files

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.

Changes

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.

  1. 7d ago First seen · 126 lines · 79 tokens per session scan A 806ac664cc51

Subscribe to this mod's changes

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.

Related

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…

sonofmagic/weapp-tailwindcss · 123 tokens

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。.

sonofmagic/weapp-tailwindcss · 128 tokens

weapp-tailwindcss

协调 weapp-tailwindcss 全端任务并提供当前安全基线。Use when 用户泛化地询问 weapp-tailwindcss、Tailwind CSS in mini-programs、Web CLI、React Native 或 ReactLynx,或尚未明确是接入、迁移、排障、运行时、自定义构建还是原生跨端集成;具体任务优先路由到对应专用 skill。.

sonofmagic/weapp-tailwindcss · 95 tokens

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 或普通小程序构建。.

sonofmagic/weapp-tailwindcss · 129 tokens

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;不用于全新接入或单点故障排查。.

sonofmagic/weapp-tailwindcss · 129 tokens

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 或普通小程序构建。.

sonofmagic/weapp-tailwindcss · 104 tokens