fastapi-route-change
Use when adding or modifying a FastAPI route in gtex-link. Walks through request/response models, route handler, service wiring, and tests.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when adding or modifying a FastAPI route in gtex-link. Walks through request/response models, route handler, service wiring, and tests.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Use when CI fails on a PR or main. Walks through reproducing locally and root-causing without bypassing checks.
Use when wiring a new upstream GTEx Portal endpoint into gtex-link. Walks through the spec, models, service, route, tests, and MCP exposure decision.
Use when adding, renaming, or removing an MCP tool in gtex-link. Walks through facade registration, profiles, descriptions, tests.
Use when preparing a versioned release of gtex-link. Walks through changelog, version bump, tag, and watching the release workflow.
| name | fastapi-route-change |
| description | Use when adding or modifying a FastAPI route in gtex-link. Walks through request/response models, route handler, service wiring, and tests. |
Use this skill when adding or modifying a FastAPI route under gtex_link/api/routes/.
gtex_link/models/requests.py. Field aliases map to GTEx Portal query parameters. Set sensible defaults and validators.gtex_link/models/responses.py. Match upstream field names.GTExService in gtex_link/services/gtex_service.py. Wrap upstream calls in the existing caching/rate-limiting paths. Do not bypass GTExClient.gtex_link/api/routes/. Reuse FastAPI Depends for GTExService. Return the Pydantic response model.tests/test_api/test_<category>_routes.py using respx to stub https://gtexportal.org/api/v2/....tests/test_services/ for the new service method.docs/README.md and add per-endpoint markdown via python docs/generate_endpoint_docs.py when the openapi spec is updated.mcp-tool-change skill if yes).make ci-local before pushing.