use-ai-gateway-provider

作成者: vercel

Use the Vercel AI Gateway provider for PHP (the `vercel-labs/ai-gateway-provider` Composer package and the Vercel AI Gateway Provider WordPress plugin) to call…

npx skills add https://github.com/vercel-labs/ai-gateway-provider-php --skill use-ai-gateway-provider

Vercel AI Gateway provider for PHP

A provider for the WordPress/php-ai-client SDK that routes generative AI requests through the Vercel AI Gateway. It ships both as a Composer package and as a WordPress plugin.

Read the bundled docs before writing any code

The package bundles usage documentation that matches the installed version. Read the file for the context you are working in — do not write code against this provider without it.

Scenario A: If in the context of a WordPress project

Read the docs at wp-content/plugins/vercel-ai-gateway-provider/docs/wordpress.md.

If more specific detail knowledge about low-level provider behavior is needed that the docs do not cover, you may inspect the source code in wp-content/plugins/vercel-ai-gateway-provider/src/.

If the plugin is not installed yet, install the Vercel AI Gateway Provider plugin.

Scenario B: If in the context of a non-WordPress PHP project

Read the docs at vendor/vercel-labs/ai-gateway-provider/docs/php.md.

If more specific detail knowledge about low-level provider behavior is needed that the docs do not cover, you may inspect the source code in vendor/vercel-labs/ai-gateway-provider/src/.

If the package is not installed yet, run composer require vercel-labs/ai-gateway-provider, then read the docs.

Do not answer from memory

This provider and the underlying SDK are young and change between releases, and available models change constantly. Whatever you recall about entry points, method names, or model IDs is likely wrong or stale. Ground every API call in the bundled docs, and in the package source when the docs do not cover it.

If neither the docs nor the source support an answer, say so instead of guessing.

vercelのその他のスキル

vercel
vercel
ローカル開発およびテスト用のエミュレートされたVercel REST API。ユーザーがローカルでVercel APIエンドポイントとやり取りしたり、Vercel統合をテストしたりする必要がある場合に使用します。
cron-jobs
vercel
Vercel Cron Jobsの設定とベストプラクティス。vercel.jsonでスケジュールタスクを追加、編集、デバッグする際に使用します。
codegen
vercel
json-renderのコード生成ユーティリティ。UI仕様からコードを生成する際、カスタムコードエクスポーターの構築、仕様の走査、プロパティのシリアライズなどに使用します。
next-best-practice
vercel
Next.jsのベストプラクティス - ファイル規約、RSC境界、データパターン、非同期API、メタデータ、エラーハンドリング、ルートハンドラ、画像/フォント最適化、…
benchmark-sandbox
vercel
Vercel Sandbox上でvercel-pluginの評価シナリオを実行し、ローカルのWezTermパネルの代わりに使用します。Claude Codeとプラグインがプリインストールされた一時的なマイクロVMをプロビジョニングします…
write-guide
vercel
現実世界のユースケースを段階的な例を通じて教える技術ガイドを作成します。概念は読者が必要とするタイミングでのみ導入されます。
benchmark-testing
vercel
ベンチマークテストプロジェクトを作成し、起動して、現実的なシナリオ全体でvercel-pluginスキルインジェクションを実行します。隔離されたディレクトリを設定し、インストールし…
ai-gateway
vercel
Vercel AI Gatewayの専門的なガイダンス。モデルルーティング、プロバイダーのフェイルオーバー、コスト追跡、または統一された方法で複数のAIプロバイダーを管理する際に使用します。