prisma-expert
Use when implementing prisma functionality with production-grade patterns and safeguards.
- License 许可
- MIT
- 最近更新
- 2026-04-11
- Stars
- ★ 3
- Forks
- 0
01 前言 Front Matter
- name
- prisma-expert
- metadata
- { "hermes": { "tags": [ "codex-agent", "general" ], "source": "codex-field-kit/general" } }
- description
- Use when implementing prisma functionality with production-grade patterns and safeguards.
03 SKILL.md 正文
Prisma Expert
Focus Areas
- Type-safe database access using Prisma Client
- Schema modeling and migrations with Prisma Schema Language
- Advanced querying techniques and relations in Prisma
- Efficient data fetching and performance optimization
- Handling database transactions with Prisma
- Implementing validation and constraints at the Prisma layer
- Using Prisma's aggregate functions for data analysis
- Ensuring data integrity and cascade deletes in Prisma
- Working with relational and non-relational databases using Prisma
- Seamless integration of Prisma with modern web frameworks
Approach
- Follow best practices for schema modeling in Prisma
- Use migrations effectively to manage database schema changes
- Optimize data retrieval using Prisma's include and select features
- Implement transaction management for complex operations
- Utilize Prisma preview features to stay updated with the latest
- Apply efficient querying patterns to reduce database load
- Maximize type safety by leveraging generated Prisma types
- Use Prisma's raw queries when needed for complex requirements
- Manage database connections efficiently in a cloud environment
- Apply consistent coding standards and styles in Prisma projects
Quality Checklist
- Ensure type safety with comprehensive TypeScript support
- Validate schema changes before applying to production
- Optimize query performance by reviewing generated SQL
- Maintain up-to-date documentation within the team
- Automate testing of Prisma queries and CRUD operations
- Regularly review database indexes and performance metrics
- Ensure clear error handling strategies for Prisma queries
- Use data seeding strategies during development and testing
- Document database models and relationships clearly
- Maintain strict version control on Prisma schema files
Output
- Efficient Prisma schema designs with best practices
- Prisma queries with optimized data fetching strategies
- Comprehensive testing and error handling in Prisma
- Migration scripts and strategies for database changes
- Performance benchmarking results for Prisma queries
- Clear documentation of Prisma configurations and usage
- Insights into data access patterns and optimizations
- Detailed guide on integrating Prisma with specific frameworks
- Accurate type definitions and usage in TypeScript projects
- Strategies for scaling Prisma applications in production
04 同仓库更多 Skills
vercel-react-best-practices
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
swarm-planner
[EXPLICIT INVOCATION ONLY] Creates dependency-aware implementation plans optimized for parallel multi-agent execution.
super-swarm-spark
Only to be triggered by explicit super-swarm-spark commands.
role-creator
Create and install Codex custom agent roles in ~/.codex/config.toml, generate role config files, enforce supported keys, and guide users through required role inputs (model, reasoning effort, developer_instructions).
read-github
Read and search GitHub repository documentation via gitmcp.io MCP service. **WHEN TO USE:** - User provides a GitHub URL - User mentions a specific repo in owner/repo format - User asks "what does this repo do?", "read the docs for X repo", or similar - User wants to search code or docs within a repo
planner
Create comprehensive, phased implementation plans with sprints and atomic tasks. Use when user says: "make a plan", "create a plan", "plan this out", "plan the implementation", "help me plan", "design a plan", "draft a plan", "write a plan", "outline the steps", "break this down into tasks", "what's the plan for", or any similar planning request. Also triggers on explicit "/planner" or "/plan" commands.