Project Generator for Copilot
Scaffold full-stack projects with SEO metadata directly from VS Code Copilot Chat.
Features
- 🚀 Scaffold project for multiple tech stacks
- 📋 Automatic loading of AI instructions
- 🔐 Secure API integration with basic auth and api key
- 📦 Downloads from S3 with presigned URLs
- 🤖 Seamless Copilot Chat integration
- 🔄 Auto-execution of project setup instructions
- 🤖 Download GitHub Actions agent workflows per tech stack
- 🏗️ Download infrastructure resources per tech stack
After installing the extension, configure your API credentials:
Configuration
Option 1: VS Code Settings UI
- Open Settings (
Ctrl+, or Cmd+,)
- Search for "EIT Project Scaffold"
- Set the following:
- API URL:
<api-url>
- API Username:
<username>
- API Password:
<password>
- API Key:
<api-key>
- Client ID:
<client-id>
Option 2: settings.json
Add to your settings.json:
{
"eitProjectScaffold.apiUrl": "<api-url>",
"eitProjectScaffold.apiUsername": "<username>",
"eitProjectScaffold.apiPassword": "<password>",
"eitProjectScaffold.apiKey": "<api-key>",
"eitProjectScaffold.clientId": "<client-id>"
}
🔑 Credentials: Contact your team lead or architect team for the API credentials (url, username, password, and API key).
Usage
1. Check Available Tech Stacks
Open Copilot Chat (Ctrl+Shift+I or Cmd+Shift+I) and type:
@eitProjectScaffold show-stacks
This will display all supported project types (e.g., NextJS, .NET 8, etc.).
Attach a _sitemap_metadata.json file with the following structure to provide SEO metadata for your project:
{
"Client": "Acme Corp",
"Brand": "AcmeMed",
"Project": "AcmeMed Patient Site",
"SiteDomain": "https://www.acmemed.com",
"Pages": [
{
"Name": "Home",
"PageURL": "https://www.acmemed.com/",
"Tags": [
{
"TagName": "og:title",
"TagValue": "AcmeMed | Official Patient Website"
}
],
"ImageInfo": [
{
"ImageTitle": null,
"ImageAltText": "AcmeMed logo.",
"ImageRelativePath": "https://www.acmemed.com/content/images/acmemed-logo.png",
"ImageName": "acmemed-logo.png"
}
]
}
]
}
If you don't have this file ready, you can create a simple one with the following command:
@eitProjectScaffold generate-seo-json
This will prompt you for the necessary information and generate a basic _sitemap_metadata.json file that you can then customize.
3. Generate a Project
To generate a project in Copilot Chat, type:
@eitProjectScaffold create-app <stack>
Replace <stack> with your chosen tech stack (run @eitProjectScaffold show-stacks to see options).
Then attach your _sitemap_metadata.json file using the 📎 paperclip icon.
4. Create Pipeline
To create a new pipeline (e.g., for CI/CD) for only new projects, type:
@eitProjectScaffold create-pipeline
5. Run Pipeline Stage
To run a specific stage of the pipeline (e.g., destroyqc|1-0-1), type:
@eitProjectScaffold run-pipeline-stage <stage>|<branch-version>
5. Update Existing Project
To update an existing project in Copilot Chat, type:
@eitProjectScaffold update-app <stack>
Replace <stack> with your tech stack and attach the updated _sitemap_metadata.json file using the 📎 paperclip icon.
6. Import AI Agents
To download the GitHub Actions workflows (.github folder) for a specific tech stack:
@eitProjectScaffold download-agents <stack>
The contents will be extracted directly into your workspace root, preserving the folder structure (e.g. .github/workflows/...).
7. Import Infrastructure
To download the infrastructure resources (.infrastructure folder) for a specific tech stack:
@eitProjectScaffold download-infra <stack>
The contents will be extracted directly into your workspace root, preserving the folder structure (e.g. .infrastructure/terraform/...).
8. Auto-Execution
After scaffolding, the extension automatically:
- Loads
INSTRUCTIONS.md or INSTRUCTIONS_UPDATE.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.
Available Commands
| Command |
Description |
@eitProjectScaffold show-stacks |
List all supported tech stacks |
@eitProjectScaffold create-app <stack> |
Generate project for specified stack |
@eitProjectScaffold update-app <stack> |
Update existing project for specified stack |
@eitProjectScaffold download-agents <stack> |
Download GitHub Actions workflows (.github folder) |
@eitProjectScaffold download-infra <stack> |
Download infrastructure resources (.infrastructure folder) |
@eitProjectScaffold create-pipeline |
Create a new pipeline |
@eitProjectScaffold run-pipeline-stage <stage>\|<branch-version> |
Run a specific stage of the pipeline |
@eitProjectScaffold list-files |
List files in the project |
@eitProjectScaffold read-file <filename> |
Read a specific file |
@eitProjectScaffold show-instructions |
Display loaded instructions |
@eitProjectScaffold generate-seo-json |
Generate a basic _sitemap_metadata.json file |
Requirements
- VS Code latest version (1.95.0+)
- GitHub Copilot subscription
- Access to Infra Provisioning Kit API
License
MIT
Author
Eversana Intouch Architect Team