fastapi route change
- Repo stars 0
- Author repo skills-registry
- Domain
- Engineering
- Author-declared agents
- No explicit declaration found; this is not inferred or tested compatibility
- Static check
- 88 / 100 · heuristic scan, not runtime safety proof
- Runtime evidence
- Not run; no isolated runtime test evidence is currently recorded
- Author / version / license
- @tomevault-io · no license declared
- Token usage
- Lean
- Setup complexity
- Plug-and-play
- External API key
- Not required
- Operating systems
- Unspecified (assume cross-platform)
- Runtime requirements
- No explicit requirements detected
- Detected file/system behavior
-
- Read-only
- Write / modify
- Network behavior
- Local-only
- Install commands
- None (reference only)
Heads up: Tool permissions are not declared; actual access depends on the runtime.
# FastAPI Route Change
Follow `AGENTS.md` first.
## Workflow
1. Inspect existing route modules under `genereview_link/api/routes/` and
reuse their pattern (router declaration, dependency injection, error
handling, response_model).
2. Use Pydantic models from `genereview_link/models/` for request and
response shapes. Add new models there if needed.
3. Raise `DataNotFoundError` from the service layer (genereview_service.py)
for 404 cases; let the existing exception handler convert it to HTTP 404.
4. Update or add MCP tool naming in `server_manager.create_mcp_server`'s
`mcp_custom_names` and `mcp_route_maps` if the route should be exposed
via MCP.
5. Add route-level tests in `tests/test_api_integration.py` and unit tests
for any new service logic in the appropriate test file.
6. Update `README.md` API table if the public endpoint list changed.
7. Run `make ci-local` before handoff.
---
> Source: [berntpopp/genereviews-link](https://github.com/berntpopp/genereviews-link) — distributed by [TomeVault](https://tomevault.io).
<!-- tomevault:4.0:skill_md:2026-05-22 -->
Sections and files
Listed in source order.
sections -> Workflow
terms -> Follow AGENTS.md first. · --- > Source: [berntpopp/genereviews-link](https://github.com/berntpopp/genereviews-link) — distributed by [TomeVault](https://tomevault.io).
files/cmd -> AGENTS.md · genereview_link/api/routes/ · genereview_link/models/ · DataNotFoundError · server_manager.create_mcp_server · mcp_custom_names · mcp_route_maps · tests/test_api_integration.py
body sha256 -> 0301dc0503e9
Workflow
Inspect existing route modules under
genereview_link/api/routes/and reuse their pattern (router declaration, dependency injection, error handling, response_model). Use Pydantic models fromgenereview_link/models/for request and response shapes. Add new models there if needed.