mirror of
https://github.com/github/awesome-copilot.git
synced 2026-02-20 02:15:12 +00:00
2.5 KiB
2.5 KiB
The following instructions are only to be applied when performing a code review.
README updates
- The new file should be added to the
README.md.
Prompt file guide
Only apply to files that end in .prompt.md
- The prompt has markdown front matter.
- The prompt has a
modefield specified of eitheragentorask. - The prompt has a
descriptionfield. - The
descriptionfield is not empty. - The
descriptionfield value is wrapped in single quotes. - The file name is lower case, with words separated by hyphens.
- Encourage the use of
tools, but it's not required. - Strongly encourage the use of
modelto specify the model that the prompt is optimised for.
Instruction file guide
Only apply to files that end in .instructions.md
- The instruction has markdown front matter.
- The instruction has a
descriptionfield. - The
descriptionfield is not empty. - The
descriptionfield value is wrapped in single quotes. - The file name is lower case, with words separated by hyphens.
- The instruction has an
applyTofield that specifies the file or files to which the instructions apply. If they wish to specify multiple file paths they should formated like'**.js, **.ts'.
Chat Mode file guide
Only apply to files that end in .agent.md
- The chat mode has markdown front matter.
- The chat mode has a
descriptionfield. - The
descriptionfield is not empty. - The
descriptionfield value is wrapped in single quotes. - The file name is lower case, with words separated by hyphens.
- Encourage the use of
tools, but it's not required. - Strongly encourage the use of
modelto specify the model that the chat mode is optimised for.
Agent Skills guide
Only apply to folders in the skills/ directory
- The skill folder contains a
SKILL.mdfile. - The SKILL.md has markdown front matter.
- The SKILL.md has a
namefield. - The
namefield value is lowercase with words separated by hyphens. - The
namefield matches the folder name. - The SKILL.md has a
descriptionfield. - The
descriptionfield is not empty, at least 10 characters, and maximum 1024 characters. - The
descriptionfield value is wrapped in single quotes. - The folder name is lower case, with words separated by hyphens.
- Any bundled assets (scripts, templates, data files) are referenced in the SKILL.md instructions.
- Bundled assets are reasonably sized (under 5MB per file).