jpskill.com
✍️ ライティング コミュニティ

anthropic-docs-updater

Anthropicのドキュメントを自動で更新し、最新情報を反映させるための仕組みで、変更検知からドキュメント取得・処理、Skillへの統合・検証までを行い、anthropic-expertを常に最新の状態に保つSkill。

📜 元の英語説明(参考)

Automated documentation update mechanism for anthropic-expert skill. Five-step workflow from update detection through documentation fetching and processing to skill integration and validation. Use when updating Anthropic documentation, checking for new releases, fetching latest docs, keeping anthropic-expert current, or synchronizing with Anthropic product changes.

🇯🇵 日本人クリエイター向け解説

一言でいうと

Anthropicのドキュメントを自動で更新し、最新情報を反映させるための仕組みで、変更検知からドキュメント取得・処理、Skillへの統合・検証までを行い、anthropic-expertを常に最新の状態に保つSkill。

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

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

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

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

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

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して anthropic-docs-updater.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → anthropic-docs-updater フォルダができる
  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

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

Anthropic Docs Updater

概要

anthropic-docs-updater は、Anthropic のドキュメントの更新を検出し、取得し、統合することで、anthropic-expert スキルを自動的に最新の状態に保ちます。

目的: anthropic-expert のための自動化されたドキュメントメンテナンス

更新ワークフロー (5 ステップ):

  1. 更新の確認 - 新しいリリースとドキュメントの変更を検出します
  2. ドキュメントの取得 - 公式ソースから更新されたコンテンツをダウンロードします
  3. コンテンツの処理 - スキルのリファレンス形式に変換します
  4. スキルの更新 - 新しいコンテンツを anthropic-expert に統合します
  5. 更新の検証 - 品質が維持され、リグレッションがないことを確認します

自動化: 80% 自動化 (重大な変更については手動レビュー)

更新ソース:

  • GitHub Releases (SDK バージョンの更新)
  • docs.claude.com/en/release-notes (API の更新)
  • code.claude.com/docs/en/changelog (Claude Code の更新)
  • anthropic.com/news (モデルの発表)

いつ使用するか

  • 毎週/毎月の更新チェック (最新の状態を維持)
  • Anthropic が新機能を発表した後
  • 新しい Anthropic プロジェクトを開始する前 (最新のドキュメントであることを確認)
  • anthropic-expert が古くなっているように見える場合
  • 自動化されたスケジュール更新 (cron ジョブ)

前提条件

  • anthropic-expert スキルがインストールされていること
  • Python 3.7+ と requests ライブラリ
  • GitHub API へのアクセス (リリースチェック用)
  • インターネットアクセス (ドキュメント取得用)

更新ワークフロー

ステップ 1: 更新の確認

目的: 新しいリリース、ドキュメントの変更、機能の発表を検出します

プロセス:

  1. GitHub Releases の確認

    python scripts/check-updates.py --github
    • GitHub API に最新のリリースをクエリします
    • チェック対象: anthropic-sdk-python, claude-agent-sdk-python
    • changelog.md の現在のバージョンと比較します
    • 新しいリリースが見つかった場合は報告します
  2. リリースノートの確認

    python scripts/check-updates.py --docs
    • docs.claude.com/en/release-notes を取得します
    • 最後のチェック日と比較します
    • 新しいエントリを識別します
  3. Claude Code Changelog の確認

    python scripts/check-updates.py --claude-code
    • code.claude.com/docs/en/changelog を取得します
    • 新しいバージョンまたは機能を検出します
  4. 更新レポートの生成

    python scripts/check-updates.py --all
    • すべてのチェックを実行します
    • 調査結果を集約します
    • 検出された変更を含む update-report.txt を出力します

検証:

  • [ ] GitHub releases がチェックされた
  • [ ] リリースノートがチェックされた
  • [ ] Claude Code changelog がチェックされた
  • [ ] 更新レポートが生成された
  • [ ] 新しい更新が検出された (または最新であることが確認された)

出力:

  • update-report.txt (新着情報)
  • 検出された変更のリスト
  • 推奨される更新アクション

推定時間: 10-15 分 (自動化)

出力例:

Anthropic ドキュメント更新チェック
=====================================
日付: 2025-11-15

GitHub Releases:
✅ anthropic-sdk-python: v0.45.0 (現在: v0.42.0) - 更新あり
✅ claude-agent-sdk-python: v1.12.0 (現在: v1.10.0) - 更新あり

リリースノート (docs.claude.com):
✅ 新機能: Batch API のコスト削減が 60% に増加
✅ 新しいモデル: Claude Sonnet 4.6 が発表されました

Claude Code Changelog:
- 前回のチェック以降、新しい更新はありません

推奨事項: 更新あり
- 2 つの SDK 更新
- 2 つの API 機能更新
- ステップ 2 (ドキュメントの取得) に進みます

