本文へ移動
cccskills
無料GitHub で公開

claude-code-bible

Fetch Claude Code official documentation. Use when updating local reference docs or checking official spec.

インストール方法を見る

含まれるファイル(2)

  • SKILL.md2.5 KB
  • scripts/fetch-docs.js6.5 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Claude Code Bible

Official documentation reference management for Claude Code.

Purpose

Maintain up-to-date local copies of Claude Code official documentation.

Commands

/claude-code-bible update

Fetch the latest documentation from code.claude.com.

What it does:

  • Fetches https://code.claude.com/docs/llms.txt
  • Extracts all documentation URLs from the llms.txt content
  • Downloads each documentation page and saves as markdown
  • Writes a timestamp file for cache tracking
  • Respects a 24-hour cache (skip if fresh, unless --force used)

Usage:

# Fetch latest docs (skip if cached < 24h)
node .claude/skills/claude-code-bible/scripts/fetch-docs.js

# Force update even if cache is fresh
node .claude/skills/claude-code-bible/scripts/fetch-docs.js --force

# Custom output directory
node .claude/skills/claude-code-bible/scripts/fetch-docs.js --output /path/to/output

Default output location:

~/.claude/references/claude-code/
├── llms.txt              # Master index
├── last-updated.txt      # ISO timestamp
├── <doc-name>.md         # Individual doc pages
└── ...

Exit codes:

  • 0: Success (or cache is fresh)
  • 1: Fatal error

Implementation Notes

Fetch Script (fetch-docs.js)

Features:

  • Uses only Node.js built-in modules (https, fs, path)
  • Handles HTTP redirects (3xx responses)
  • Respects server with 200ms delay between requests
  • 24-hour cache to avoid unnecessary fetches
  • Comprehensive error reporting

Cache behavior:

  • Checks last-updated.txt timestamp
  • Skips fetch if < 24 hours old (unless --force)
  • Always updates timestamp on successful fetch

Error handling:

  • Reports HTTP errors with status codes
  • Continues on individual page failures
  • Prints summary of successes and failures

Integration with Other Skills

update-docs

  • Should update local docs first: /claude-code-bible update

dev-review

  • Can reference official docs for best practices

Benefits

  1. Up-to-date: Always have latest documentation locally
  2. Offline access: Work with docs even without internet
  3. Learning: Reference official patterns when creating new components

Notes

  • The fetch script is production-ready and can be used immediately
  • Consider running /claude-code-bible update weekly to stay current

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Pre-action boundary checking — validates agent tool calls against declared capabilities and task contracts

日本語の概要は準備中です。原文の説明を表示しています。

baekenough/second-brain152026年10月8日 更新

Auto-detect project context and optimize harness — deactivate unused agents/skills, suggest missing experts, generate project profile

日本語の概要は準備中です。原文の説明を表示しています。

baekenough/second-brain152026年10月8日 更新

Adversarial code review using attacker mindset — trust boundary, attack surface, business logic, and defense evaluation

日本語の概要は準備中です。原文の説明を表示しています。

baekenough/second-brain152026年10月8日 更新

Apache Airflow best practices for DAG authoring, testing, and production deployment

日本語の概要は準備中です。原文の説明を表示しています。

baekenough/second-brain152026年10月8日 更新

Alembic migration patterns for naming conventions, safety checks, expand-contract, env.py configuration, and CI integration

日本語の概要は準備中です。原文の説明を表示しています。

baekenough/second-brain152026年10月8日 更新

Pre-routing ambiguity analysis — scores request clarity and asks clarifying questions when needed (inspired by ouroboros)

日本語の概要は準備中です。原文の説明を表示しています。

baekenough/second-brain152026年10月8日 更新

baekenough のスキルをすべて見る

このスキルの問題を報告する