smithery.ai

db-reset-local

Reset and seed the local database for Drasil.

First seen Apr 20, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Declared

Skill metadata

Parsed from SKILL.md frontmatter.

Compatibilityopencode
Declared agents opencode

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 781 B
  • docs SUMMARY.md 67 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Use this when you need a clean local database state.

Canonical command

  • npm run db:reset:local

What it does

  • Resets the local Supabase database (npx supabase db reset --local).
  • Ensures the local prisma DB user exists (node scripts/create-prisma-user.js).
  • Resets Prisma migrations (prisma migrate reset).
  • Seeds data (npm run db:seed).

Prereqs

  • Supabase running locally: npx supabase start.
  • .env includes:

- DATABASEURL (Prisma connection string) - PRISMADB_PASSWORD (used by scripts/create-prisma-user.js)

Notes

  • Integration tests may also require POSTGRESDBURL so the test harness can create extensions.