ステップ 2: ドキュメントの取得

目的: 公式ソースから更新されたコンテンツをダウンロードします

プロセス:

  1. SDK ドキュメントの取得

    python scripts/fetch-docs.py --github-readmes
    • SDK リポジトリから README.md をダウンロードします
    • GitHub から changelog/リリースノートを取得します
    • temp/sdk-docs/ に保存します
  2. API ドキュメントの取得

    python scripts/fetch-docs.py --api-docs
    • docs.claude.com から更新されたページを取得します
    • リリースノートをダウンロードします
    • temp/api-docs/ に保存します
  3. Claude Code ドキュメントの取得

    python scripts/fetch-docs.py --claude-code-docs
    • code.claude.com から更新されたページを取得します
    • changelog をダウンロードします
    • temp/claude-code-docs/ に保存します
  4. ダウンロードの検証

    • すべてのファイルが正常にダウンロードされたことを確認します
    • ファイルの整合性を検証します
    • ダウンロードエラーがないことを確認します

検証:

  • [ ] SDK ドキュメントが正常に取得された
  • [ ] API ドキュメントが正常に取得された
  • [ ] Claude Code ドキュメントが取得された (更新がある場合)
  • [ ] すべてのファイルが temp ディレクトリに保存された
  • [ ] ダウンロードエラーがない

出力:

  • temp/sdk-docs/ (SDK ドキュメント)
  • temp/api-docs/ (API ドキュメント)
  • temp/claude-code-docs/ (Claude Code ドキュメント)
  • fetch-log.txt (ダウンロードログ)

推定時間: 15-30 分 (自動化、コンテンツ量に依存)


ステップ 3: ドキュメントの処理

目的: 取得したコンテンツをスキルのリファレンス形式に変換します

プロセス:

  1. 取得したドキュメントの解析

    python scripts/process-docs.py --input temp/ --output processed/
    • temp/ から markdown を解析します
    • 関連するセクションを抽出します
    • コード例を識別します
    • プロダクトごとに構造化します
  2. リファレンス形式への変換

    • プロダクト/機能ごとに整理します
    • 既存のリファレンスと一貫性のある形式にします
    • コード例を適切に抽出します
    • ナビゲーションヘッダーを追加します
  3. 既存のコンテンツとのマージ

    • 新しいドキュメントと既存のドキュメントを比較します
    • 追加、変更、削除を識別します
    • カスタムの例/メモを保持します
    • 差分レポートを生成します
  4. 処理されたコンテンツの検証

    • markdown 構文をチェックします
    • コード例を検証します
    • 一貫したフォーマットを確保します

検証:

  • [ ] すべての取得されたドキュメントが処理された
  • [ ] コンテンツがリファレンス形式に変換された
  • [ ] プロダクト/機能ごとに整理された
  • [ ] コード例が正しく抽出された
  • [ ] 差分レポートが生成された (変更点)
  • [ ] 処理されたコンテンツが検証された

出力:

  • processed/ (処理されたドキュメント)
  • diff-report.txt (変更点)
  • 統合の準備ができたフォーマット済みのコンテンツ

推定時間: 20-40 分 (自動化、差分の手動レビューあり)


ステップ 4: anthropic-expert スキルの更新

目的: 新しいコンテンツを anthropic-expert スキルに統合します

📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

Anthropic Docs Updater

Overview

anthropic-docs-updater automatically keeps the anthropic-expert skill current by detecting, fetching, and integrating Anthropic documentation updates.

Purpose: Automated documentation maintenance for anthropic-expert

Update Workflow (5 steps):

  1. Check for Updates - Detect new releases and documentation changes
  2. Fetch Documentation - Download updated content from official sources
  3. Process Content - Convert to skill reference format
  4. Update Skill - Integrate new content into anthropic-expert
  5. Validate Updates - Ensure quality maintained, no regressions

Automation: 80% automated (manual review for breaking changes)

Update Sources:

  • GitHub Releases (SDK version updates)
  • docs.claude.com/en/release-notes (API updates)
  • code.claude.com/docs/en/changelog (Claude Code updates)
  • anthropic.com/news (model announcements)

When to Use

  • Weekly/monthly update checks (stay current)
  • After Anthropic announces new features
  • Before starting new Anthropic project (ensure latest docs)
  • When anthropic-expert seems outdated
  • Automated scheduled updates (cron job)

Prerequisites

  • anthropic-expert skill installed
  • Python 3.7+ with requests library
  • GitHub API access (for release checking)
  • Internet access (for fetching docs)

Update Workflow

Step 1: Check for Updates

Purpose: Detect new releases, documentation changes, feature announcements

