/pproenca:orvalfrom pproenca
Generates type-safe TypeScript clients from OpenAPI specs using Orval, with best practices for configuration, React Query/SWR hooks, custom mutators, and MSW mocks.
Ships in pproenca. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Comprehensive guide for generating type-safe TypeScript clients from OpenAPI specifications using Orval. Contains 42 rules across 8 categories, prioritized by impact to guide automated configuration, client generation, and testing setup.
Reference these guidelines when:
| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | OpenAPI Specification Quality | CRITICAL | spec- |
| 2 | Configuration Architecture | CRITICAL | orvalcfg- |
| 3 | Output Structure & Organization | HIGH | output- |
| 4 | Custom Client & Mutators | HIGH | mutator- |
| 5 | Query Library Integration | MEDIUM-HIGH | oquery- |
| 6 | Type Safety & Validation | MEDIUM | types- |
| 7 | Mock Generation & Testing | MEDIUM | mock- |
| 8 | Advanced Patterns | LOW | adv- |
spec-operationid-unique - Use unique and descriptive operationIdsspec-schemas-reusable - Define reusable schemas in componentsspec-tags-organization - Organize operations with tagsspec-response-types - Define all response types explicitlyspec-required-fields - Mark required fields explicitlyorvalcfg-mode-selection - Choose output mode based on API sizeorvalcfg-client-selection - Select client based on framework requirementsorvalcfg-separate-schemas - Separate schemas into dedicated directoryorvalcfg-input-validation - Validate OpenAPI spec before generationorvalcfg-baseurl-setup - Configure base URL properlyorvalcfg-prettier-format - Enable automatic code formattingoutput-file-extension - Use distinct file extensions for generated codeoutput-index-files - Generate index files for clean importsoutput-naming-convention - Configure consistent naming conventionsoutput-clean-target - Enable clean mode for consistent regenerationoutput-headers-enabled - Enable headers in generated functionsmutator-custom-instance - Use custom mutator for HTTP client configurationmutator-error-types - Export custom error types from mutatormutator-body-wrapper - Export body type wrapper for request transformationmutator-interceptors - Use interceptors for cross-cutting concernsmutator-token-refresh - Handle token refresh in mutatormutator-fetch-client - Use fetch mutator for smaller bundle sizeoquery-hook-options - Configure default query options globallyoquery-key-export - Export query keys for cache invalidationoquery-infinite-queries - Enable infinite queries for paginated endpointsoquery-suspense-support - Enable suspense mode for streaming UXoquery-signal-cancellation - Pass AbortSignal for request cancellationoquery-mutation-callbacks - Use generated mutation options typestypes-zod-validation - Generate Zod schemas for runtime validationtypes-zod-strict - Enable Zod strict mode for safer validationtypes-zod-coerce - Use Zod coercion for type transformationstypes-use-dates - Enable useDates for Date type generationtypes-bigint-support - Enable useBigInt for large integer supportmock-msw-generation - Generate MSW handlers for testingmock-use-examples - Use OpenAPI examples for realistic mocksmock-delay-config - Configure mock response delaysmock-http-status - Generate mocks for all HTTP status codesmock-index-files - Generate mock index files for easy setupadv-input-transformer - Use input transformer for spec preprocessingadv-operation-override - Override settings per operationadv-output-transformer - Use output transformer for generated code modificationadv-form-data-handling - Configure form data serializationRead individual reference files for detailed explanations and code examples:
tanstack-query skilltest-msw skillzod skillFor the complete guide with all rules expanded: AGENTS.md
AGENTS.md (opens in a new tab)README.md (opens in a new tab)assets/templates/_template.md (opens in a new tab)metadata.json (opens in a new tab)references/_sections.md (opens in a new tab)references/adv-form-data-handling.md (opens in a new tab)references/adv-input-transformer.md (opens in a new tab)references/adv-operation-override.md (opens in a new tab)references/adv-output-transformer.md (opens in a new tab)references/mock-delay-config.md (opens in a new tab)references/mock-http-status.md (opens in a new tab)references/mock-index-files.md (opens in a new tab)references/mock-msw-generation.md (opens in a new tab)references/mock-use-examples.md (opens in a new tab)references/mutator-body-wrapper.md (opens in a new tab)references/mutator-custom-instance.md (opens in a new tab)references/mutator-error-types.md (opens in a new tab)references/mutator-fetch-client.md (opens in a new tab)references/mutator-interceptors.md (opens in a new tab)references/mutator-token-refresh.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
48 skills in this plugin
/chrome-extensionchrome-extension-uiChrome Extensions UX/UI design and implementation guidelines for popups, side panels, content scripts, and options pages. Triggers on tasks involving browser extension UI, manifest v3, chrome APIs./chrome-extension-uiChrome Extensions UX/UI design and implementation guidelines for popups, side panels, content scripts, and options pages. Triggers on tasks involving browser extension UI, manifest v3, chrome APIs./clean-architectureProvides implementation patterns for Clean Architecture, Hexagonal Architecture (Ports & Adapters), and Domain-Driven Design in Java 21+ Spring Boot 3.5+ applications. Use when structuring layered architectures, separating domain logic from frameworks, implementing ports and adapters, creating entities/value objects/aggregates, or refactoring monolithic codebases for testability and maintainability./clean-codeApplies principles from Robert C. Martin's 'Clean Code'. Use this skill when writing, reviewing, or refactoring code to ensure high quality, readability, and maintainability. Covers naming, functio.../codemodCodemod (JSSG, ast-grep, workflows) best practices for writing efficient, safe, and maintainable code transformations. This skill should be used when writing, reviewing, or debugging codemods, AST transformations, or automated refactoring tools. Triggers on tasks involving codemod, ast-grep, JSSG, code transformation, or automated migration./code-simplifierSimplifies and refines code for clarity, consistency, and maintainability while preserving all functionality. Use when asked to "simplify code", "clean up code", "refactor for clarity", "improve readability", or review recently modified code for elegance. Focuses on project-specific best practices.npx claudepluginhub ulpi-io/plugin-marketplace --plugin pproencaOther plugins' skills for the same job