PromptCut is a sophisticated web application for creating, managing, and organizing AI image generation prompts. Built with Next.js and clean architecture principles, it provides a professional tool for prompt engineering and management.
# Install dependencies
pnpm install
# Start development server
pnpm dev
# Build for production
pnpm build
# Run tests
pnpm test- Architecture and module map: see
docs/architecture/layers/anddocs/architecture/maps/module-map.md. - Health and entrypoints artifacts: see
docs/health.mdanddocs/architecture/entrypoints.md. - Docs verification (regenerates artifacts and checks links):
pnpm check:docs.
- Run all local checks (docs + lint + types + tests + layers + deps):
pnpm check:all.
- JSONB-based prompt storage with flexible field structure
- Drag-and-drop field reordering with smooth animations
- Image processing and upload with browser-side optimization
- Version history tracking with word-level diff highlighting
- Collection-based organization for prompt management
- Clean architecture with dependency injection
- Performance optimizations with advanced caching and memoization
Built with clean architecture principles featuring:
- Domain Layer: Business logic and entities
- Application Layer: Use cases and service interfaces
- Infrastructure Layer: External integrations (Supabase, etc.)
- Presentation Layer: React components and UI logic
For detailed architectural information, see docs/architecture/layers/ and docs/architecture/maps/module-map.md.
- Next.js 16.0.10 with App Router
- React 19.2.0 with TypeScript
- Supabase for database and authentication
- TanStack Query for state management
- Jotai for local state
- Framer Motion for animations
- @dnd-kit for drag and drop
- Tailwind CSS v4 for styling
For the technical stack overview, see sections above and package.json dependencies.
This project is proprietary. No permission is granted to use, copy, modify, or distribute this code. See LICENSE.