fastapi-route-change
星标0
分支0
更新时间2026年5月11日 08:30
Use when adding, renaming, or modifying a FastAPI route in genereviews-link.
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
SKILL.md
readonly菜单
Use when adding, renaming, or modifying a FastAPI route in genereviews-link.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when `make ci-local` fails or a GitHub Actions run reports a CI failure.
Use when adding, renaming, or changing GeneReview-Link MCP tools, resources, or schemas.
Use when modifying NCBI E-utilities or NCBI Bookshelf scraping logic in eutils_client.py.
Use before tagging a release of genereviews-link.
| name | fastapi-route-change |
| description | Use when adding, renaming, or modifying a FastAPI route in genereviews-link. |
Follow AGENTS.md first.
genereview_link/api/routes/ and
reuse their pattern (router declaration, dependency injection, error
handling, response_model).genereview_link/models/ for request and
response shapes. Add new models there if needed.DataNotFoundError from the service layer (genereview_service.py)
for 404 cases; let the existing exception handler convert it to HTTP 404.server_manager.create_mcp_server's
mcp_custom_names and mcp_route_maps if the route should be exposed
via MCP.tests/test_api_integration.py and unit tests
for any new service logic in the appropriate test file.README.md API table if the public endpoint list changed.make ci-local before handoff.