Abridge連携コードのCIに合成データを使った回帰チェックを加え、同意状態、ノート確認、ログの秘匿、ロールバックなど顧客側の処理を検証します。
- Abridge連携の回帰テストを追加したいとき
- 同意やノート確認の処理を検証したいとき
- ログに機微情報が出ないか確かめたいとき
複数のAPIサービスへの入口をまとめ、URLやヘッダーによる振り分け、認証、レート制限、障害時の遮断、応答集約を備えたAPIゲートウェイを設計・実装します。
Create API gateways with routing, load balancing, rate limiting, and authentication. Use when routing and managing multiple API services. Trigger with phrases like "build API gateway", "create API router", or "setup API gateway".
実行スコア 未検証
インストール方法を見る複数のバックエンドAPIへの入口をひとつにまとめるAPIゲートウェイの設計と実装を支援します。パス、HTTPヘッダー、メソッドに応じて接続先を振り分け、負荷分散やJWT・APIキー・OAuth2トークンの認証、利用者ごとのレート制限を設定します。リクエストから内部用ヘッダーを除いたり、相関IDを付けたり、接続先に合わせてパスを書き換えたりする処理も扱います。複数サービスの応答をまとめるエンドポイントや、サービス単位で障害の連鎖を抑えるサーキットブレーカー、各サービスの状態を集約するヘルスチェックも対象です。ルーティング、認証、制限、障害時の動作を確認する結合テストも用意します。
マイクロサービスを複数運用し、クライアント側に接続先や認証処理を分散させたくないときに向いています。APIバージョンの切り替え、フロントエンド向けに複数の応答をまとめる処理、下流サービスの障害を検知する入口が必要な場合にも役立ちます。
複数のAPIサービスと、それぞれの接続先や認証要件が必要です。ゲートウェイのフレームワーク、TLS証明書、ログとメトリクスの収集環境も前提になります。
この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Create an API gateway that provides unified entry point routing, load balancing, authentication enforcement, rate limiting, request transformation, and response aggregation across multiple backend microservices. Support path-based and header-based routing, circuit breaker protection for downstream services, and centralized cross-cutting concern management.
/users/* -> user-service), header-based (X-API-Version: 2 -> v2-service), or method-based routing.X-User-ID, X-User-Roles)./health endpoint reports overall status based on individual backend service health, with degraded state support for non-critical service failures.See references/implementation.md for the full implementation guide.
${CLAUDE_SKILL_DIR}/gateway/config/routes.yaml - Route mapping definitions (path -> service)${CLAUDE_SKILL_DIR}/gateway/middleware/auth.js - Gateway-level authentication enforcement${CLAUDE_SKILL_DIR}/gateway/middleware/rate-limiter.js - Centralized rate limiting${CLAUDE_SKILL_DIR}/gateway/middleware/circuit-breaker.js - Per-service circuit breaker${CLAUDE_SKILL_DIR}/gateway/middleware/transform.js - Request/response transformation logic${CLAUDE_SKILL_DIR}/gateway/aggregators/ - Response aggregation for composite endpoints${CLAUDE_SKILL_DIR}/gateway/health.js - Aggregated health check endpoint${CLAUDE_SKILL_DIR}/tests/gateway/ - Gateway integration test suite| Error | Cause | Solution |
|---|---|---|
| 502 Bad Gateway | Backend service returned invalid response or connection refused | Return descriptive error identifying the failed backend; trigger circuit breaker if threshold met |
| 503 Circuit Open | Backend service circuit breaker is open due to repeated failures | Return Retry-After header; serve cached response if available; route to fallback service if configured |
| 504 Gateway Timeout | Backend service response exceeded gateway timeout threshold | Configure per-route timeout limits; implement timeout cascading shorter than client timeout |
| Routing miss | Request path does not match any configured route | Return 404 with list of available API paths; log unmatched routes for route configuration review |
| Auth header stripping | Proxy strips Authorization header before forwarding to backend | Configure gateway to preserve or transform auth headers; verify proxy proxy_pass_header settings |
Refer to references/errors.md for comprehensive error patterns.
Microservices gateway: Route /users/* to user-service (port 3001), /orders/* to order-service (port 3002), and /products/* to product-service (port 3003), with unified JWT validation and per-service circuit breakers.
BFF (Backend for Frontend): Gateway aggregates data from user-service, preferences-service, and notification-service into a single /dashboard response, reducing frontend API calls from 3 to 1.
API versioning gateway: Route requests to different backend deployments based on Accept-Version header, enabling blue-green deployments and gradual version migration without client-side URL changes.
See references/examples.md for additional examples.
まだレビューはありません。使ってみた感想をお寄せください。
ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。
まだコメントはありません。最初のコメントを書いてみませんか。
Abridge連携コードのCIに合成データを使った回帰チェックを加え、同意状態、ノート確認、ログの秘匿、ロールバックなど顧客側の処理を検証します。
Abridgeの録音、記録の確認、Epicへの引き渡し、アクセスの不具合を観測情報から切り分け、患者情報を抑えた証拠と担当窓口への引き継ぎ資料を整理するスキル。
同意確認から録音、生成メモの根拠確認、編集、最終確定まで、臨床文書作成の手順と確認ポイントを整理するスキルです。
Abridgeで臨床家が確認した記録内容が、承認済みの手順でEpicの適切なテンプレート欄へ渡るか、テスト記録を使って対応関係や例外を検証するスキルです。
Abridgeの導入・更新判断に向け、利用定着率や業務の完了状況、診療記録の品質、支援負担を契約に基づく費用情報と照らし、継続や改善の選択肢を整理するスキル。
Abridgeの障害調査で、録音や診療記録を含めず、許可した項目だけを集めたサポート用資料と確認用マニフェストを作成します。