Db query
Explore and query a database safely, especially in shared or production-like environments. Use when inspecting data or debugging via SQL through a DB tool or agent (TablePlus, psql, an MCP DB connection). Read-first, with destructive writes gated behind confirmation.From its SKILL.md
npx -y skills add vaibhavsaxena022/skills --skill db-queryAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 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.
SKILL.md
1.4 KB, 193 tokens by cl100k_base, as published. Nobody here has run it
Safe DB Query
Treat every connection as if it might be production.
Do
- Confirm which environment/database you're connected to before running anything.
- Start read-only:
SELECTwith an explicitLIMITwhile exploring. - Inspect the schema first (columns, indexes, row counts) before writing queries.
- Scope every query with a precise
WHERE; parameterize inputs. - Wrap risky writes in a transaction — check the affected row count, then
COMMIT(orROLLBACK).
Don't
- Don't run
UPDATE/DELETEwithout aWHEREclause — ever. - Don't run destructive or schema-changing statements without explicit confirmation.
- Don't
SELECT *from large tables unbounded — useLIMITand filters. - Don't paste credentials or connection strings into shared output.
- Don't assume you're on a dev database — verify first.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.