Vant skill supabase
Backend operations.From its SKILL.md
npx -y skills add dhaupin/vant --skill vant-skill-supabaseAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 16 stars16 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its file declares
Copied from the file, not written here
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
1.2 KB, 326 tokens by cl100k_base, as published. Nobody here has run it
Supabase
Backend operations.
When To Use
- PostgreSQL backend
- Auth needed
- Real-time data
- Edge functions
What To Do
1. Connect
# supabase-js
import { createClient } from '@supabase/supabase-js'
const supabase = createClient(
'https://xxx.supabase.co',
'public-anon-key'
)
2. Common Operations
| Operation | What |
|---|---|
| select | Query data |
| insert | Insert data |
| update | Update data |
| delete | Delete data |
| subscribe | Real-time |
3. Auth
// Sign up
const { user, session } = await supabase.auth.signUp({
email: '[email protected]',
password: 'password'
})
// Sign in
const { user, session } = await supabase.auth.signInWithPassword({
email: '[email protected]',
password: 'password'
})
4. Edge Functions
supabase functions serve
supabase functions deploy my-function
Output
## Supabase
| Table | Rows | Status |
|-------|------|--------|
| [name] | [n] | [OK] |
### Functions
- [list]
Role: Supabase Backend
Input: Tables, functions
Output: Working backend
Backend as a service.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.