Install any skill in seconds. Free to start, no credit card required.
Get Started Free →PostgreSQL database optimization workflow for query tuning, indexing strategies, performance analysis, and production database management.
.claude/skills/sickn33-postgresql-optimization/SKILL.md| Model | Eval pass | Runs |
|---|---|---|
| gemini-3.6-flash | 100% | 9 |
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-02 | ✗→✓ | ▲ Improved | -5% | 0% |
| case-22 | ✗→✓ | ▲ Improved | 32% | 0% |
| case-03 | ✓→✓ | = Same ✓ | -1% | 0% |
| case-01 | ✓→✓ | = Same ✓ | 6% | 0% |
| case-04 | ✓→✓ | = Same ✓ | 47% | 0% |
Specialized workflow for PostgreSQL database optimization including query tuning, indexing strategies, performance analysis, vacuum management, and production database administration.
Use this workflow when:
database-optimizer - Database optimizationpostgres-best-practices - PostgreSQL best practicesUse @database-optimizer to assess PostgreSQL performancesql-optimization-patterns - SQL optimizationpostgres-best-practices - PostgreSQL patternsUse @sql-optimization-patterns to analyze and optimize queriesdatabase-design - Index designpostgresql - PostgreSQL indexingUse @database-design to design PostgreSQL indexing strategysql-optimization-patterns - Query tuningsql-pro - SQL expertiseUse @sql-optimization-patterns to optimize SQL queriespostgres-best-practices - Configurationdatabase-admin - Database administrationUse @postgres-best-practices to tune PostgreSQL configurationdatabase-admin - Database maintenancepostgresql - PostgreSQL maintenanceUse @database-admin to schedule PostgreSQL maintenancegrafana-dashboards - Monitoring dashboardsprometheus-configuration - Metrics collectionUse @grafana-dashboards to create PostgreSQL monitoringdatabase - Database operationscloud-devops - Infrastructureperformance-optimization - Performance| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-03 | pass→pass | 24,877 | 19,896 | -20% | 1 | 1 | 0% | 4,767 | 4,723 | -1% | 0 | 0 | — |
case-01 | pass→pass | 21,740 | 17,632 | -19% | 1 | 1 | 0% | 4,069 | 4,321 | +6% | 0 | 0 | — |
case-02 | fail→pass | 20,219 | 14,104 | -30% | 1 | 1 | 0% | 3,989 | 3,794 | -5% | 0 | 0 | — |
case-04 | pass→pass | 19,420 | 23,759 | +22% | 1 | 1 | 0% | 3,569 | 5,255 | +47% | 0 | 0 | — |
case-05 | pass→pass | 16,202 | 15,412 | -5% | 1 | 1 | 0% | 2,812 | 3,591 | +28% | 0 | 0 | — |
case-06 | pass→pass | 15,547 | 12,975 | -17% | 1 | 1 | 0% | 2,973 | 3,320 | +12% | 0 | 0 | — |
case-07 | pass→pass | 14,259 | 12,734 | -11% | 1 | 1 | 0% | 2,663 | 3,437 | +29% | 0 | 0 | — |
case-08 | pass→pass | 14,061 | 11,431 | -19% | 1 | 1 | 0% | 2,655 | 3,091 | +16% | 0 | 0 | — |
case-09 | pass→pass | 14,814 | 14,332 | -3% | 1 | 1 | 0% | 2,784 | 3,480 | +25% | 0 | 0 | — |
case-10 | pass→pass | 10,610 | 8,761 | -17% | 1 | 1 | 0% | 2,126 | 2,324 | +9% | 0 | 0 | — |
case-11 | pass→pass | 15,185 | 15,796 | +4% | 1 | 1 | 0% | 2,731 | 3,769 | +38% | 0 | 0 | — |
case-12 | pass→pass | 10,248 | 9,085 | -11% | 1 | 1 | 0% | 2,137 | 2,825 | +32% | 0 | 0 | — |
case-13 | pass→pass | 15,392 | 12,479 | -19% | 1 | 1 | 0% | 2,929 | 3,326 | +14% | 0 | 0 | — |
case-14 | pass→pass | 13,428 | 10,285 | -23% | 1 | 1 | 0% | 2,437 | 2,866 | +18% | 0 | 0 | — |
case-15 | pass→pass | 15,997 | 14,387 | -10% | 1 | 1 | 0% | 2,784 | 3,448 | +24% | 0 | 0 | — |
case-16 | pass→pass | 10,582 | 9,164 | -13% | 1 | 1 | 0% | 2,164 | 2,732 | +26% | 0 | 0 | — |
case-17 | fail→fail | 14,207 | 11,113 | -22% | 1 | 1 | 0% | 2,602 | 3,069 | +18% | 0 | 0 | — |
case-18 | pass→pass | 12,218 | 12,238 | +0% | 1 | 1 | 0% | 2,353 | 3,108 | +32% | 0 | 0 | — |
case-19 | pass→pass | 12,557 | 9,014 | -28% | 1 | 1 | 0% | 2,197 | 2,531 | +15% | 0 | 0 | — |
case-20 | pass→pass | 4,241 | 5,689 | +34% | 1 | 1 | 0% | 690 | 1,916 | +178% | 0 | 0 | — |
case-21 | pass→pass | 14,526 | 11,232 | -23% | 1 | 1 | 0% | 2,638 | 2,852 | +8% | 0 | 0 | — |
case-22 | fail→pass | 13,204 | 13,133 | -1% | 1 | 1 | 0% | 2,428 | 3,197 | +32% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted. The headline lift of +9 percentage points is the difference between those two pass rates over the 22 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.