Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add tranhieutt/software_development_department --skill db-reviewgit clone --depth 1 https://github.com/tranhieutt/software_development_departmentWrote 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.
[](https://agentmods.dev/skills/tranhieutt/software_development_department/db-review)<a href="https://agentmods.dev/skills/tranhieutt/software_development_department/db-review"><img src="https://agentmods.dev/badge/skills/tranhieutt/software_development_department/db-review/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.
<a href="https://agentmods.dev/skills/tranhieutt/software_development_department/db-review"><img src="https://agentmods.dev/badge/skills/tranhieutt/software_development_department/db-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00043 | $0.00840 |
| Opus 5 | $0.00022 | $0.00420 |
| Sonnet 5 | $0.00009 | $0.00168 |
| Haiku 4.5 | $0.00004 | $0.00084 |
Grade A, and why
db-review 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.
How it starts
The opening of the file, as written. The whole thing — 99 lines — stays where its author put it; the contents beside it link to each section on GitHub.
When this skill is invoked:
-
Read the target schema, migration, or query files in full.
-
Evaluate schema design:
- All tables have a primary key
- Tables have
created_atandupdated_atcolumns - Foreign key relationships defined with proper constraints
- Column types are appropriate (don't use VARCHAR(255) for everything)
- NULL vs NOT NULL is intentionally chosen and documented
- Enum types used for fixed sets of values
-
Evaluate indexing strategy:
- Every foreign key column is indexed
- Columns in frequent WHERE, ORDER BY, or JOIN conditions are indexed
- Composite indexes match the query patterns
- No over-indexing (too many indexes slow writes)
- Unique constraints used where business rules require uniqueness
-
Evaluate migration safety:
- Migration is reversible (has a down/rollback script)
- Adding columns with defaults is safe for zero-downtime
- Removing columns uses soft-delete / multi-phase approach
- Renaming columns uses multi-phase migration (add → backfill → drop old)
- Large table operations consider locking implications
-
Evaluate data integrity:
- Check constraints for value ranges where appropriate
- No orphaned records possible (foreign keys or enforced at app layer)
- Soft delete implemented (
deleted_at) not hard delete for important records
-
Evaluate query quality (if queries provided):
- No SELECT * in application queries
- N+1 queries avoided (eager loading where needed)
- Parameterized queries (no string concatenation)
- Pagination on all list queries
-
Output the review:
## Database Review: [Schema/Migration Name]
### Schema Design: [CLEAN / ISSUES FOUND]
[List design problems]
### Indexes: [APPROPRIATE / MISSING / OVER-INDEXED]
[List index recommendations]
### Migration Safety: [SAFE / RISKY / BLOCKING]
[List migration risks and recommendations]
### Data Integrity: [ENFORCED / GAPS FOUND]
[List integrity concerns]
### Query Quality: [CLEAN / ISSUES FOUND]
[List query problems]
### Positive Observations
[What is well-designed]
### Required Changes
[Must-fix before applying]
### Suggestions
[Nice-to-have improvements]
### Verdict: [APPROVED / APPROVED WITH SUGGESTIONS / CHANGES REQUIRED]
Protocol
- Question: Auto-starts from argument (schema, migration, or query files)
- Options: Skip — single review path
- Decision: Skip — verdict is advisory
- Draft: Full review shown in conversation only
- Approval: Skip — read-only; no files written
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.
- 9d ago First seen · 99 lines · 43 tokens per session scan A 2eb141b8b333
db-review is a skill published in the GitHub repository tranhieutt/software_development_department (72 stars, last pushed 3mo ago), licensed MIT. It adds 43 tokens to every session and 840 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.
Other skills, from other repositories
review
Plan-aware graph-enhanced code review before merge. CRITICAL issues block merge. Use after fix/verify.
database-migrations
Database migration best practices for schema changes, data migrations, rollbacks, and zero-downtime deployments across PostgreSQL, MySQL, and common ORMs (Prisma, Drizzle, Kysely, Django, TypeORM, golang-migrate).
flutter-dart-code-review
Library-agnostic Flutter/Dart code review checklist covering widget best practices, state management patterns (BLoC, Riverpod, Provider, GetX, MobX, Signals), Dart idioms, performance, accessibility, security, and clean architecture.
sql-code-review
Universal SQL code review assistant that performs comprehensive security, maintainability, and code quality analysis across all SQL databases (MySQL, PostgreSQL, SQL Server, Oracle). Focuses on SQL injection prevention, access control, code standards, and anti-pattern detection. Complements SQL optimization prompt for…
SQL Query Optimizer
Reviews SQL queries for performance issues and rewrites them with optimized execution plans.
verify-multispec
A verification workflow for major releases or large code refactors. It uses four specialist teammates to review the change, question each other’s findings, and then shut down cleanly.