首页 全部提示词 Coding

prompts.chat 体验

prompts.chat taste

品味 @f 1,111 字符 在 prompts.chat 查看 译文有问题?

中文译文

偏好

github-actions

  • 在 GitHub Actions 工作流中使用 actions/checkout@v6 和 actions/setup-node@v6(不是 v4)。置信度:0.65
  • 在 GitHub Actions 工作流中使用 Node.js 版本 24(不是 20)。置信度:0.65

project

  • 本项目是 prompts.chat —— 一个面向 AI 提示词的全栈社交平台(由 "Awesome ChatGPT Prompts" GitHub 仓库演化而来)。置信度:0.95
  • 包管理器是 npm(不是 pnpm 或 yarn)。置信度:0.95

architecture

  • 默认使用 Next.js App Router 配合 React Server Components;仅对交互式组件添加 "use client"。置信度:0.95
  • 所有数据库访问均使用 Prisma ORM 配合 PostgreSQL,通过 src/lib/db.ts 中的单例进行。置信度:0.95
  • 对 auth、storage 和 media generator 集成使用插件注册表模式。置信度:0.90
  • 在变更后使用 revalidateTag() 进行缓存失效。置信度:0.90

typescript

  • 整个项目全程使用 TypeScript 5 严格模式。置信度:0.95

styling

  • 所有 UI 组件使用 Tailwind CSS 4 + Radix UI + shadcn/ui。置信度:0.95
  • 对条件式/合并的 Tailwind 类名使用 cn() 工具函数。置信度:0.90

api

  • 使用 Zod schema 校验所有 API 路由的输入。置信度:0.95
  • src/app/api/ 下有 61 个 API 路由,另有位于 src/pages/api/mcp.ts 的 MCP 服务器。置信度:0.90

i18n

  • 所有面向用户的字符串均使用 next-intl 的 useTranslations()(客户端)和 getTranslations()(服务端)。置信度:0.95
  • 支持 17 种语言区域,并为阿拉伯语、希伯来语和波斯语提供 RTL 支持。置信度:0.90

database

  • 对 Prompt 和 Comment 模型使用软删除(deletedAt 字段)—— 绝不对这些记录进行硬删除。置信度:0.95

English original

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