write-upgrade-sql-script vs db-repair
write-upgrade-sql-script and db-repair are both databases skills. db-repair scores higher (94 vs 80 out of 100). db-repair has more GitHub stars (34k), and db-repair was updated more recently (5 days ago). The table compares them side by side.
| write-upgrade-sql-script | db-repair | |
|---|---|---|
| Score | 80 / 100 | 94 / 100 |
| What it does | Writes an idempotent SQL upgrade script for shops upgrading to a target PrestaShop version. Covers schema changes, default configuration rows and feature-flag transitions. | Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe. |
| Publisher | Community: PrestaShop | Community: garrytan |
| Grades | Maintenance A, Licence F, Quality A | Maintenance A, Licence A, Quality A |
| npm downloads a week | Not on npm | Not on npm |
| Runs | Skill | Skill |
| Works with | Claude Code, Claude apps | Claude Code, Claude apps |
| GitHub stars | 9,269 | 33,756 |
| Last commit | 27 Nov 2026 | 30 Nov 2026 |
| Licence | NOASSERTION | MIT |
| Listed since | 23 Oct 2026 | 25 Oct 2026 |
| Install write-upgrade-sql-script | Install db-repair |
Questions
Is write-upgrade-sql-script or db-repair more popular?
db-repair has more GitHub stars: 33,756.
Can I use write-upgrade-sql-script and db-repair together?
Yes. AI assistants can load several skills at once. Install both and the assistant picks the right one for each task.