04-web-and-network/api-and-library-guide/SKILL.md
[日本語版](../../ja/04-web-and-network/api-and-library-guide/SKILL.md) # API and Library Design — Complete Guide > A systematic guide to designing, implementing, and operating APIs and libraries. Covers REST/GraphQL design, SDK development, versioning, security, documentation, and monitoring — everything you need to know about APIs. ## Target Audience - Backend engineers involved in API design and development - Engineers developing SDKs and libraries - Developers looking to improve API quality a
npx skillsauth add gaku52/claude-code-skills 04-web-and-network/api-and-library-guideInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
日本語版
A systematic guide to designing, implementing, and operating APIs and libraries. Covers REST/GraphQL design, SDK development, versioning, security, documentation, and monitoring — everything you need to know about APIs.
| File | Topic | Overview | |------|-------|----------| | 00-api-first-design.md | API-First Design | API design philosophy, contract-first development, OpenAPI | | 01-naming-and-conventions.md | Naming and Conventions | Endpoint naming, response formats, error design | | 02-versioning-strategy.md | Versioning Strategy | URI/header approaches, managing breaking changes | | 03-pagination-and-filtering.md | Pagination and Filtering | Cursor/offset, sorting, search |
| File | Topic | Overview | |------|-------|----------| | 00-rest-best-practices.md | REST Best Practices | HATEOAS, idempotency, content negotiation | | 01-graphql-fundamentals.md | GraphQL Fundamentals | Schema, Query/Mutation, resolvers | | 02-graphql-advanced.md | Advanced GraphQL | Subscriptions, DataLoader, caching | | 03-rest-vs-graphql.md | REST vs GraphQL | Selection criteria, hybrid approaches |
| File | Topic | Overview | |------|-------|----------| | 00-sdk-design.md | SDK Design | Client libraries, DX, type safety | | 01-npm-package-development.md | npm Package Development | package.json, building, publishing | | 02-api-documentation.md | API Documentation | OpenAPI/Swagger, auto-generation, Storybook |
| File | Topic | Overview | |------|-------|----------| | 00-authentication-patterns.md | Authentication Patterns | OAuth 2.0, API Key, JWT, mTLS | | 01-rate-limiting.md | Rate Limiting | Token Bucket, Sliding Window, distributed rate limiting | | 02-input-validation.md | Input Validation | Zod, JSON Schema, sanitization |
| File | Topic | Overview | |------|-------|----------| | 00-api-testing.md | API Testing | Integration testing, contract testing, load testing | | 01-monitoring-and-logging.md | Monitoring and Logging | Error rates, latency, distributed tracing | | 02-api-gateway.md | API Gateway | Kong, AWS API Gateway, centralized auth/rate limiting |
Design: 00-api-design-principles
Implementation: 01-rest-and-graphql → 02-sdk-and-libraries
Security: 03-api-security
Operations: 04-api-operations
REST API is well-suited for resource-based CRUD operations, with well-established caching strategies as a key strength. GraphQL excels at complex data fetching and frontend-driven development, solving the over-fetching and under-fetching problems. A hybrid approach — REST for public APIs (external partners) and GraphQL for internal BFF (Backend for Frontend) — works well for many projects.
From the very first design phase. Retrofitting a versioning strategy is difficult and disruptive to existing clients. The URI path approach (/api/v1/) is the simplest and most widely adopted. When upgrading versions, plan for a minimum of 12 months of parallel operation, and communicate deprecation notices proactively.
Developer experience (DX) should be the top priority. Specifically, four things matter most: type safety (providing TypeScript type definitions), an intuitive API interface (resource-based patterns), informative error messages (actionable information that tells the developer what to do next), and comprehensive documentation (with code examples). The Stripe and Twilio SDKs serve as excellent design references.
This guide covers the following topics:
tools
Fundamentals of modern web development. Framework selection (React, Vue, Next.js), project architecture, state management, routing, build tools, and CSS strategy best practices.
development
# React Development — Complete Guide > A comprehensive guide to building modern React applications with TypeScript. Covers fundamentals through advanced patterns, Hooks mastery, TypeScript integration, performance optimization, and algorithm internals. ## Target Audience - Developers new to React who want a solid foundation - Intermediate React developers looking to deepen their understanding of Hooks and TypeScript patterns - Engineers who want to understand React's internal algorithms (Virt
development
# Node.js Development Skill > A practical guide collection for Node.js development. Covers all aspects of Node.js application development, including Express, NestJS, asynchronous patterns, and performance optimization. ## Overview This skill covers the following topics: - **Express & NestJS**: When to use a lightweight framework vs. an enterprise framework - **Asynchronous Patterns**: Promise, async/await, Event Emitter, Streams, Worker Threads, Cluster - **Performance Optimization**: Memory
development
# Backend Development — Complete Guide > A comprehensive guide to backend engineering. Covers the fundamentals of HTTP, REST API design, databases, authentication, environment configuration, and algorithm proofs — everything needed to build robust server-side systems. ## Target Audience - Developers new to backend engineering - Frontend engineers expanding toward full-stack development - Engineers looking to solidify their understanding of server-side fundamentals ## Prerequisites - Basic p