Project Generator for Copilot
Generate full-stack projects with SEO metadata directly from VS Code Copilot Chat.
Features
- 🚀 Generate project scaffolding for multiple tech stacks
- 📋 Automatic loading of AI instructions
- 🔐 Secure API integration with basic auth
- 📦 Downloads from S3 with presigned URLs
- 🤖 Seamless Copilot Chat integration
- 🔄 Auto-execution of project setup instructions
After installing the extension, configure your API credentials:
Configuration
Option 1: VS Code Settings UI
- Open Settings (
Ctrl+, or Cmd+,)
- Search for "EIT Project Generator"
- Set the following:
- API URL:
https://eit-infra-provision-kit.intouch-aws-prod.com/api (Default)
- API Username:
<username> (Contact your team lead)
- API Password:
<password>
- API Key:
<api-key>
Option 2: settings.json
Add to your settings.json:
{
"eitProjectGenerator.apiUrl": "https://eit-infra-provision-kit.intouch-aws-prod.com/api",
"eitProjectGenerator.apiUsername": "<username>",
"eitProjectGenerator.apiPassword": "<password>",
"eitProjectGenerator.apiKey": "<api-key>"
}
Note: Contact your team lead for the API credentials (username, password, and API key).
Usage
1. Check Available Tech Stacks
Open Copilot Chat (Ctrl+Shift+I or Cmd+Shift+I) and type:
@eitProjectGenerator show available stacks
This will display all supported project types (e.g., NextJS, .NET 8, etc.).
Create a seo.json file with your metadata:
{
"Client": "AbbVie",
"Brand": "BOTOX",
"Project": "BOTOX AS",
"SiteDomain": "https://www.botox-abbvie.com",
"Pages": [
{
"Name": "Home",
"PageURL": "https://www.botox-abbvie.com/"
}
]
}
3. Generate a Project
In Copilot Chat, type:
@eitProjectGenerator create <stack> app
Replace <stack> with your chosen tech stack (run show available stacks to see options).
Then attach your seo.json file using the 📎 paperclip icon.
4. Auto-Execution
After generation, the extension automatically:
- Loads
_ai_instructions.md or INSTRUCTIONS.md
- Displays the instructions for confirmation
- Begins executing all steps automatically - no manual copy/paste needed!
The agent will use the _sitemap_metadata.json file if present and execute all instructions without skipping any steps.
Available Commands
@eitProjectGenerator show available stacks - List all supported tech stacks
@eitProjectGenerator create <stack> app - Generate project for specified stack
@eitProjectGenerator list files - List generated files
@eitProjectGenerator read <filename> - Read a specific file
@eitProjectGenerator show instructions - Display loaded instructions
Requirements
- VS Code latest version (1.95.0+)
- GitHub Copilot subscription
- Access to the project generation API
Installation
- Download the
.vsix file
- Open VS Code
- Press
Ctrl+Shift+P (or Cmd+Shift+P)
- Type "Extensions: Install from VSIX"
- Select the downloaded
.vsix file
- Restart VS Code
Development
# Install dependencies
npm install
# Compile TypeScript
npm run compile
# Watch mode for development
npm run watch
# Package extension
vsce package
License
MIT
Author
Eversana Intouch Architect Team