From vibe-to-prod-skills
Proactive OpenAPI workflow. Triggers when OpenAPI spec files are modified to validate, regenerate code, and verify builds.
npx claudepluginhub shimyth/vibe-to-prod --plugin vibe-to-prod-skillsThis skill uses the workspace's default tool permissions.
Automatically runs the OpenAPI workflow when spec files are modified.
Mandates invoking relevant skills via tools before any response in coding sessions. Covers access, priorities, and adaptations for Claude Code, Copilot CLI, Gemini CLI.
Share bugs, ideas, or general feedback.
Automatically runs the OpenAPI workflow when spec files are modified.
This skill should activate when:
backend/api/*.yaml are modified| Type | Path | Purpose |
|---|---|---|
| API Spec | backend/api/openapi.yaml | Public API definition |
python3 scripts/openapi_workflow.py --validate
python3 scripts/openapi_workflow.py --codegen
This generates:
backend/internal/generated/mobile/ios/App/Generated/mobile/android/app/src/main/java/.../generated/web/src/generated/python3 scripts/openapi_workflow.py --build
python3 scripts/openapi_workflow.py --full
| Rule | Why |
|---|---|
| Define response schemas properly | Inline schemas don't generate reusable types |
| Use plural file names | REST convention: users.yaml not user.yaml |
| Always regenerate after spec changes | Generated code must match spec |
| Verify ALL platforms build | API changes affect backend + iOS + Android + web |
## OpenAPI Workflow Results
**Spec Modified**: [file path]
**Validation**: ✅ Passed / ❌ Failed
**Code Generation**: ✅ All platforms / ❌ Failed for [platform]
**Build Verification**: ✅ All platforms / ❌ Failed for [platform]
[Details of any failures]
scripts/openapi_workflow.pybackend/api/openapi.yaml