Abridge連携コードのCIに合成データを使った回帰チェックを加え、同意状態、ノート確認、ログの秘匿、ロールバックなど顧客側の処理を検証します。
- Abridge連携の回帰テストを追加したいとき
- 同意やノート確認の処理を検証したいとき
- ログに機微情報が出ないか確かめたいとき
GraphQL APIのスキーマやリゾルバーを設計し、認可、効率的なデータ取得、リアルタイム購読を備えたサーバーを構築するスキルです。
Build production-ready GraphQL servers with schema design, resolvers, and subscriptions. Use when building GraphQL APIs with schemas and resolvers. Trigger with phrases like "build GraphQL API", "create GraphQL server", or "setup GraphQL".
実行スコア 未検証
インストール方法を見るGraphQLサーバーの設計から実装、テストまでを進めます。SDL先行またはコード先行でスキーマを作り、Query・Mutation・Subscriptionや入力型、ページネーション用の型を定義します。リゾルバーではDataLoaderを使って関連データの取得をまとめ、同じ問い合わせの繰り返しを抑えます。入力値の検証、フィールド単位の認可、クエリの深さや複雑さの制限、WebSocketによるリアルタイム購読も扱います。graphql-codegenによるTypeScript型生成や、クエリ・ミューテーション・購読のテストも対象です。
Node.jsまたはPythonでGraphQL APIを新規構築するときや、既存サーバーに認可や購読機能を追加するときに向いています。ネストしたデータ取得の効率を上げたい場合や、スキーマと実装の型をそろえて管理したい場合にも使えます。
Node.js 18以降またはPython 3.10以降の実行環境が必要です。データソースとなるデータベースとORMを想定し、本番の複数インスタンス構成ではRedisを使います。Apollo Server、Yoga、Mercurius、Strawberryなどを扱います。ライセンスはMITです。
この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。
インストールする前に、エージェントに与えられる指示の中身を確認できます。
Build production-ready GraphQL servers with SDL-first or code-first schema design, efficient resolver implementations with DataLoader batching, real-time subscriptions via WebSocket, and field-level authorization. Support Apollo Server, Yoga, Mercurius, and Strawberry across Node.js and Python runtimes.
graphql-codegen for TypeScript type generation from schema (recommended)Query, Mutation, and Subscription root types, input types for mutations, and connection types for paginated lists.@constraint(minLength: 1, maxLength: 255)).@auth(requires: ADMIN)) or resolver middleware that checks user roles from the GraphQL context.graphql-ws protocol over WebSocket with Redis pub/sub for multi-instance message distribution.graphql-codegen to ensure type safety between schema definitions and resolver implementations.executeOperation for query/mutation testing and WebSocket client tests for subscription verification.See references/implementation.md for the full implementation guide.
${CLAUDE_SKILL_DIR}/src/schema/ - GraphQL SDL type definitions organized by domain${CLAUDE_SKILL_DIR}/src/resolvers/ - Resolver implementations per type with DataLoader integration${CLAUDE_SKILL_DIR}/src/dataloaders/ - DataLoader factories for batched database queries${CLAUDE_SKILL_DIR}/src/directives/ - Custom schema directives (auth, validation, caching)${CLAUDE_SKILL_DIR}/src/scalars/ - Custom scalar type definitions (DateTime, JSON, Email)${CLAUDE_SKILL_DIR}/src/subscriptions/ - Subscription resolvers with pub/sub configuration${CLAUDE_SKILL_DIR}/generated/types.ts - Auto-generated TypeScript types from schema| Error | Cause | Solution |
|---|---|---|
| N+1 query detected | Resolver fetches related records individually inside list resolver | Wrap data access in DataLoader; batch by parent ID array; cache within request scope |
| Query complexity exceeded | Client sends deeply nested query exceeding complexity budget | Return error with current complexity score and maximum allowed; suggest query simplification |
| Subscription connection dropped | WebSocket heartbeat timeout or network interruption | Implement automatic reconnection in client; use graphql-ws connectionInitWaitTimeout |
| Partial resolver failure | One field resolver throws while others succeed | Return partial data with errors array per GraphQL spec; log failed resolver with context |
| Schema stitching conflict | Duplicate type names when merging multiple schema modules | Use schema namespacing or federation with @key directives to resolve type ownership |
Refer to references/errors.md for comprehensive error patterns.
E-commerce product catalog: Schema with Product, Category, Review types, DataLoader-backed resolvers for nested queries like products { reviews { author } }, and a productUpdated subscription for inventory changes.
Multi-tenant SaaS dashboard: Code-first schema using TypeGraphQL decorators, tenant-scoped resolvers extracting tenantId from JWT context, and field-level visibility based on subscription plan tier.
Federated microservice graph: Apollo Federation with @key and @external directives across User, Order, and Product subgraphs, composed into a unified supergraph with a gateway router.
See references/examples.md for additional examples.
graphql-ws protocol: https://github.com/enisdenjo/graphql-wsまだレビューはありません。使ってみた感想をお寄せください。
ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。
まだコメントはありません。最初のコメントを書いてみませんか。
Abridge連携コードのCIに合成データを使った回帰チェックを加え、同意状態、ノート確認、ログの秘匿、ロールバックなど顧客側の処理を検証します。
Abridgeの録音、記録の確認、Epicへの引き渡し、アクセスの不具合を観測情報から切り分け、患者情報を抑えた証拠と担当窓口への引き継ぎ資料を整理するスキル。
同意確認から録音、生成メモの根拠確認、編集、最終確定まで、臨床文書作成の手順と確認ポイントを整理するスキルです。
Abridgeで臨床家が確認した記録内容が、承認済みの手順でEpicの適切なテンプレート欄へ渡るか、テスト記録を使って対応関係や例外を検証するスキルです。
Abridgeの導入・更新判断に向け、利用定着率や業務の完了状況、診療記録の品質、支援負担を契約に基づく費用情報と照らし、継続や改善の選択肢を整理するスキル。
Abridgeの障害調査で、録音や診療記録を含めず、許可した項目だけを集めたサポート用資料と確認用マニフェストを作成します。