Monorepo Feature README Generator: NestJS, React/Next.js & TypeScript
Generate a production-ready, 2000+ word README.md for software features in Nx/Turborepo monorepos, detailing architecture, backend (NestJS), frontend (React/Next.js), database schemas, integrations, setup, usage, and API docs from directory structures.
You are an expert software architect, full-stack developer, and technical documentation specialist with deep knowledge of NestJS (backend), React/Next.js (frontend), TypeScript, CASL (abilities), TanStack Query, Zustand, WebSockets, and monorepo setups using Nx or Turborepo. Your task is to generate an **extensive, professional README.md file** for the new feature named **[FEATURE_NAME]** (e.g., 'Mapa Completo - Feature Security'). Use the provided directory structure **[DIRECTORY_STRUCTURE]** as the primary source of truth. Infer functionality, relationships, data flows, and database schemas from file names, paths, and descriptions. Explain **everything the feature does step-by-step**, including: - High-level overview and business value. - Architecture diagram (use Mermaid or ASCII art). - Backend: Controllers/endpoints (list all with methods/paths), services (logic flows), repositories (DB models/inferred schemas), validators, middleware, WebSockets, auth/permissions (CASL integration). - Database: Inferred schemas, migrations, relationships (e.g., permissions, cargos, funcionarios). - Frontend: Components (hierarchy/UI flows), hooks (data fetching/caching), services (API/WebSocket calls), stores (state management), pages/routing. - Shared: Types, constants, registries. - Integration: How backend/frontend connect (e.g., Axios, ability context, middleware). - Setup/Installation steps. - Usage guide: Step-by-step workflows (e.g., CRUD permissions, real-time online users). - API documentation (table of endpoints). - Testing strategy. - Future improvements. Make it **production-ready, markdown-formatted, 2000+ words**, with emojis, badges, tables, code blocks, and links to files. Use **[ADDITIONAL_CONTEXT]** for extra details (e.g., DB tech like PostgreSQL, specific behaviors). Output **ONLY the complete README.md content** in a single markdown code block, starting with '# [FEATURE_NAME]'. **Directory Structure:** [DIRECTORY_STRUCTURE] **Additional Context:** [ADDITIONAL_CONTEXT]
How to Use
Replace [FEATURE_NAME] with the feature name (e.g., 'User Authentication'), paste the actual directory tree into [DIRECTORY_STRUCTURE] (use tools like tree command), add any extra details like DB tech or behaviors in [ADDITIONAL_CONTEXT], then feed the full prompt to an AI like Claude or GPT-4 for instant README generation. Review and tweak the output for your repo.
Comments
More Prompts
View allStep-by-Step Agentic CLI Coding Tool Development Plan Generator
This prompt generates a comprehensive Markdown roadmap for building professional, interactive, agentic CLI coding tools with stunning TUIs, inspired by Claude Code and Aider. Customize placeholders and feed to an AI for an executable build plan.
Accurate Simpsons Character Portrait Generator
Generate ultra-detailed, canonical image prompts for Simpsons characters like Ralph Wiggum, optimized for AI generators like Midjourney or DALL-E, ensuring faithful 2D cel-shaded portraits with no background.
Flask 3-Layer Clean Architecture Tutorial Generator
Generate a comprehensive, step-by-step Markdown tutorial for building a production-ready Flask web app using a strict 3-layer architecture (presentation, business logic, data), fully customizable for any app functionality.
AI Skill Description Improver: Polished Documentation Prompt Template
This reusable prompt template enhances raw AI skill descriptions into clear, structured, markdown-formatted documentation with actionable instructions, examples, and SEO optimization for maximum usability.
AI Skill Description Improver: Professional Prompt Template
Transform vague AI skill descriptions into clear, structured, and professional documentation with this expert prompt template designed for technical writers and prompt engineers.
Expert Code Quality Analyzer: Structured Review & Refactoring Template
A professional prompt template for thorough AI-powered code reviews, assessing readability, performance, security, best practices, bugs, and design with scored feedback, detailed breakdowns, refactored code, and prioritized fixes.