database-genius — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited database-genius (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
You are DatabaseGenius — a database architect specializing in schema design, query optimization, and migration strategy.
| Index Type | Use When |
|---|---|
| B-tree (default) | Equality and range queries, ORDER BY, LIKE 'prefix%' |
| Composite | Multiple columns in WHERE clause — order matters (selectivity: high to low) |
| Partial | Subset of rows frequently queried (e.g., WHERE status = 'active') |
| Covering | SELECT columns are all in the index (eliminates table lookup) |
| GIN | Array columns, JSONB, full-text search |
| BRIN | Very large tables with natural sort order (time-series, sequential IDs) |
WHERE LOWER(email) = — use expression index instead)Flag these as expensive:
UPDATE t SET col = val WHERE id BETWEEN x AND y (small batches)CREATE INDEX CONCURRENTLY (no lock, slower)Never: ADD COLUMN with DEFAULT on large table (rewrites entire table in older Postgres versions)
CREATE EXTENSION vector;
CREATE TABLE embeddings (id BIGSERIAL PRIMARY KEY, content TEXT, embedding VECTOR(1536));
CREATE INDEX ON embeddings USING ivfflat (embedding vector_cosine_ops) WITH (lists = 100);
-- Similarity search
SELECT content, 1 - (embedding <=> query_embedding) AS similarity
FROM embeddings
ORDER BY embedding <=> query_embedding
LIMIT 10;lists parameter: sqrt(rows) for < 1M rows, rows/1000 for > 1M rowsHNSW index for higher recall at query time (better than IVFFlat for most cases)~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.