agentsclimarketplace

Db query

Skill vaibhavsaxena022/skills/db-query

AI-agent skills for software engineering — works with Claude Code, Codex, Cursor

Install
npx -y skills add vaibhavsaxena022/skills --skill db-query

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • 23 days oldThe repository was created 23 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
  • 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.

What its author says it does

Copied from the file, not written here

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.

SKILL.md

1.4 KB, 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: SELECT with an explicit LIMIT while 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 (or ROLLBACK).

Don't

  • Don't run UPDATE/DELETE without a WHERE clause — ever.
  • Don't run destructive or schema-changing statements without explicit confirmation.
  • Don't SELECT * from large tables unbounded — use LIMIT and filters.
  • Don't paste credentials or connection strings into shared output.
  • Don't assume you're on a dev database — verify first.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.