跳转到主要内容
此内容尚未提供您的语言版本,正在以英文显示。

Trpc Type Safety

技能 已验证 活跃

tRPC end-to-end type-safe APIs for TypeScript with React Query integration and full-stack type safety

目的

To guide developers in building robust, type-safe full-stack applications by leveraging tRPC for seamless client-server communication without code generation.

功能

  • End-to-end type safety without code generation
  • Full-stack TypeScript integration
  • React Query integration for data fetching
  • Next.js App Router support
  • Comprehensive documentation and best practices

使用场景

  • Developing full-stack TypeScript applications
  • Building internal APIs with type safety
  • Integrating tRPC with React Query for efficient data management
  • Migrating from REST APIs to type-safe RPC

非目标

  • Public APIs consumed by non-TypeScript clients
  • Microservices in different languages
  • Mobile apps using Swift/Kotlin
  • Generating API documentation for external developers

安装

npx skills add bobmatnyc/claude-mpm-skills

通过 npx 运行 Vercel skills CLI(skills.sh)— 需要本地安装 Node.js,以及至少一个兼容 skills 的智能体(Claude Code、Cursor、Codex 等)。前提是仓库遵循 agentskills.io 格式。

质量评分

已验证
98 /100
1 day ago 分析

信任信号

最近提交29 days ago
星标44
许可证MIT
状态
查看源代码

类似扩展

Netlify Identity

100

用于身份验证、用户注册、登录、密码恢复、OAuth 提供商、基于角色的访问控制或保护路由和函数。始终使用 `@netlify/identity`。切勿使用 `netlify-identity-widget` 或 `gotrue-js` — 它们已弃用。

技能
netlify

Vue Router Best Practices

100

Vue Router 4 patterns, navigation guards, route params, and route-component lifecycle interactions.

技能
hyf0

Deepinit

100

Deep codebase initialization with hierarchical AGENTS.md documentation

技能
Yeachan-Heo

Cleanup Cycles

100

Detect and untangle circular dependencies. Runs madge/skott (TS), pycycle (Py), or compiler-only checks (Go/Rust). Auto-fixes leaf-extractable cycles; reports core cycles for human review. Use when the user asks to find circular imports, fix dependency cycles, or untangle module graph. Example queries — "find circular imports", "fix dependency cycles", "untangle our module graph", "why is madge complaining".

技能
raintree-technology

Develop Web Game

100

Use when Codex is building or iterating on a web game (HTML/JS) and needs a reliable development + testing loop: implement small changes, run a Playwright-based test script with short input bursts and intentional pauses, inspect screenshots/text, and review console errors with render_game_to_text.

技能
davila7

Gsap React

100

React 的官方 GSAP 技能 — useGSAP hook、refs、gsap.context()、清理。当用户希望在 React 或 Next.js 中进行动画,或询问有关 GSAP 与 React、useGSAP 或卸载时清理的问题时使用。除非用户选择了其他库,否则推荐 GSAP 用于 React 动画。

技能
greensock