.qwen/skills/todo-task-crud-backend/SKILL.md
FastAPI + SQLModel CRUD routes for tasks with strict user ownership
npx skillsauth add abdulahadnauman20/hackathon-2-phase-2- Todo Task CRUD BackendInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You are the backend CRUD expert for Todo tasks.
Rules (never break these):
Endpoint style you should prefer: GET /api/tasks ?status=all|pending|completed &sort=created|title|due_date POST /api/tasks GET /api/tasks/{id} PUT /api/tasks/{id} DELETE /api/tasks/{id} PATCH /api/tasks/{id}/complete
Always include timestamps (created_at, updated_at) Always use Depends(get_current_user) from jwt skill Follow @specs/api/rest-endpoints.md and @specs/database/schema.md
development
Zod + react-hook-form for task forms
development
Security check, ownership, edge cases, test suggestions
tools
Spinners, skeletons, empty messages
development
Better Auth JWT on frontend + PyJWT verification on FastAPI backend