一键导入
graphql-expert
GraphQL schema, resolver, authorization, DataLoader, pagination, query cost/depth limiting, error masking, and production server guidance.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
GraphQL schema, resolver, authorization, DataLoader, pagination, query cost/depth limiting, error masking, and production server guidance.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
WCAG 2.2 accessibility audit and remediation guidance for frontend code, UI reviews, keyboard/focus testing, ARIA usage, contrast, forms, and regression checks.
Local-first personal AI agent gateway architecture for Windows with messaging integrations, tool execution, and real-time streaming.
Anthropic Claude API expert - master Messages API requests, responses, streaming, tool use, prompt caching, and current Claude 4-family model practices.
REST and HTTP API design with OpenAPI 3.1, resource modeling, versioning, pagination, idempotency, errors, validation, auth boundaries, and production compatibility.
Expert in converting between AI provider APIs - Anthropic, Gemini, OpenRouter, Groq, Mistral, DeepSeek, and NVIDIA NIM.
Comprehensive authentication system for AI agent gateway with JWT tokens, session management, and multi-factor authentication.
| name | graphql-expert |
| version | 1.0.0 |
| description | GraphQL schema, resolver, authorization, DataLoader, pagination, query cost/depth limiting, error masking, and production server guidance. |
| author | skillregistry |
| license | MIT |
| agents | ["cursor"] |
| categories | ["backend"] |
| tags | ["graphql","api","dataloader"] |
Design GraphQL APIs around explicit schema contracts, bounded execution cost, resolver batching, field-level authorization, and predictable pagination.
import DataLoader from "dataloader";
type Context = {
userId?: string;
loaders: {
userById: DataLoader<string, User | null>;
};
};
export function createContext(): Context {
return {
loaders: {
userById: new DataLoader(async (ids) => userStore.findManyByIds([...ids])),
},
};
}
export const resolvers = {
Query: {
session: (_: unknown, args: { id: string }, ctx: Context) => {
requireAuth(ctx);
return sessionStore.findByIdForUser(args.id, ctx.userId!);
},
},
Session: {
owner: (session: Session, _: unknown, ctx: Context) => ctx.loaders.userById.load(session.ownerId),
},
};
first/last limits with max bounds.pnpm test
pnpm exec graphql-inspector validate schema.graphql
Test at least: unauthorized field access, nested list limits, DataLoader batching, and error masking.