nocobase-swagger-fetch
Installation
SKILL.md
Goal
Retrieve live Swagger/OpenAPI JSON from NocoBase for endpoint discovery and request construction.
Workflow
- Ensure API authentication is ready by following
nocobase-api-callskill rules. - Confirm namespace explicitly (no default in this skill).
- Ask the agent to use
nocobase-api-callto fetch/swagger:getfor the confirmed namespace. - Do not directly call another skill's script path from this skill.
- Return raw JSON or pipe to
jqfor path/operation extraction. - If response indicates
404 Not Found, prompt user to check and enableAPI Docsplugin, then retry.
Dependency Gate
- Required dependency skill:
nocobase-api-call. - If
nocobase-api-callis not available, do not continue with fallback script-path calls. - Prompt user to install required skills first (for example:
npx skills add nocobase/skills), then resume.