Skip to content
Back to skills

Sql Bench

ASecurity

Read when changing queries.py, analyze SQL, symbols SQL, or sql.py.

  • 4 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 3, 2026
developmentbashsqlperformance

Works with

  • cli

Security analysis

A100/100

Scanned November 9, 2026

npx -y skills add flesler/scip-cli --skill sql-bench --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Sql Bench?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Sql Bench
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/flesler-sql-bench/badge)](https://www.skillsdirectory.com/skills/flesler-sql-bench)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: sql-bench
description: Read when changing queries.py, analyze SQL, symbols SQL, or sql.py.
---

# SQL / query performance

Small fixture DB hides regressions on 40MB+ indexes. CI perf tests only catch gross mistakes on the tiny project.

## Required before commit

Touching `scip_cli/queries.py`, `scip_cli/analyze/*`, `scip_cli/symbols.py` SQL, or `scip_cli/sql.py`:

```bash
scripts/bench.sh --baseline   # once per change series
# … edit …
scripts/bench.sh --compare
```

Synthetic scale: `tests/bench_db.py` + `tests/test_bench_queries.py`. Lines `BENCH:<name>:<ms>`; compare table ratio >1.0 = regression.

## Correctness vs speed

- Behavior / SCIP shapes → fixture e2e (skill `test`).
- Graph plumbing only → `analyze_db` unit tests.

## Optional: real cached index

Replace `<project-slug>` under `~/.cache/scip-cli/projects/` — snippet in `agent.mdc` § Large cached index benchmark.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.