infinitylooplabs/react-template/openapi-development
Claude Code and agent skill by infinitylooplabs/react-template
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Generate and remove OpenAPI hook/config wiring for a backend domain in the React template.
Install
npx vskill@latest install infinitylooplabs/react-template/openapi-developmentSKILL.md
OpenAPI Development
When to use
- Adding a new OpenAPI domain integration (instance, config, reducers/middlewares, env key wiring).
- Removing an existing OpenAPI domain integration from the template project.
Quick start
0) Add integration:
ill addOpenApiConfig auth- or
ill addOpenApiConfig --name auth
1) Generate hooks for this domain:
npm run hooks:auth
2) Remove integration when needed:
ill removeOpenApiConfig auth- or
ill removeOpenApiConfig --name auth
What CLI adds (addOpenApiConfig)
- Backend env constant in
app/constants/app/index.ts: BACKEND_<NAME_SCREAMING_SNAKE>_URL- Axios wiring in
app/application/api/axios.ts: - backend URL import usage
- axios instance
${name}_instance - request/response interceptors
- RTK instance file:
- copies
_template/openapi-config/app/application/api/rtk/instances/sample.ts - renames to
app/application/api/rtk/instances/${name}.ts - OpenAPI generator config:
- copies
_template/openapi-config/openapi-config-sample.cjs - renames to
openapi-config-${name}.cjs package.jsonscript:- adds
"hooks:${name}": "... openapi-config-${name}.cjs" - Store generated wiring:
- inserts import + middleware in
app/application/store/generated/middlewares.ts - inserts import + reducer in
app/application/store/generated/reducers.ts
What CLI removes (removeOpenApiConfig)
- Removes all lines injected by
addOpenApiConfigin: app/constants/app/index.tsapp/application/api/axios.tspackage.jsonapp/application/store/generated/middlewares.tsapp/application/store/generated/reducers.ts- Deletes generated files:
app/features/generated/hooks/${name}.tsapp/application/api/rtk/instances/${name}.tsopenapi-config-${name}.cjs
Naming rules
- Input is expected in lowercase domain style (
auth,drafts,billing). - CLI also derives:
${nameScreamingSnake}for env constant names${Name}/${name}forms for injected code
Final checks
npm run hooks:${name}exists inpackage.jsonafter add.- New
openapi-config-${name}.cjsand${name}.tsRTK instance are present after add. - Store generated files include
${name}reducer/middleware lines after add. - After remove, all injected lines/files are gone.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/openapi-development/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/infinitylooplabs/react-template/openapi-development)