Claude-skill-registry documentation-protocol

Defines the standard operating procedure for querying Context7 to verify documentation before writing code. Use whenever working with Appwrite, Next.js, or any third-party SDK.

install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/documentation-protocol" ~/.claude/skills/majiayu000-claude-skill-registry-documentation-protocol && rm -rf "$T"
manifest: skills/data/documentation-protocol/SKILL.md
source content

Context7 Documentation Protocol

When to use this skill

  • Before generating any backend or framework-specific code.
  • When architectural decisions involve Next.js App Router or Appwrite SDK.
  • To avoid using deprecated methods from internal training data.

Workflow

  • Identify the specific library and version (e.g., Appwrite v1.6, Next.js 15).
  • Run
    resolve-library-id
    if the ID is not already known.
  • Run
    query-docs
    with a specific question (e.g., "latest Appwrite server side auth").
  • Validate the response against the current project context.
  • Implement code based strictly on the verified documentation.

Instructions

  • Query First: Always call
    context7
    tools before writing code for Appwrite or Next.js.
  • Reference IDs:
    • Appwrite:
      /appwrite/appwrite
      or
      /llmstxt/appwrite_io_llms_txt
    • Next.js:
      /vercel/next.js
  • Verify Syntax: Check for breaking changes (e.g., Appwrite Realtime channel formats).