A sample FastAPI application that demonstrates Shield's pipeline for application code.
This example walks through Shield's pipeline using a FastAPI task management API with intentional issues:
- Security issues: Missing input validation, no auth on endpoints
- Operations issues: No error handling on external calls, missing logging
- DX issues: Vague acceptance criteria in the plan
- Testing gaps: No test coverage for edge cases
Research FastAPI best practices, API security patterns, and testing strategies.
Generate a plan for the task management API with stories.
Reviewers evaluate the plan:
- Security reviewer checks auth strategy and input validation
- DX engineer checks story clarity
- Agile coach checks sprint-readiness
TDD-based implementation with per-step review.
Comprehensive review catches missing validation, auth gaps, and test coverage.
- Install Shield:
/plugin install shield@tesseract cdinto this directory- Run
/research FastAPI best practices for task management APIs - Follow the pipeline from there
src/main.py— FastAPI app entry pointsrc/routes/tasks.py— Task CRUD endpointssrc/models.py— Pydantic modelstests/test_tasks.py— Basic test (incomplete)