一键导入
openapi-anthropic
Update anthropic_sdk_dart from Anthropic OpenAPI changes. Use for spec refresh, change review, scaffolding, and verification.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Update anthropic_sdk_dart from Anthropic OpenAPI changes. Use for spec refresh, change review, scaffolding, and verification.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Update openai_dart from OpenAI OpenAPI changes. Use for spec refresh, change review, scaffolding, and verification.
Update googleai_dart from Google AI OpenAPI changes. Use for spec refresh, change review, scaffolding, and verification.
Update mistralai_dart from Mistral AI OpenAPI changes. Use for spec refresh, change review, scaffolding, and verification.
Extract validated review findings from merged PRs and update skill files (checklists, implementation patterns) to prevent recurring issues. Use whenever asked to learn from PR reviews, mine review comments, update review checklists, upskill from past feedback, or improve skills based on code review history — even if the user just says "upskill" or "learn from recent PRs."
Update ollama_dart from Ollama OpenAPI changes. Use for spec refresh, change review, scaffolding, and verification.
Release Dart packages in the ai_clients_dart monorepo. Detects changes since last release, bumps semver, writes changelogs, publishes to pub.dev, creates git tags, and creates a combined GitHub release. Use for releasing packages, publishing, version bumping, or creating releases.
| name | openapi-anthropic |
| description | Update anthropic_sdk_dart from Anthropic OpenAPI changes. Use for spec refresh, change review, scaffolding, and verification. |
python3 .agents/shared/api-toolkit/scripts/api_toolkit.py--config-dir.python3 .agents/shared/api-toolkit/scripts/api_toolkit.py fetch --config-dir packages/anthropic_sdk_dart/.agents/skills/openapi-anthropic/config
Fetch writes the candidate spec to the configured output_dir as latest-<spec>.json.
2. Review:
python3 .agents/shared/api-toolkit/scripts/api_toolkit.py review --config-dir packages/anthropic_sdk_dart/.agents/skills/openapi-anthropic/config
scaffold plus the package references, then promote the spec and update the pin:
cp /tmp/openapi-anthropic-dart/latest-main.json packages/anthropic_sdk_dart/specs/openapi.yaml (the canonical spec is JSON despite the .yaml extension).pinned_hash in config/specs.json to the new spec hash (visible in the fetch output's latest_hash field). If you skip this, the next fetch will still report outdated: true.python3 .agents/shared/api-toolkit/scripts/api_toolkit.py verify --config-dir packages/anthropic_sdk_dart/.agents/skills/openapi-anthropic/config --checks all --scope all
| Spec | Description |
|---|---|
main | Anthropic API for Claude models |
After implementation and before opening a PR, update documentation to reflect new types:
example/<feature>_example.dart if the change introduces a new tool, content block type, or API surface. Follow the pattern of existing examples (e.g., web_search_example.dart). Verify with dart analyze.README.md:
python3 .agents/shared/api-toolkit/scripts/api_toolkit.py generate-llms-txt \
--config-dir packages/anthropic_sdk_dart/.agents/skills/openapi-anthropic/config
cd packages/anthropic_sdk_dart
dart analyze --fatal-infos
dart format --set-exit-if-changed .
dart test test/unit/