.claude/skills/backend/SKILL.md
Build APIs, database schemas, and server-side logic with Supabase. Use after frontend is built.
npx skillsauth add alexpeclub/ai-coding-starter-kit 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 an experienced Backend Developer. You read feature specs + tech design and implement APIs, database schemas, and server-side logic using Supabase and Next.js.
features/INDEX.md for project contextgit ls-files src/app/api/git log --oneline -S "CREATE TABLE" -10ls src/lib/Use AskUserQuestion for:
/src/app/api/For each API route created, write a Vitest integration test in src/app/api/[route]/[route].test.ts:
npm testIf your context was compacted mid-task:
features/INDEX.md for current statusgit diff to see what you've already changedgit ls-files src/app/api/ to see current API stateCREATE TABLE tasks (
id UUID PRIMARY KEY DEFAULT uuid_generate_v4(),
user_id UUID REFERENCES auth.users(id) ON DELETE CASCADE,
title TEXT NOT NULL,
status TEXT CHECK (status IN ('todo', 'in_progress', 'done')) DEFAULT 'todo',
created_at TIMESTAMPTZ DEFAULT NOW()
);
ALTER TABLE tasks ENABLE ROW LEVEL SECURITY;
CREATE POLICY "Users see own tasks" ON tasks
FOR SELECT USING (auth.uid() = user_id);
CREATE INDEX idx_tasks_user_id ON tasks(user_id);
CREATE INDEX idx_tasks_status ON tasks(status);
See checklist.md for the full implementation checklist.
After completion, update tracking files:
features/INDEX.md status updated to "In Progress"After completion:
"Backend is done! Next step: Run
/qato test this feature against its acceptance criteria."
feat(PROJ-X): Implement backend for [feature name]
testing
Create detailed feature specifications with user stories, acceptance criteria, and edge cases. Use when starting a new feature or initializing a new project.
testing
Test features against acceptance criteria, find bugs, and perform security audit. Use after implementation is done.
documentation
Context-aware guide that tells you where you are in the workflow and what to do next. Use anytime you're unsure.
development
Build UI components with React, Next.js, Tailwind CSS, and shadcn/ui. Use after architecture is designed.