AGENT SKILL
sql
Database query language.
- License 许可
- MIT
- 所属仓库
- dhaupin/vant
- 最近更新
- 2026-11-13
- Stars
- ★ 16
- Forks
- 1
01 前言 Front Matter
- name
- sql
- license
- MIT
- metadata
- { "author": "vant", "version": "1.0" }
- description
- Database query language.
03 SKILL.md 正文
SQL
Database query language.
When To Use
- Database queries
- Data analysis
- CRUD operations
What To Do
1. Basic
SELECT columns FROM table
WHERE condition
ORDER BY column
LIMIT n
2. Operations
| Keyword | What |
|---|---|
| SELECT | Read |
| INSERT | Create |
| UPDATE | Update |
| DELETE | Remove |
| JOIN | Combine |
3. Aggregates
SELECT COUNT(*), SUM(col), AVG(col), MIN(col), MAX(col)
FROM table
GROUP BY col
HAVING count > 1
4. Subqueries
SELECT * FROM users
WHERE id IN (SELECT user_id FROM orders)
Role: SQL Developer Input: Query Output: Results
Query.
04 同仓库更多 Skills
yaml
Data serialization.
★ 16
vite
Frontend build tool.
★ 16
typescript
Typed JavaScript.
★ 16
test-unit
Test individual functions and methods in isolation. Test happy path, edge cases, and error handling. Use when adding new functions, after bug fixes, or before commits.
★ 16
test-snapshot
Capture and compare UI/component snapshots to detect visual changes. Use when testing UI rendering, before visual changes, or for design systems.
★ 16
test-smoke
Quick sanity check to verify basic functionality works. Run fastest tests first. Use when needing quick verification before deeper testing.
★ 16