-
Notifications
You must be signed in to change notification settings - Fork 0
Refactor: update README to enhance GitHub Copilot usage instructions … #6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -9,31 +9,39 @@ Choose one: | |||||
| Also required: | ||||||
| - Azure Subscription | ||||||
|
|
||||||
| ## Getting Started | ||||||
| ## Try it out | ||||||
|
|
||||||
| 1. Review the table below and the specific GitHub Copilot customizations used in this repo (located in `.github/` and `.vscode/mcp.json`) to get an idea of how these pieces work together to help you write Infrastructure as Code. | ||||||
| You can test the included GitHub Copilot customizations by using the included prompt template to create IaC for a VM: | ||||||
|
|
||||||
| ### GitHub Copilot Customizations | ||||||
| | Type | Location | When Used | Scope | Best For / Use Cases | | ||||||
| |------|----------|-----------|-------|----------------------| | ||||||
| | **Repository Instructions** | `.github/copilot-instructions.md` | Every chat/edit session | Entire repository | Global repo conventions, coding standards, guardrails that apply everywhere | | ||||||
| | **File/Path Instructions** | `.github/instructions/*.instructions.md` | Pattern/glob match (via `applyTo` frontmatter) | Specific files or paths | Language-specific rules (e.g., `**/*.bicep`, `**/*.tf`), framework guidelines | | ||||||
| | **Prompts** | `.github/prompts/*.prompt.md` | On-demand via `/` command | Single task | Reusable prompt templates, common tasks, onboarding workflows | | ||||||
| | **Agents** | `.github/agents/*.agent.md` | Invoked via Agent selector | Specialized persona | Domain experts; personas with specific knowledge/tools | | ||||||
| | **Skills** | `.github/skills/<name>/SKILL.md` | Automatic by agent | Task-specific capability | Custom tools, API integrations, deployment checks, doc lookups | | ||||||
| | **MCP Servers** | `mcp.json` | When configured & enabled | External tool integration | Connecting to external services (Azure, GitHub, databases, custom APIs) | | ||||||
| 1. Run `az login` to authenticate to Azure and select your desired subscription. | ||||||
|
|
||||||
| 2. Run `az login` to authenticate to Azure and select your desired subscription. | ||||||
| 2. Run the prompt template by typing `/demo-vm iacLanguage:bicep` or `/demo-vm iacLanguage:terraform` into GitHub Copilot Chat | ||||||
|
|
||||||
| 3. Run the prompt template by typing `/demo-vm iacLanguage:bicep` or `/demo-vm iacLanguage:terraform` into GitHub Copilot Chat | ||||||
| 3. Once GitHub Copilot has finished creating the IaC, you can ask it to run the deployment for you or follow the deployment instructions located in `infra/bicep/README.md` or `infra/terraform/README.md`. | ||||||
|
|
||||||
| 4. Once GitHub Copilot has finished creating the IaC, you can ask it to run the deployment for you or follow the deployment instructions located in `infra/bicep/README.md` or `infra/terraform/README.md`. | ||||||
| Want to learn how this repo guides Copilot? See the [Appendix: GitHub Copilot Customizations](#appendix-github-copilot-customizations). | ||||||
|
|
||||||
| ## Extras | ||||||
| Try a challenge task to reinforce the workflow: | ||||||
| Try creating IaC from your own prompts. | ||||||
|
|
||||||
| or | ||||||
|
|
||||||
| Try delegating IaC creation to GitHub Copilot Coding Agent: | ||||||
|
||||||
| Try delegating IaC creation to GitHub Copilot Coding Agent: | |
| Try delegating IaC creation to GitHub Copilot Coding Agent. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing period at the end of this sentence. The instruction should end with a period for consistency with other numbered steps.