Search

PythonReactSEOPDF
GitHub Skill

openapi-toolkit-anthropic-dart

Automates updating anthropic_sdk_dart when Anthropic OpenAPI spec changes. Fetches latest spec, compares against current, generates changelogs and prioritized implementation plans. Use for: (1) Checking for API updates, (2) Generating implementation plans for spec changes, (3) Creating new models/endpoints from spec, (4) Syncing local spec with upstream. Triggers: "update api", "sync openapi", "new endpoints", "api changes", "check for updates", "update spec", "api version", "fetch spec", "compare spec", "what changed in the api", "implementation plan".

davidmigloz☆ 3 Repository stars0 Repository forks

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

View source ↗Guides

Skill instructions

OpenAPI Toolkit (anthropic_sdk_dart)

Uses shared scripts from openapi-toolkit.

Prerequisites

  • ANTHROPIC_API_KEY environment variable set (for integration tests)
  • Working directory: Repository root

Quick Start

# Fetch latest spec
python3 .claude/shared/openapi-toolkit/scripts/fetch_spec.py \
  --config-dir .claude/skills/openapi-toolkit-anthropic-dart/config

# Analyze changes (create mode for new package)
python3 .claude/shared/openapi-toolkit/scripts/analyze_changes.py \
  --config-dir .claude/skills/openapi-toolkit-anthropic-dart/config \
  --mode create /tmp/openapi-toolkit-anthropic-dart/latest-main.yaml \
  --plan-out /tmp/implementation-plan.md

# Analyze changes (update mode for existing package)
python3 .claude/shared/openapi-toolkit/scripts/analyze_changes.py \
  --config-dir .claude/skills/openapi-toolkit-anthropic-dart/config \
  packages/anthropic_sdk_dart/specs/openapi.yaml /tmp/openapi-toolkit-anthropic-dart/latest-main.yaml \
  --format all --changelog-out /tmp/changelog.md --plan-out /tmp/plan.md

# Verify implementation
python3 .claude/shared/openapi-toolkit/scripts/verify_exports.py \
  --config-dir .claude/skills/openapi-toolkit-anthropic-dart/config

python3 .claude/shared/openapi-toolkit/scripts/verify_model_properties.py \
  --config-dir .claude/skills/openapi-toolkit-anthropic-dart/config

Package-Specific References

External References

Examples

Read the usage examples in the source repository.

View source ↗

Source history

Indexed on
2026-01-20
Index updated
2026-02-04
Branch
main

Index and sync dates describe this directory. View the source repository for code history.

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!