Skip to main content

openapi-bootstrap

Estrellas11
Forks1
Actualizado18 de julio de 2026 a las 14:39

Self-bootstrap (dogfood) Shepherd's own HTTP API. Fetches the running system's OpenAPI (/api-docs/openapi.json), idempotently imports it as API definitions (with parsed request params / required flags / responses + a default assertion-bearing case per interface), then builds a REAL chained scenario that references api cases (kind=CASE): login → extract token → authenticated calls (Bearer ${token}) → extract orgId → chained call, plus a negative 401 case. Runs it in-process with an environment and reports per-step pass/fail + extracted variables. A companion script (scenarios_all.py) builds one real CRUD/lifecycle scenario per business module (every OpenAPI tag — org, project, requirement, task, delivery, verification, test-plan, etc.) and executes all of them with a per-module pass/fail report (currently 20/20 modules green). Use when the user asks to 自举 / dogfood / smoke-test the live API, to get scenario coverage across all business modules (所有业务模块的场景测试), or to orchestrate the system's own OpenAPI through /

Instalación

Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.

Explorador de archivos
5 archivos
SKILL.md
readonly