Process:

  1. Check GitHub Releases

    python scripts/check-updates.py --github
    • Queries GitHub API for latest releases
    • Checks: anthropic-sdk-python, claude-agent-sdk-python
    • Compares to current versions in changelog.md
    • Reports new releases found
  2. Check Release Notes

    python scripts/check-updates.py --docs
    • Fetches docs.claude.com/en/release-notes
    • Compares to last check date
    • Identifies new entries
  3. Check Claude Code Changelog

    python scripts/check-updates.py --claude-code
    • Fetches code.claude.com/docs/en/changelog
    • Detects new versions or features
  4. Generate Update Report

    python scripts/check-updates.py --all
    • Runs all checks
    • Aggregates findings
    • Outputs: update-report.txt with detected changes

Validation:

  • [ ] GitHub releases checked
  • [ ] Release notes checked
  • [ ] Claude Code changelog checked
  • [ ] Update report generated
  • [ ] New updates detected (or confirmed current)

Outputs:

  • update-report.txt (what's new)
  • List of detected changes
  • Recommended update actions

Time Estimate: 10-15 minutes (automated)

Example Output:

Anthropic Documentation Update Check
=====================================
Date: 2025-11-15

GitHub Releases:
✅ anthropic-sdk-python: v0.45.0 (current: v0.42.0) - UPDATE AVAILABLE
✅ claude-agent-sdk-python: v1.12.0 (current: v1.10.0) - UPDATE AVAILABLE

Release Notes (docs.claude.com):
✅ New feature: Batch API cost reduction increased to 60%
✅ New model: Claude Sonnet 4.6 announced

Claude Code Changelog:
- No new updates since last check

Recommendation: UPDATE AVAILABLE
- 2 SDK updates
- 2 API feature updates
- Proceed to Step 2 (Fetch Documentation)

Step 2: Fetch Documentation

Purpose: Download updated content from official sources

Process:

  1. Fetch SDK Documentation

    python scripts/fetch-docs.py --github-readmes
    • Downloads README.md from SDK repositories
    • Gets changelog/release notes from GitHub
    • Saves to temp/sdk-docs/
  2. Fetch API Documentation

    python scripts/fetch-docs.py --api-docs
    • Fetches updated pages from docs.claude.com
    • Downloads release notes
    • Saves to temp/api-docs/
  3. Fetch Claude Code Documentation

    python scripts/fetch-docs.py --claude-code-docs
    • Fetches updated pages from code.claude.com
    • Downloads changelog
    • Saves to temp/claude-code-docs/
  4. Verify Downloads

    • Check all files downloaded successfully
    • Validate file integrity
    • Confirm no download errors

Validation:

  • [ ] SDK docs fetched successfully
  • [ ] API docs fetched successfully
  • [ ] Claude Code docs fetched (if updates)
  • [ ] All files saved to temp directory
  • [ ] No download errors

Outputs:

  • temp/sdk-docs/ (SDK documentation)
  • temp/api-docs/ (API documentation)
  • temp/claude-code-docs/ (Claude Code documentation)
  • fetch-log.txt (download log)

Time Estimate: 15-30 minutes (automated, depends on amount of content)


Step 3: Process Documentation

Purpose: Convert fetched content to skill reference format

Process:

  1. Parse Fetched Documentation

    python scripts/process-docs.py --input temp/ --output processed/
    • Parses markdown from temp/
    • Extracts relevant sections
    • Identifies code examples
    • Structures by product
  2. Convert to Reference Format

    • Organize by product/capability
    • Format consistently with existing references
    • Extract code examples properly
    • Add navigation headers
  3. Merge with Existing Content

    • Compare new vs existing documentation
    • Identify additions, changes, removals
    • Preserve custom examples/notes
    • Generate diff report
  4. Validate Processed Content

    • Check markdown syntax
    • Verify code examples
    • Ensure consistent formatting

Validation:

  • [ ] All fetched docs processed
  • [ ] Content converted to reference format
  • [ ] Organized by product/capability
  • [ ] Code examples extracted correctly
  • [ ] Diff report generated (what changed)
  • [ ] Processed content validated

Outputs:

  • processed/ (processed documentation)
  • diff-report.txt (what changed)
  • Formatted content ready for integration

Time Estimate: 20-40 minutes (automated with manual review of diff)


Step 4: Update anthropic-expert Skill

Purpose: Integrate new content into anthropic-expert skill safely

Process:

  1. Backup Current Skill

    python scripts/update-skill.py --backup
    • Creates backup of anthropic-expert
    • Saves to anthropic-expert.backup-YYYYMMDD/
    • Preserves all files
  2. Integrate New Content

    python scripts/update-skill.py --integrate processed/
    • Updates relevant reference files
    • Adds new features to appropriate sections
    • Preserves custom content
    • Updates changelog.md with changes
  3. Update Version

    • Increments version number
    • Updates changelog with:
      • Version number
      • Date
      • Changes summary
      • New features
      • Updated documentation
  4. Review Changes

    • Display diff of what changed
    • Prompt for confirmation (if manual mode)
    • Allow rollback if issues

Validation:

  • [ ] Current skill backed up
  • [ ] New content integrated successfully
  • [ ] Changelog updated with version and changes
  • [ ] No merge conflicts
  • [ ] All reference files valid markdown
  • [ ] Ready for validation step

Outputs:

  • Updated anthropic-expert skill
  • Backup in anthropic-expert.backup-*/
  • Updated changelog.md
  • Integration log

Time Estimate: 15-30 minutes (automated, quick review)


Step 5: Validate Updates

Purpose: Ensure updates maintain quality and don't introduce regressions

Process:

  1. Run Structure Validation

    python ../../review-multi/scripts/validate-structure.py ../anthropic-expert
    • Validates YAML frontmatter
    • Checks file structure
    • Verifies naming conventions
    • Ensures progressive disclosure
    • Must pass (5/5 or 4/5)
  2. Test Search Functionality

    python ../anthropic-expert/scripts/search-docs.py "test query"
    • Verify search still works
    • Check can find content in updated files
    • Ensure no search errors
  3. Manual Spot Check

    • Review 2-3 updated sections
    • Verify accuracy of new content
    • Check code examples valid
    • Ensure formatting consistent
  4. Validation Decision

    • PASS: All validations successful → Finalize update
    • FAIL: Issues found → Rollback and investigate
  5. Rollback if Failed (if validation fails)

    python scripts/update-skill.py --rollback
    • Restores from backup
    • Reverts to previous version
    • Logs failure for investigation

Validation:

  • [ ] Structure validation passes (≥4/5)
  • [ ] Search functionality works
  • [ ] Spot check confirms accuracy
  • [ ] No regressions detected
  • [ ] Quality maintained
  • [ ] Update finalized OR rolled back if issues

Outputs:

  • Validation report
  • Final updated skill (if passed)
  • OR restored backup (if failed)
  • Update success/failure status

Time Estimate: 20-30 minutes


Post-Workflow: Update Complete

If Successful:

  1. ✅ anthropic-expert updated with latest documentation
  2. ✅ Changelog.md updated with changes
  3. ✅ Quality validated (structure 5/5)
  4. ✅ Ready to use with latest Anthropic features

If Failed:

  1. ❌ Updates rolled back
  2. 📋 Investigation needed (check logs)
  3. 🔄 Manual review of changes
  4. 🛠️ Fix issues and retry

Next Check: Weekly or when Anthropic announces updates


Best Practices

1. Schedule Regular Updates

Practice: Weekly automated check for updates

Implementation: Cron job or scheduled task

# Weekly check (Mondays at 9am)
0 9 * * 1 cd /path/to/skills && python anthropic-docs-updater/scripts/check-updates.py --all

2. Review Breaking Changes Manually

Practice: For major version updates, review changes before applying

Why: Breaking changes may require manual updates to examples

3. Backup Before Updating

Practice: Always backup (Step 4 does this automatically)

Why: Can rollback if updates cause issues

4. Validate After Updates

Practice: Always run Step 5 (validation)

Why: Ensures updates don't break skill quality

5. Track Update History

Practice: Maintain detailed changelog

Why: Understand what changed when, aids troubleshooting


Quick Reference

The 5-Step Update Workflow

Step Focus Time Automation Output
1. Check Updates Detect changes 10-15m 100% update-report.txt
2. Fetch Docs Download content 15-30m 100% temp/docs/
3. Process Content Convert format 20-40m 90% processed/docs/
4. Update Skill Integrate content 15-30m 95% Updated skill
5. Validate Ensure quality 20-30m 70% Validation report

Total Time: 1.5-2.5 hours (mostly automated)

Update Sources

Source What It Tracks Check Method
GitHub Releases SDK versions GitHub API
Release Notes API features Web scraping
Claude Code Changelog CLI updates Web scraping
Anthropic News Model announcements Manual/RSS

Common Commands

# Check for updates
python scripts/check-updates.py --all

# Fetch new documentation
python scripts/fetch-docs.py --all

# Process fetched docs
python scripts/process-docs.py --input temp/ --output processed/

# Apply updates
python scripts/update-skill.py --integrate processed/

# Validate
python scripts/update-skill.py --validate

# Rollback if needed
python scripts/update-skill.py --rollback

Automation Schedule

Recommended: Weekly checks, monthly comprehensive updates

Cron Example (check weekly, update monthly):

# Check for updates every Monday
0 9 * * 1 python check-updates.py --all > /tmp/anthropic-updates.log

# Full update first Monday of month
0 10 1-7 * 1 bash run-full-update.sh

anthropic-docs-updater ensures anthropic-expert stays current with the latest Anthropic products, features, and documentation through automated update detection, fetching, processing, and integration.