Prompts.chat Project Conventions

Prompts.chat Project Conventions

Lists a project's coding conventions for a Next.js, Prisma and Tailwind platform: stack choices, API validation, i18n, soft deletes and CI versions.

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

Public domain (CC0 1.0) · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 13,252 prompts

More by @OpenSourceBuffGuy

See all
Woman in cat ear beanie and duffle coat prompt image

Woman in cat ear beanie and duffle coat

Edits a photo so the person wears a locked outfit: cat-ear beanie, duffle coat, bloomers, leg warmers and platform boots, each with exact colours and hardware.

image-prompt, virtual-try-on, photo-editing, reference-image, fashion, fashion-shoot, footwear, woman, guardrails, gpt-image, chatgpt, muted-colors, cozy, long-form, advanced, structured-output, template

User Research Analyst prompt image

User Research Analyst

Acts as a senior UX researcher that designs usability studies and interview guides, analyses research notes and turns them into evidence-backed UX recommendations.

system-prompt, act-as, user-research, ui-ux, product-management, research-methods, data-analysis, question-generation, for-product-managers, for-designers, for-researchers, structured-output, xml-tags, expert-advice, report, survey, critique, guided-interview, advanced, long-form, guardrails, customer-persona

Four Portraits Peeking Through Yellow Paper prompt image

Four Portraits Peeking Through Yellow Paper

Creates a 2x2 grid of four young men peeking through ripped holes in bright yellow paper, in a 1990s indie-band studio editorial style.

image-prompt, nano-banana, multi-panel, collage, photorealistic, editorial, portrait, man, group-photo, studio-lighting, soft-lighting, vibrant-colors, split-screen, cinematic, indie, fashion, symmetry, bokeh, square-format

Reviews

Loading reviews…

Discussion

Loading comments…