doc-sync

doc-sync is a skill for Claude Code from YuDefine/nuxt-supabase-starter. It costs 46 tokens per session (891 once invoked), scanned A, original, MIT.

A documentation-sync procedure for finding and updating verification documents so they describe the system's current state. It first identifies the repository's documentation location and reads its existing file list.

In plain words
What is it for?
Use it to update verification guides after system changes, including environment variables, database schemas, access policies, user roles, or deployment behaviour.
Why use it?
Documentation can become misleading when configuration, authentication, database, deployment, or other system details change. This procedure limits updates to the correct files and avoids creating documents in the wrong place.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Good fit Use it to update verification guides after system changes, including environment variables, database schemas, access policies, user roles, or deployment behaviour.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yudefine/nuxt-supabase-starter/doc-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 YuDefine/nuxt-supabase-starter --skill doc-sync
Clone the repo
git clone --depth 1 https://github.com/YuDefine/nuxt-supabase-starter

Made for: Claude Code.

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 doc-sync

README.md
[![agentmods](https://agentmods.dev/badge/skills/yudefine/nuxt-supabase-starter/doc-sync/github.svg)](https://agentmods.dev/skills/yudefine/nuxt-supabase-starter/doc-sync)
Your own site
<a href="https://agentmods.dev/skills/yudefine/nuxt-supabase-starter/doc-sync"><img src="https://agentmods.dev/badge/skills/yudefine/nuxt-supabase-starter/doc-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 doc-sync

Your own site · 80×15
<a href="https://agentmods.dev/skills/yudefine/nuxt-supabase-starter/doc-sync"><img src="https://agentmods.dev/badge/skills/yudefine/nuxt-supabase-starter/doc-sync.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 891 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.
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.00046 $0.00891
Opus 5.5 $0.00018 $0.00356
Sonnet 5.5 $0.00009 $0.00178
Haiku 4.5 $0.00005 $0.00089

Measured 9d ago against content hash f4607a1d13a1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

doc-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 9d 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.

template/.claude/skills/doc-sync/SKILL.md · 91 lines

What it actually says

User Input

$ARGUMENTS

Outline

更新驗證文件目錄下的文件,確保反映系統的當前狀態。目錄位置看 repo root 有沒有 specs/truth/work-lifecycle.md([[consumer-docs-retirement]]):

repo 驗證文件目錄
lifecycle repo(有 specs/truth/work-lifecycle.md) specs/truth/docs/verify/;新增檔前 specs/truth/owners.md 的 specs/truth/docs/** 列要寫明准入條件與更新責任。NEVER 在 docs/verify/ 新增或修改檔
未遷移 consumer docs/verify/,只可原地更新既有檔,NEVER 新增檔;遷移時 git mv 到 specs/truth/docs/verify/

以下 <verify>/ 指上表的目錄。

Step 1: 識別需要更新的文件

先讀 consumer 自己的 <verify>/README.md 取得當前文件清單(各 consumer 結構不同),再依最近的變更類型對照需要更新的檔案。下表只是常見對應的示意,檔名以 README 為準,禁止照這張表的假設清單直接更新:

變更類型 對應文件
環境變數 ENVIRONMENT_VARIABLES.md
認證流程 AUTH_INTEGRATION.md, OAUTH_SETUP.md
資料庫 schema SUPABASE_MIGRATION_GUIDE.md, MONITORING_TABLES.md
RLS 政策 RLS_PERFORMANCE_OPTIMIZATION.md
使用者角色 USER_ROLES_AUTH.md
Pinia store PINIA_ARCHITECTURE.md
部署流程 REMOTE_DEPLOYMENT.md, CLOUDFLARE_WORKERS_GOTCHAS.md

Step 2: 讀取現有文件

讀取需要更新的文件,了解目前內容。

Step 3: 更新文件

遵循 <verify>/ 的寫作原則:

✅ 正確寫法
  • 使用現在式:描述「系統目前是什麼」
  • 移除時間標記:不要寫「2025-01-13 更新」
  • 專注於狀態:記錄配置、設定、架構
  • 直接覆寫:狀態改變時直接覆寫舊描述
❌ 錯誤寫法
  • 本次更新:修正了 X 問題
  • 2025-01-13 更新
  • 原本是 A,現在改成 B

Step 4: 驗證文件

確認更新後的文件:

  1. 格式正確(Markdown)
  2. 連結有效
  3. 程式碼範例可執行
  4. 與實際程式碼一致

Step 5: 更新 README

如果新增了文件或變更了結構,更新 <verify>/README.md 的目錄。

Step 6: 完成報告

✅ 文件同步完成!

## 已更新文件

| 文件 | 變更摘要 |
|------|----------|
| XXX.md | 更新了 YYY 章節 |
| ZZZ.md | 新增了 AAA 說明 |

## 變更預覽

[顯示 git diff 摘要]

建議:執行 `pnpm docs:dev` 預覽文件網站。
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. 9d ago First seen · 91 lines · 46 tokens per session scan A f4607a1d13a1

Subscribe to this mod's changes

doc-sync is a skill published in the GitHub repository YuDefine/nuxt-supabase-starter (45 stars, last pushed 2d ago), licensed MIT. It adds 46 tokens to every session and 891 once invoked, about $0.0002 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-11-22.

Related

doc-sync compared with skills from other repositories

doc-sync next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
doc-syncYuDefine/nuxt-supabase-starterSkill452d agoMITA46Claude Code
nw-doc-as-artifactnWave-ai/nWaveSkill63611d agoMITA34Claude Code
doc-processorRune-kit/runeSkill96todayMITA47Claude Code
kaiord-workout-filespablo-albaladejo/kaiordSkill13yesterdayMITA42Claude Code, Codex
prd-v07-implementation-loopmattgierhart/PRD-driven-context-engineeringSkill1793mo agoMITA113Claude Code
prd-v07-test-planningmattgierhart/PRD-driven-context-engineeringSkill1793mo agoMITA125Claude Code
brainstormingMatrixFounder/Agentic-developmentSkill922d agoApache-2.0A48Claude Code, Codex