lenserfight: Skill for Claude Code

.agents/skills/database-schema-reviewer/SKILL.md

database-schema-reviewer is a skill for Claude Code from conectlens/lenserfight. It costs 32 tokens per session (331 once invoked), scanned A, original, MIT.

A review checklist for PostgreSQL database changes. PostgreSQL is a relational database system; the checklist covers table relationships, query speed, security rules, and migration safety.

In plain words
What is it for?
Use it to review SQL migrations, database functions, triggers, tests, indexes, joins, and row-level security policies.
Why use it?
It helps catch missing constraints, slow queries, unsafe database changes, and access-control problems before they reach users.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: installed under .agents/ (shared by several agents).

This is conectlens/lenserfight's own configuration. It tells Claude Code how to work on lenserfight itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything lenserfight configures →

Reuse

Borrowing it

Nothing to install: this file belongs to conectlens/lenserfight. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/conectlens/lenserfight/main/.agents/skills/database-schema-reviewer/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/conectlens/lenserfight

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for database-schema-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/skills/conectlens/lenserfight/database-schema-reviewer/github.svg)](https://agentmods.dev/skills/conectlens/lenserfight/database-schema-reviewer)
Your own site
<a href="https://agentmods.dev/skills/conectlens/lenserfight/database-schema-reviewer"><img src="https://agentmods.dev/badge/skills/conectlens/lenserfight/database-schema-reviewer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for database-schema-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/skills/conectlens/lenserfight/database-schema-reviewer"><img src="https://agentmods.dev/badge/skills/conectlens/lenserfight/database-schema-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 331 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00032 $0.00331
Opus 5 $0.00016 $0.00166
Sonnet 5 $0.00006 $0.00066
Haiku 4.5 $0.00003 $0.00033

Measured 9d ago against content hash a894c4ce34ea, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

database-schema-reviewer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/database-schema-reviewer/SKILL.md · 77 lines

What it actually says

Run database schema review for $ARGUMENTS.

Purpose
Evaluate database schema quality, integrity, and performance risks.

Primary scope

  • supabase/migrations/*
  • supabase/functions/*
  • supabase/tests/*

Workflow

[ ] 1 Inspect schema definition

Read the latest migration files in:

supabase/migrations/*

[ ] 2 Inspect SQL functions and triggers

Review:

supabase/functions/*

[ ] 3 Evaluate schema integrity

Check:

  • primary keys
  • foreign keys
  • unique constraints
  • nullability rules
  • enum usage

[ ] 4 Evaluate performance risks

Check:

  • missing indexes
  • large relation scans
  • hot tables
  • unbounded joins

[ ] 5 Evaluate migration safety

Look for:

  • destructive schema changes
  • column type rewrites
  • large table locks
  • incompatible constraints

Load references only when needed

Output

Report:

  • schema risks
  • missing constraints
  • index recommendations
  • migration safety issues
  • suggested improvements
Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 77 lines · 32 tokens per session scan A a894c4ce34ea

Subscribe to this mod's changes

database-schema-reviewer is a skill published in the GitHub repository conectlens/lenserfight (18 stars, last pushed 29d ago), licensed MIT. It adds 32 tokens to every session and 331 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

database-expert

Advanced database design and administration for PostgreSQL, MongoDB, and Redis. Use when designing schemas, optimizing queries, managing database performance, or implementing data patterns.

travisjneuman/.claude · 36 tokens

generic-fullstack-feature-developer

Guide feature development for full-stack applications with architecture focus. Covers Next.js App Router patterns, NestJS backend services, database models, data workflows, and seamless integration. Use when adding new features, refactoring existing code, or planning major changes.

travisjneuman/.claude · 56 tokens

multitenant

Architecture multitenant avec approche tiered (Shared/Dedicated Schema/DB), RBAC/ABAC, field-level encryption. Use when working with multitenant applications, tenant isolation, data segregation.

TheBeardedBearSAS/claude-craft · 46 tokens

testing-paperclip

Paperclip-Testing-Strategie — Vitest, Plugin-Test-Harness aus @paperclipai/plugin-sdk/testing, echte Postgres-Integration-Tests, Cross-Tenant-Isolation. Verwenden Sie dies beim Schreiben oder Reviewen von Paperclip-Tests.

TheBeardedBearSAS/claude-craft · 57 tokens

neon

Neon separates compute and storage, allowing instant database branching and autoscaling. For most Node.js applications, use the @neondatabase/serverless driver over standard pg to leverage WebSocket connections, which bypass serverless environment connection limits.

ashish7802/awesome-api-skills · 0 tokens

postgresql

Skill "postgresql" from ashish7802/awesome-api-skills, covering postgresql skill, ecosystem graph preview, recommended next skills, quick start and production patterns.

ashish7802/awesome-api-skills · 0 tokens