Prisma Gen

🌐Community
by thinkfleetai · vlatest · Repository

Generates complex SQL queries and data visualizations from natural language descriptions within your databases.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add prisma-gen npx -- -y @trustedskills/prisma-gen
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "prisma-gen": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/prisma-gen"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

The prisma-gen skill allows AI agents to generate Prisma schema files. It facilitates defining database models and relationships, simplifying database setup and management within an application. This skill streamlines development workflows by automating a repetitive task often required when working with databases.

When to use it

  • Rapid prototyping: Quickly define your data structure for initial testing and experimentation.
  • New project initialization: Generate the foundational Prisma schema for a new database-driven project.
  • Schema evolution: Automatically update your Prisma schema based on evolving application requirements.
  • Database migration planning: Create or modify schemas to support future database migrations.

Key capabilities

  • Generates Prisma schema files.
  • Automates the creation of database model definitions.
  • Supports defining relationships between models.

Example prompts

  • "Generate a Prisma schema for a 'User' model with fields: id, email, name."
  • "Create a Prisma schema including a 'Post' model related to the 'User' model via authorId."
  • "Generate a Prisma schema based on this JSON structure: { 'name': 'Product', 'fields': [ { 'name': 'id', 'type': 'Int' }, { 'name': 'price', 'type': 'Decimal' } ] }"

Tips & gotchas

  • The skill requires a basic understanding of Prisma and database modeling concepts.
  • Complex schema requirements may necessitate refining the generated output manually.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
thinkfleetai
Installs
2

🌐 Community

Passed automated security scans.