This project is a Next.js TypeScript web application that serves as a prompt repository and generator specifically tailored for an AI-assisted software development process. It is designed to be used with the process for AI-assisted development.
- Prompt Store: A repository for storing and managing prompt fragments (prefixes, suffixes, and phase prompts) along with their metadata and edit histories.
- Prompt Builder: A UI for composing a complete prompt by combining stored prompt fragments with user-typed input, with options for inline editing, AI-assisted tidying, and history management.
- Frontend Framework: Next.js with TypeScript
- Styling/UI: Tailwind CSS and shadcn/ui for components and toast notifications
- Serverless API: Next.js API routes for handling requests to the OpenAI API
- Data Storage: JSON files for storing prompt fragments and generated prompt history
First, install the dependencies:
npm install --legacy-peer-deps
Then, run the development server:
npm run dev
Open http://localhost:3000 with your browser to see the result.
Run the test suite with:
npm test