# Backend Master

> Master skill for Backend Integration (Supabase) and API handling. Covers database schema, authentication, and SQL.

- Skill: `aibot88/backend-master-2` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add aibot88/backend-master-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/aibot88/backend-master-2/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Data & Analytics
- Author: aibot88 (https://skillmd.com/u/aibot88)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/aibot88/backend-master-2

---


# Backend Master Skill

## 🎯 **Capabilities**
- **Supabase**: Client initialization, RLS policies, Types generation.
- **Database**: Postgres SQL, Migrations, Schema design.
- **Auth**: User management, Session handling (`useAuthStore`).
- **Data Sync**: Offline-first patterns (if applicable), Real-time subscriptions.

## 🛠️ **Best Practices**
- **Types**: Always generate types from Supabase schema.
- **RLS**: Never leave tables public unless intended.
- **Security**: Use `useSupabase` composable, never raw client in components.

## 🔄 **Workflow**
1.  **Schema**: Design table in SQL Editor or migration file.
2.  **Types**: Run `npm run update-types` (or equivalent).
3.  **Store**: Update Pinia store to fetch/cache data.
4.  **UI**: Bind clean data to Vue components.

