Skip to content

feat: Add Azure resource naming conventions based on Microsoft CAF#1635

Merged
aaronpowell merged 6 commits into
github:stagedfrom
petrsx:instructions/azure-naming
May 6, 2026
Merged

feat: Add Azure resource naming conventions based on Microsoft CAF#1635
aaronpowell merged 6 commits into
github:stagedfrom
petrsx:instructions/azure-naming

Conversation

@petrsx
Copy link
Copy Markdown
Contributor

@petrsx petrsx commented May 6, 2026

Pull Request Checklist

  • I have read and followed the CONTRIBUTING.md guidelines.
  • I have read and followed the Guidance for submissions involving paid services.
  • My contribution adds a new instruction, prompt, agent, skill, or workflow file in the correct directory.
  • The file follows the required naming convention.
  • The content is clearly structured and follows the example format.
  • I have tested my instructions, prompt, agent, skill, or workflow with GitHub Copilot.
  • I have run npm start and verified that README.md is up to date.
  • I am targeting the staged branch for this pull request.

Description

Adds an instruction file with Azure resource naming conventions based on the Microsoft Cloud Adoption Framework (CAF). It covers the general naming pattern, per-resource abbreviations, character constraints, naming scope, and examples across all major Azure service categories (networking, compute, containers, databases, storage, security, AI, etc.). Apply to Bicep, Terraform, and infrastructure files.


Type of Contribution

  • New instruction file.
  • New prompt file.
  • New agent file.
  • New plugin.
  • New skill file.
  • New agentic workflow.
  • Update to existing instruction, prompt, agent, plugin, skill, or workflow.
  • Other (please specify):

Additional Notes


By submitting this pull request, I confirm that my contribution abides by the Code of Conduct and will be licensed under the MIT License.

Copilot AI review requested due to automatic review settings May 6, 2026 20:33
@petrsx petrsx requested a review from aaronpowell as a code owner May 6, 2026 20:33
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ This PR targets main, but PRs should target staged.

The main branch is auto-published from staged and should not receive direct PRs.
Please close this PR and re-open it against the staged branch.

You can change the base branch using the Edit button at the top of this PR,
or run: gh pr edit 1635 --base staged

@github-actions github-actions Bot added instructions PR touches instructions new-submission PR adds at least one new contribution targets-main PR targets main instead of staged labels May 6, 2026
@petrsx petrsx closed this May 6, 2026
@petrsx petrsx reopened this May 6, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new GitHub Copilot custom instruction file that documents Azure resource naming conventions aligned to Microsoft CAF, intended to guide naming suggestions/reviews for IaC files (Bicep/Terraform) and infrastructure directories.

Changes:

  • Introduces azure-naming.instructions.md with a recommended naming pattern, constraints, and a resource abbreviation/rules table.
  • Adds examples and “do not do” guidance for common Azure naming pitfalls.

Comment thread instructions/azure-naming.instructions.md
Comment thread instructions/azure-naming.instructions.md
Comment thread instructions/azure-naming.instructions.md Outdated
@petrsx petrsx changed the base branch from main to staged May 6, 2026 20:37
@github-actions github-actions Bot removed the targets-main PR targets main instead of staged label May 6, 2026
petrsx and others added 2 commits May 6, 2026 22:38
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
…atterns and constraints

Co-authored-by: Copilot <copilot@github.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

Comment thread instructions/azure-naming.instructions.md Outdated
@petrsx petrsx requested a review from Copilot May 6, 2026 20:51
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

Comment thread instructions/azure-naming.instructions.md Outdated
Comment thread instructions/azure-naming.instructions.md
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@aaronpowell aaronpowell merged commit 4c54434 into github:staged May 6, 2026
11 checks passed
@allcontributors
Copy link
Copy Markdown
Contributor

@petrsx

I couldn't determine any contributions to add, did you specify any contributions?
Please make sure to use valid contribution names.

@petrsx
Copy link
Copy Markdown
Contributor Author

petrsx commented May 7, 2026

@all-contributors add @username for instructions

@allcontributors
Copy link
Copy Markdown
Contributor

@petrsx

I couldn't determine any contributions to add, did you specify any contributions?
Please make sure to use valid contribution names.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

instructions PR touches instructions new-submission PR adds at least one new contribution

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants