docs(ai): Add review skill, VsCode prompts#15799
docs(ai): Add review skill, VsCode prompts#15799christopherco merged 1 commit intomicrosoft:tomls/base/mainfrom
Conversation
e774011 to
4124e11
Compare
There was a problem hiding this comment.
Pull request overview
Adds VS Code prompt files and documentation updates to support AI-assisted workflows (prompts + skills) for Azure Linux component maintenance, aligning repo docs with the new prompt/skill structure.
Changes:
- Updates the agent instructions PRD to describe a two-tier prompt model and marks the new prompts as implemented.
- Extends
README.mdwith guidance for using VS Code prompt files and GitHub Copilot CLI in this repo. - Adds five
.github/prompts/azl-*.prompt.mdfiles for add/update/review/debug/migrate component workflows.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 16 comments.
Show a summary per file
| File | Description |
|---|---|
| docs/prds/agent-instructions.prd.md | Documents the two-tier prompt model and tracks prompt deliverables. |
| README.md | Adds VS Code + Copilot CLI usage guidance and a prompt catalog. |
| .github/prompts/azl-add-component.prompt.md | New prompt to guide adding a component via existing skills/instructions. |
| .github/prompts/azl-update-component.prompt.md | New prompt encoding an update workflow (version/deps/overlay/config). |
| .github/prompts/azl-review-component.prompt.md | New prompt wrapping the component hygiene review skill/checklist. |
| .github/prompts/azl-debug-component.prompt.md | New prompt for triaging overlay vs build vs runtime/packaging failures. |
| .github/prompts/azl-migrate-component.prompt.md | New prompt for migrating inline component definitions to .comp.toml files. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
4124e11 to
5485d64
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 8 out of 8 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
|
||
| This repo includes [GitHub Copilot](https://docs.github.com/en/copilot) prompt files in `.github/` that automate common workflows. Open VS Code with Copilot Chat in **Agent mode**, attach a prompt (📎), and fill in the inputs. | ||
|
|
||
| > **Important:** VSCode works properly when opened as a workspace (i.e. open `code ~/repos/azurelinux`, NOT `code ~/repos`). Otherwise, Copilot may not find the prompt files and won't load the skills. |
There was a problem hiding this comment.
Corrected spelling of 'VSCode' to 'VS Code' for consistency with official product naming.
| > Add the cowsay package, but make it clippysay and make clippy the default | ||
| ``` | ||
|
|
||
| In VSCode, there are specialized prompts for common tasks. They can be accessed from the chat window by typing `/azl-...` to filter for Azure Linux prompts: |
There was a problem hiding this comment.
Corrected spelling of 'VSCode' to 'VS Code' for consistency with official product naming.
|
|
||
| ### Copilot CLI | ||
|
|
||
| The skills and instructions are also compatible with the [GitHub Copilot CLI](https://github.com/features/copilot/cli/) which can be used directly from the terminal without opening VSCode. |
There was a problem hiding this comment.
Corrected spelling of 'VSCode' to 'VS Code' for consistency with official product naming.
7682b16
into
microsoft:tomls/base/main
No description provided.