AI SummaryAlign all code suggestions, architecture recommendations, and technical solutions with this stack unless explicitly requested otherwise.
Install
Copy this and paste it into Claude Code, Cursor, or any AI assistant:
I want to add the "wepublish — Cursor Rules" prompt rules to my project. Repository: https://github.com/wepublish/wepublish Please read the repo to find the rules/prompt file, then: 1. Download it to the correct location (.cursorrules, .windsurfrules, .github/prompts/, or project root — based on the file type) 2. If there's an existing rules file, merge the new rules in rather than overwriting 3. Confirm what was added
Description
Cursor Rules for wepublish
We.Publish Tech Stack
Align all code suggestions, architecture recommendations, and technical solutions with this stack unless explicitly requested otherwise.
Frontend
• Next.js 15 with TypeScript (Pages Router, not App Router) • React 18 • Material UI (MUI) as UI component library — styling via styled() with tagged template literals (@emotion/styled) • Apollo Client for GraphQL communication (with generated hooks via GraphQL Code Generator) • React Hook Form for forms • Zod for schema validation • React Icons for icons • react-i18next for internationalization • Storybook for component development and documentation • React Router v6 for client-side routing in the editor app
Backend
• NestJS 11 as the server framework • PostgreSQL 17 as the database • Prisma 5 as ORM — schema at libs/api/prisma/schema.prisma • Apollo Server for GraphQL API (code-first approach with NestJS decorators) • Pino for structured logging • Sentry for error tracking
Monorepo & Build
• Nx 20 as the monorepo build system • Webpack for bundling • Babel / SWC for transpilation • Node.js 22 runtime
Discussion
Health Signals
My Fox Den
Community Rating
Sign in to rate this booster
Works With
Any AI assistant that accepts custom rules or system prompts