Fetcher openapi generator
Skill Ahoo-Wang/skills/plugins/ahoo-fetcher-skills/skills/fetcher-openapi-generator
A central aggregation repository for Agent Skills from Ahoo-Wang's open source projects.
npx -y skills add Ahoo-Wang/skills --skill fetcher-openapi-generatorAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 3 stars3 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Use when generating type-safe Fetcher API clients from OpenAPI 3.x specs, including fetcher-generator CLI usage, CodeGenerator API, GeneratorConfiguration, parse and generation pipeline, model generation, client generation, barrel exports, and Wow CQRS generation support.
SKILL.md
2.0 KB, as published. Nobody here has run it
fetcher-openapi-generator
Use This Skill When
- The user wants TypeScript client code generated from an OpenAPI spec.
- The task mentions
fetcher-generator, CLI options, config files, or programmatic generation. - The task involves generated models, API clients, barrel exports, or post-processing.
- The task needs Wow CQRS command/query clients generated from OpenAPI metadata.
Workflow
- Choose CLI generation for project usage and
CodeGeneratoronly for embedded tooling. - Resolve input, output, config, and tsconfig paths before generating.
- Enable Wow CQRS generation only when bounded-context and aggregate metadata are present and intended.
- Inspect generated structure and barrel exports after generation.
- Load
references/api.mdfor CLI flags, config shape, pipeline stages, and Wow CQRS generation rules.
Key Practices
- Treat generated code as an output boundary; adjust generator config rather than hand-editing generated clients.
- Use explicit type mappings when OpenAPI schemas need domain-specific TypeScript types.
- Keep API client tag exclusion and CQRS generation rules aligned so duplicate clients are not emitted.
References
references/api.md: Detailed package API, examples, and edge-case guidance. Load it only when the task needs CLI commands, CodeGenerator usage, configuration fields, output structure, pipeline stages, and Wow CQRS generation examples.
Related Skills
- $fetcher-openapi-types: Use for raw OpenAPI TypeScript modeling.
- $fetcher-wow-cqrs: Use for runtime Wow command and query client behavior.
- $fetcher-integration: Use for the generated clients' Fetcher runtime assumptions.