
Api Contract Normalizer
Normalizes API contracts across different specs and formats into a consistent structure. Use this when you're dealing with OpenAPI, Swagger, RAML, or API Blueprint files and need them in a unified format for tooling, documentation generation, or migration projects. It's the kind of utility that saves you from writing yet another parser when integrating with third-party APIs or consolidating microservices documentation. The name suggests it focuses purely on transformation rather than generation, so you're likely feeding it existing contracts rather than building new ones. Handy if you're building API gateways, developer portals, or just trying to wrangle inconsistent API definitions into something your CI pipeline can validate.
- skills.sh installs
- 289
- GitHub stars
- 63
- last updated
- Aug 21, 2026
Install
$ npx -y skills add patricio0312rev/skills --skill api-contract-normalizer --agent claude-codeInstalls into .claude/skills of the current project.
Files
API Endpoint Generator
Generate production-ready CRUD API endpoints with validation and type safety.
Core Workflow
- Define resource: Entity name and schema
- Generate routes: POST, GET, PUT/PATCH, DELETE endpoints
- Add validation: Request body/query validation with Zod/Joi
- Type responses: TypeScript interfaces for all responses
- Error handling: Consistent error responses
- Documentation: OpenAPI/Swagger specs
- Examples: Request/response samples
Express + TypeScript Pattern
// types/user.types.ts
export interface User {
id: string;
email: string;
name: string;
role: "user" | "admin";
createdAt: Date;
updatedAt: Date;
}
export interface CreateUserDto {
email: string;
name: string;
password: string;
}
export interface UpdateUserDto {
name?: string;
email?: string;
}
export interface ApiResponse<T> {
success: boolean;
data?: T;
error?: ApiError;
meta?: PaginationMeta;
}
export interface ApiError {
code: string;
message: string;
details?: Record<string, string[]>;
}
Validation Schemas (Zod)
// schemas/user.schema.ts
import { z } from "zod";
Sponsors
Details
- Repository
- github.com/patricio0312rev/skills
- Categories
- Backend & APIs, Documentation, Debugging
- First seen
- Jun 3, 2026
More from patricio0312rev/skills
All 138- Event Driven Architect289
- Table Builder289
- Modal Drawer System288
- Prompt Template Builder287
- Input Validation Sanitization Auditor285
- Observability Setup285
- Api Security Hardener284
- Env Secrets Manager284
- Github Actions Pipeline Creator284
- Project Scaffolder284
- React Server Components284
- Agent Orchestration Planner283
- Adr Writer282
- Secrets Scanner282
- Background Jobs Designer281
- Monorepo Setup280
- Quality Gates Enforcer280
- System Design Generator280
- Webhook Receiver Hardener280
- Dev Onboarding Builder279
- Flaky Test Detective279
- Typescript Strict Migrator277
- Migration Planner276
- Pii Redaction Logging Policy Builder276