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.

Good fit Use it after changes to configuration, commands, runtimes, platform builds, React or Wevu support, package behavior, or generated project instructions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/weapp-vite/weapp-vite/docs-and-website-sync
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.

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/github.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/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.

agentmods 80×15 button for docs-and-website-sync

Your own site · 80×15
<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>
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. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.5 $0.00032 $0.00752
Sonnet 5.5 $0.00016 $0.00376
Haiku 4.5 $0.00008 $0.00188

Measured 1mo ago against content hash 806ac664cc51, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.

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

用途

根据仓库真实能力,更新 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 prepare
    • forwardConsole / mcp init|print|doctor
    • wv screenshot / wv compare / wv ide logs
    • wv analyze --markdown|--report pr|--budget-check|--hmr-profile 与 weapp.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.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/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:yaml、pnpm 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. 1mo 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 (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.

Related

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.

sonofmagic/weapp-tailwindcss · 123 tokens

weapp-tailwindcss-lynx

A setup guide for using Tailwind CSS with ReactLynx and Rspeedy, a build system for Lynx applications.

sonofmagic/weapp-tailwindcss · 129 tokens

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.

sonofmagic/weapp-tailwindcss · 104 tokens

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.

sonofmagic/weapp-tailwindcss · 118 tokens

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.

sonofmagic/weapp-tailwindcss · 128 tokens

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.

sonofmagic/weapp-tailwindcss · 130 tokens