prisma-recon

Analyze Prisma schema files and emit structured metadata to recon.json.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/nthplusio/functional-claude --skill prisma-recon
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prisma-recon
Source: https://github.com/nthplusio/functional-claude/tree/main/plugins/prisma-dev/skills/prisma-recon
Command: npx skills add https://github.com/nthplusio/functional-claude --skill prisma-recon

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers quickly understand and document Prisma configuration and schema within a project.

Core Features & Use Cases

  • Locate Prisma configuration files (schema.prisma or custom paths) and detect the database provider.
  • Parse datasource and generator blocks to surface environment variables and client settings.
  • Extract models, enums, and relations; map migrations and environment configuration for quick context.
  • Generate a cached, structured report that can be consumed by other skills for query generation or code reviews.

Quick Start

Run the prisma-recon skill in the root of a Prisma-enabled project to generate a comprehensive reconstruction of the Prisma setup. The skill will locate schema.prisma, parse its contents, and store results in a cache file at ${CLAUDE_PLUGIN_ROOT}/.cache/recon.json.

Frequently Asked Questions about prisma-recon

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I analyze a Prisma schema and document its models and relations?

To analyze a Prisma schema, you can parse schema.prisma files to extract datasource and generator configurations, models, enums, and relations. This process surfaces environment variables and summarizes migrations for quick project context.

What's the best way to get an overview of a Prisma project configuration?

Getting a Prisma project configuration overview involves locating schema.prisma files and parsing their datasource and generator blocks. This detects the database provider and surfaces client settings and environment setup in a structured report.

How do I extract Prisma database models and enums from an existing repository?

Extracting Prisma database models and enums requires scanning the current repository for schema.prisma files. Parsing these files maps out all defined models, enums, and relations, generating a structured cache of the database schema metadata.

Does Prisma schema analysis require any special dependencies or setup?

Prisma schema analysis requires only standard repository access to locate and parse schema.prisma files. No special dependencies are needed, as the process relies on reading existing configuration and environment setup directly from the project.

Can I generate a cached report of my Prisma setup for other tools to use?

You can generate a cached report of your Prisma setup by analyzing the schema and configuration. This emits a structured cache file at the project root, enabling other skills to reference the extracted Prisma metadata for query generation or code reviews.

Why should I document Prisma relations and migrations in my project?

Documenting Prisma relations and migrations helps developers quickly understand the database schema and environment configuration. It maps complex data relationships and migration history into a structured format, providing immediate project context for code reviews.