jpskill.com
💬 コミュニケーション コミュニティ

doc-sync

Audit project documentation against the codebase and fix drift. Run before PRs or after major changes. Compares documented architecture, test counts, and file paths against actual state.

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o doc-sync.zip https://jpskill.com/download/9158.zip && unzip -o doc-sync.zip && rm doc-sync.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/9158.zip -OutFile "$d\doc-sync.zip"; Expand-Archive "$d\doc-sync.zip" -DestinationPath $d -Force; ri "$d\doc-sync.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して doc-sync.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → doc-sync フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-18
取得日時
2026-05-18
同梱ファイル
1
📖 Claude が読む原文 SKILL.md(中身を展開)

この本文は AI(Claude)が読むための原文(英語または中国語)です。日本語訳は順次追加中。

Documentation Sync Audit

Audit all project documentation against the actual codebase and report (or fix) any drift.

Steps

  1. Identify documentation files: Find all .md files in docs/, project root, and .claude/reference/ that describe architecture, security, testing, or roadmap.

  2. Audit architecture docs against the codebase:

    • Check main entry point — does the plugin/middleware chain match the documented order?
    • Check routes directory — are all route modules listed?
    • Check shared packages — are all exports documented?
    • Check monorepo layout — does the documented tree match actual directory structure?
  3. Audit security docs:

    • Check security plugins/middleware — are all documented?
    • Check for new security-related commits since last doc update
    • Verify permission counts match actual definitions
  4. Audit test docs:

    • Count actual test files
    • Run test suite to get current pass counts
    • Compare documented test counts to actual counts
  5. Audit roadmap/changelog:

    • Check git log for commits not reflected in any documented phase
    • Verify completed phases are marked done
  6. Audit CLAUDE.md / agent instructions:

    • Check naming conventions match actual code patterns
    • Verify documented file paths still exist
    • Confirm anti-patterns section is current
  7. Report findings:

    | Doc | Section | Issue | Severity |
    |-----|---------|-------|----------|
  8. Fix drift (if $ARGUMENTS contains "fix"):

    • Make targeted edits to fix each drift item
    • Commit with docs: sync documentation with codebase [doc-sync]

If $ARGUMENTS is empty or "audit", only report — don't edit.

Arguments

  • $ARGUMENTS: audit (default, report only) or fix (report and fix drift)

When to Run

  • Before creating a pull request (/doc-sync audit)
  • After completing a development phase (/doc-sync fix)
  • After any structural changes (new plugins, routes, migrations)