This repository provides a structured template for creating new software projects with built-in AI development workflow support. It's designed to streamline development using AI coding agents while maintaining high code quality and consistent practices.
Create a new project using our template with the interactive setup:
npx @unctad-ai/create-ai-assisted-project@latest
Or with specific options:
npx @unctad-ai/create-ai-assisted-project@latest my-app --template next-app
- 🤖 AI-First Development: Optimized workflow for AI pair programming
- 📝 Project Memory: Built-in context management between AI sessions
- ✅ Task Tracking: Integrated todo system for progress management
- 🎨 Modern UI: shadcn/ui + Tailwind CSS for all projects
- 🧪 Testing Focus: Test-driven development by default
- 📚 Documentation: Comprehensive guidelines and best practices
next-app
- Next.js application (App Router) + TypeScript + shadcn/ui (default)react-ts
- React with TypeScript + shadcn/ui
npx @unctad-ai/create-ai-assisted-project@latest my-app
cd my-app
npm install
First, instruct your AI coding assistant to read the guidelines:
Please read the AI_ASSISTANT.md file in this project to understand how to work with this codebase.
Then, ask it to help plan your project:
Help me plan this project: [brief description of your project idea].
Let's collaborate to define requirements, architecture, and create a task list.
The AI will guide you through creating project requirements, architecture, and tasks - writing all documentation directly to your project files in project-docs/ and creating your initial todo.md and memory.md files.
For each development cycle, ask:
Please read the AI_ASSISTANT.md file if you haven't already.
Let's implement the next task for this project. Use the documentation in project-docs/
and follow the implementation guidelines.
The AI will consult your project documentation, select the next logical task, and guide you through implementation.
-
Implement specific task:
Let's implement: [specific task from todo.md]
-
Review code:
Review this implementation: [component/feature]
-
Add feature:
Let's add a new feature: [feature description]
my-app/
├── src/ # Source code
│ ├── components/ # React components
│ │ └── ui/ # shadcn/ui components
│ ├── hooks/ # Custom React hooks
│ ├── lib/ # Utility functions & shared code
│ ├── styles/ # Global styles and theme configuration
│ ├── context/ # React context providers
│ ├── types/ # TypeScript type definitions
│ ├── utils/ # Helper functions
│ └── api/ # API client and related functionality
├── project-docs/ # Project documentation
│ ├── GETTING_STARTED.md # Quick onboarding guide
│ ├── guidelines/ # Development standards
│ │ ├── development.md # Development guidelines
│ │ └── review.md # Review process
│ ├── process/ # Process documentation
│ │ ├── WORKFLOW.md # Overview of development process
│ │ ├── DEVELOPMENT_PROCESS.md # Detailed workflow steps
│ │ └── AI_PROMPT_TEMPLATE.md # Standard AI prompts
│ └── technical/ # Technical documentation
│ ├── ARCHITECTURE.md # Architectural decisions
│ └── TECHNICAL_PLANNING.md # Implementation planning
├── memory.md # Project memory file for AI context
├── todo.md # Task tracking and management
├── package.json # Project configuration
└── AI_ASSISTANT.md # AI coding agent guidelines
Usage: @unctad-ai/create-ai-assisted-project [project-directory] [options]
Options:
-V, --version Output version
--template <n> Select project template
[next-app, react-ts]
--install Install dependencies (default: true)
--pm <package-manager> Choose package manager
[npm, yarn, pnpm, bun]
-h, --help Display help
Examples:
# Create a Next.js App Router project (default)
npx @unctad-ai/create-ai-assisted-project@latest my-app
# Create a React TypeScript project with shadcn/ui
npx @unctad-ai/create-ai-assisted-project@latest my-react-app --template react-ts
- Simplified Prompts: Keep AI instructions clear and concise
- Memory Management: Let AI update memory.md after each session
- TDD Approach: Follow test-driven development principles
- One Task Focus: Complete one focused task per AI session
- Documentation First: Let AI maintain documentation as you work
All rights reserved. No part of this project may be reproduced, distributed, or transmitted in any form or by any means without the prior written permission of the authors.