.qwen/skills/todo-api-client-lib/SKILL.md
Typed fetch/axios wrapper with JWT
npx skillsauth add abdulahadnauman20/hackathon-2-phase-2- Todo API Client LibraryInstall 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.
Create /lib/api.ts:
export const api = {
async getTasks() {
const token = ... // from session or local
const res = await fetch('/api/tasks', {
headers: { Authorization: Bearer ${token} }
});
if (!res.ok) throw new Error(...);
return res.json();
},
// similar for post, put, delete, patch
}
development
Zod + react-hook-form for task forms
development
Security check, ownership, edge cases, test suggestions
development
FastAPI + SQLModel CRUD routes for tasks with strict user ownership
tools
Spinners, skeletons, empty messages