一键导入
migrate-api-to-graphql-client
Migrate the REST client path to a GraphQL client architecture with typed operations and incremental rollout.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Migrate the REST client path to a GraphQL client architecture with typed operations and incremental rollout.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Introduce React Hook Form + Zod for form state, validation, and typed submission flows.
Add or update URL redirects in the server redirect registry, with status-code rationale and E2E coverage.
Configure the private route as a hidden admin utility. Moves credentials to env vars; operator updates .env using .envTemplate instructions. No credentials passed to the skill.
Migrate the current REST API usage to TanStack Query with server-state caching, invalidation, and progressive rollout.
Replace GitHub Actions CI with GitLab CI/CD while preserving the same lint, typecheck, and Playwright E2E behavior and updating docs for gitlab.com settings.
Migrate the client UI layer from Chakra UI to shadcn/ui and fully remove Chakra dependencies.
| name | migrate-api-to-graphql-client |
| description | Migrate the REST client path to a GraphQL client architecture with typed operations and incremental rollout. |
Use this skill when a task asks to move from REST-first client calls to a GraphQL client model.
Introduce a GraphQL client path that can coexist with current REST endpoints during migration, then progressively replace REST usage.
src/client/data/ (for example: graphql-client.ts).src/client/data/graphql/).docs/API.md with GraphQL migration status and contract guidance.docs/ARCHITECTURE.md when transport/data layers change.CHANGELOG.md → Unreleased.npm run lintnpm run type-check