Prompt Library › ⚙️ Technical › Generate Project Boilerplate with AI
GPT-4o ⚙️ Technical Basic

Generate Project Boilerplate with AI

Describe your project and get AI to generate the full starter structure — folder layout, config files, CI/CD pipeline, and README — ready to clone.

👁 6 views ⎘ 0 copies ♥ 0 likes

The Prompt

# Generate Project Boilerplate with AI

You are a senior developer. Generate a complete project boilerplate for [PROJECT_TYPE] built with [TECH_STACK].

## Project Specs

- **Name:** [PROJECT_NAME]
- **Purpose:** [PROJECT_PURPOSE]
- **Team size:** [TEAM_SIZE]
- **Target environment:** [TARGET_ENV]

## Required Structure

Generate:
1. **Folder layout** — with a brief comment on the purpose of each directory
2. **Package config** — [PACKAGE_FILE] with [DEPENDENCY_LIST] and scripts for dev, build, test, and lint
3. **Environment config** — [ENV_FILE_NAME] template with [REQUIRED_ENV_VARS] and comments
4. **CI/CD pipeline** — [CI_PLATFORM] config that runs tests and deploys to [DEPLOY_TARGET]
5. **Linting and formatting** — [LINTER] and [FORMATTER] configs following [STYLE_GUIDE]
6. **README** — with setup, development, testing, and deployment sections

## Conventions

Follow [NAMING_CONVENTION] for files and folders. Use [IMPORT_STYLE] for imports.

Output each file with its full path and content.

📝 Fill in the blanks

Replace these placeholders with your own content:

[PROJECT_TYPE]
[TECH_STACK]
[PROJECT_NAME]
[PROJECT_PURPOSE]
[TEAM_SIZE]
[TARGET_ENV]
[PACKAGE_FILE]
[DEPENDENCY_LIST]
[ENV_FILE_NAME]
[REQUIRED_ENV_VARS]
[CI_PLATFORM]
[DEPLOY_TARGET]
[LINTER]
[FORMATTER]
[STYLE_GUIDE]
[NAMING_CONVENTION]
[IMPORT_STYLE]

How to use this prompt

1
Copy the prompt

Click "Copy Prompt" above to copy the full prompt text to your clipboard.

2
Replace the placeholders

Swap out anything in [BRACKETS] with your specific details.

3
Paste into GPT-4o

Open your preferred AI assistant and paste the prompt to get started.