KS
Killer-Skills

db — how to use db how to use db, db setup guide, PostgreSQL database management, Prisma tutorial, db vs Prisma, db install, what is db, db alternative, db documentation

v1.0.0
GitHub

About this Skill

Perfect for Backend Agents working with real estate applications needing streamlined PostgreSQL database management via Prisma. db is a skill that enables PostgreSQL database management via Prisma, supporting actions like migration and deployment.

Features

Runs pending migrations against the local database using `npx prisma migrate deploy`
Creates new migrations during development with `npx prisma mi`
Supports Docker execution with `docker exec rea-backend sh -c`
Targets the backend at `C:/Users/pi/projects/rea/main/backend`
Parses `$ARGUMENTS` for the action
Deploys migrations using Prisma

# Core Topics

pinoshe pinoshe
[0]
[0]
Updated: 3/5/2026

Quality Score

Top 5%
54
Excellent
Based on code quality & docs
Installation
SYS Universal Install (Auto-Detect)
Cursor IDE Windsurf IDE VS Code IDE
> npx killer-skills add pinoshe/real-estate-app/db

Agent Capability Analysis

The db MCP Server by pinoshe is an open-source Categories.community integration for Claude and other AI agents, enabling seamless task automation and capability expansion. Optimized for how to use db, db setup guide, PostgreSQL database management.

Ideal Agent Persona

Perfect for Backend Agents working with real estate applications needing streamlined PostgreSQL database management via Prisma.

Core Value

Empowers agents to manage PostgreSQL databases via Prisma, facilitating actions like migration deployment and development using commands like `npx prisma migrate deploy` and `npx prisma mi`.

Capabilities Granted for db MCP Server

Deploying pending migrations against the local database
Creating new migrations during development
Managing database schema using Prisma

! Prerequisites & Limits

  • Requires Prisma installation
  • Targets backend at specific directory C:/Users/pi/projects/rea/main/backend
  • PostgreSQL database only
Project
SKILL.md
1.8 KB
.cursorrules
1.2 KB
package.json
240 B
Ready
UTF-8

# Tags

[No tags]
SKILL.md
Readonly

Database Operations

Manage the PostgreSQL database via Prisma. All commands target the backend at C:/Users/pi/projects/rea/main/backend.

Parse $ARGUMENTS for the action.

Actions

migrate (default)

Run pending migrations against the local database.

bash
1docker exec rea-backend sh -c "cd /home/site/wwwroot && npx prisma migrate deploy"

migrate:dev

Create a new migration during development.

bash
1docker exec rea-backend sh -c "cd /home/site/wwwroot && npx prisma migrate dev --name $ARGUMENTS[1]"

Requires a migration name as the second argument.

seed

Seed the database with test data.

bash
1docker exec rea-backend sh -c "cd /home/site/wwwroot && npm run db:seed"

reset

Reset the database (drops all data, re-runs migrations and seed). Confirm with user before running.

bash
1docker exec rea-backend sh -c "cd /home/site/wwwroot && npx prisma migrate reset --force"

studio

Open Prisma Studio for visual database browsing.

bash
1docker exec rea-backend sh -c "cd /home/site/wwwroot && npx prisma studio"

Note: Prisma Studio runs on port 5555 inside the container. The user may need to map this port.

schema

Display the current Prisma schema. Read the file: C:/Users/pi/projects/rea/main/backend/prisma/schema.prisma

generate

Regenerate the Prisma client after schema changes.

bash
1docker exec rea-backend sh -c "cd /home/site/wwwroot && npx prisma generate"

status

Show migration status.

bash
1docker exec rea-backend sh -c "cd /home/site/wwwroot && npx prisma migrate status"

Notes

  • The database container must be running (docker-compose up -d db)
  • Connection string: postgresql://dev:dev@db:5432/realestate (inside Docker network)
  • Adminer UI available at http://localhost:8080 (server: db, user: dev, pass: dev, db: realestate)

Related Skills

Looking for an alternative to db or building a Categories.community AI Agent? Explore these related open-source MCP Servers.

View All

widget-generator

Logo of f
f

widget-generator is an open-source AI agent skill for creating widget plugins that are injected into prompt feeds on prompts.chat. It supports two rendering modes: standard prompt widgets using default PromptCard styling and custom render widgets built as full React components.

149.6k
0
Design

chat-sdk

Logo of lobehub
lobehub

chat-sdk is a unified TypeScript SDK for building chat bots across multiple platforms, providing a single interface for deploying bot logic.

73.0k
0
Communication

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication