FISCFED9/CLI / .agents/skills/plugins/antigravity-awesome-skills-claude/skills/api-patterns
api-patterns
VerifiedAPI design principles and decision-making. REST vs GraphQL vs tRPC selection, response formats, versioning, pagination.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 2.5 KB |
| api-style.md | markdown | 1.1 KB |
| auth.md | markdown | 576 B |
| documentation.md | markdown | 549 B |
| graphql.md | markdown | 977 B |
| rate-limiting.md | markdown | 726 B |
| response.md | markdown | 921 B |
| rest.md | markdown | 1.3 KB |
| scripts/api_validator.py | script | 7.4 KB |
| security-testing.md | markdown | 2.8 KB |
| trpc.md | markdown | 801 B |
| versioning.md | markdown | 651 B |
trpc.md
View on GitHub# tRPC Principles
> End-to-end type safety for TypeScript monorepos.
## When to Use
```
✅ Perfect fit:
├── TypeScript on both ends
├── Monorepo structure
├── Internal tools
├── Rapid development
└── Type safety critical
❌ Poor fit:
├── Non-TypeScript clients
├── Public API
├── Need REST conventions
└── Multiple language backends
```
## Key Benefits
```
Why tRPC:
├── Zero schema maintenance
├── End-to-end type inference
├── IDE autocomplete across stack
├── Instant API changes reflected
└── No code generation step
```
## Integration Patterns
```
Common setups:
├── Next.js + tRPC (most common)
├── Monorepo with shared types
├── Remix + tRPC
└── Any TS frontend + backend
```
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation). | Stars: 318k | Updated | Claude CodeCodex | Verified | Install |
| brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK). | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |