physthink-feature

Implement full-stack features with Prisma, Zod, oRPC, and UI components.

1|Updated Feb 17, 2026
One-click install
npx skills add https://github.com/chef0111/physthink --skill physthink-feature
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: physthink-feature
Source: https://github.com/chef0111/physthink/tree/main/.agents/skills/physthink-feature
Command: npx skills add https://github.com/chef0111/physthink --skill physthink-feature

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines the development of new full-stack features within the PhysThink application, ensuring consistency and adherence to established architectural patterns.

Core Features & Use Cases

  • End-to-End Feature Implementation: Covers the entire development chain from database schema to UI components.
  • Rapid Development: Accelerates the creation of new resources, CRUD operations, API endpoints, and UI elements.
  • Use Case: Implement a new 'assignment' resource with create, read, update, and delete operations, including API endpoints, database models, and user interface components.

Quick Start

Use the physthink-feature skill to add a new assignment resource with create and delete functionality.

Frequently Asked Questions about physthink-feature

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

FAQPage Schema
How do I implement full-stack features in Next.js with Prisma and oRPC?

Implement full-stack features in Next.js with Prisma and oRPC by following a layered architecture that covers Prisma schema, Zod DTOs, DAL classes, oRPC procedures, client hooks, and UI components end-to-end.

What is the best way to build CRUD operations with TypeScript, Prisma, and Zod?

Building CRUD operations with TypeScript, Prisma, and Zod requires defining a Prisma schema, creating Zod DTOs for validation, implementing Prisma DAL classes, and exposing oRPC procedures to ensure type safety across the full stack.

How does oRPC integrate with Next.js UI components for data mutations?

oRPC integrates with Next.js UI components by generating client mutation hooks that connect UI elements directly to oRPC procedures, ensuring type-safe data fetching and mutations without manual API wiring.

Do I need to manually apply user scoping and authentication middleware in TypeScript full-stack apps?

User scoping and authentication middleware in TypeScript full-stack apps can be applied consistently and automatically across all operations by enforcing strict architectural layers within your oRPC procedures and Prisma DAL classes.

Can I use Prisma DAL classes to separate database access from oRPC procedures?

Yes, you can use Prisma DAL classes to separate database access from oRPC procedures, creating a strict layered architecture where data access logic is isolated from API routing and business logic.

What are the limitations of generating full-stack features with TypeScript and Prisma?

Generating full-stack features with TypeScript and Prisma is limited by its strict architecture; it requires adherence to specific layers like Zod DTOs and oRPC procedures, making it unsuitable for projects not using this exact technology stack.