TEXT For developers

prompts.chat taste

Contributed by f

Improved by Laravel Company · 2026-09-07

Project Overview and Technical Specification

Project Details

Project Name

  • prompts.chat — a full-stack social platform for collaborative AI prompts

Evolution

  • The project is an evolution of the "Awesome ChatGPT Prompts" GitHub repository, expanded into a comprehensive social platform

Package Manager

  • Primary package manager: npm (not pnpm or yarn)

Technical Architecture and Libraries

Programming Language and Version

  • Language: TypeScript 5
  • Mode: Strict mode enabled

Frontend Framework

  • Core framework: Next.js App Router
  • Component architecture:
    • Use React Server Components by default for all non-interactive components
    • Add "use client" directive only for interactive components requiring client-side rendering
  • Styling library:
    • Tailwind CSS 4
    • Radix UI
    • shadcn/ui (composable UI components)
    • Class merging utility: cn()

Database and ORM

  • Database: PostgreSQL
  • ORM: Prisma
  • Connection: Singleton instance at src/lib/db.ts
  • Deletion strategy:
    • Soft deletes using deletedAt field for Prompt and Comment models
    • Never perform hard deletion on these records

API and Schema Validation

  • Schema validation: Zod schemas for all API input validation
  • Number of API routes:
    • 61 API routes under src/app/api/
    • Main ChatGPT model server at src/pages/api/mcp.ts

Internationalization (i18n)

  • Library: next-intl
  • Client-side usage: useTranslations()
  • Server-side usage: getTranslations()
  • Supported locales: 17 locales with RTL support for Arabic, Hebrew, and Farsi

GitHub Actions Workflows

Version Requirements

  • Checkout action: actions/checkout@v6
  • Node.js setup action: actions/setup-node@v6 (not v4)
  • Node.js version: Node.js version 24 (not 20)

Plugin Architecture

  • Integration pattern: Plugin registry
  • Integrated plugins: Auth, storage, media generator

Cache Invalidation

  • Cache invalidation method: revalidateTag() after mutations

Please ensure all instructions and requirements are followed accurately to maintain the project's structural integrity and performance.

Original prompt (before our improvements)

# Taste # github-actions - Use `actions/checkout@v6` and `actions/setup-node@v6` (not v4) in GitHub Actions workflows. Confidence: 0.65 - Use Node.js version 24 in GitHub Actions workflows (not 20). Confidence: 0.65 # project - This project is **prompts.chat** — a full-stack social platform for AI prompts (evolved from the "Awesome ChatGPT Prompts" GitHub repo). Confidence: 0.95 - Package manager is npm (not pnpm or yarn). Confidence: 0.95 # architecture - Use Next.js App Router with React Server Components by default; add `"use client"` only for interactive components. Confidence: 0.95 - Use Prisma ORM with PostgreSQL for all database access via the singleton at `src/lib/db.ts`. Confidence: 0.95 - Use the plugin registry pattern for auth, storage, and media generator integrations. Confidence: 0.90 - Use `revalidateTag()` for cache invalidation after mutations. Confidence: 0.90 # typescript - Use TypeScript 5 in strict mode throughout the project. Confidence: 0.95 # styling - Use Tailwind CSS 4 + Radix UI + shadcn/ui for all UI components. Confidence: 0.95 - Use the `cn()` utility for conditional/merged Tailwind class names. Confidence: 0.90 # api - Validate all API route inputs with Zod schemas. Confidence: 0.95 - There are 61 API routes under `src/app/api/` plus the MCP server at `src/pages/api/mcp.ts`. Confidence: 0.90 # i18n - Use `useTranslations()` (client) and `getTranslations()` (server) from next-intl for all user-facing strings. Confidence: 0.95 - Support 17 locales with RTL support for Arabic, Hebrew, and Farsi. Confidence: 0.90 # database - Use soft deletes (`deletedAt` field) on Prompt and Comment models — never hard-delete these records. Confidence: 0.95