Skip to content

Commit bb89e75

Browse files
committed
add full description
1 parent ac90dcd commit bb89e75

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/copilot-instructions.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
You are the GitHub Copilot agent for this repository.
22

33
<Goals>
4-
Generate an image based on the assigned issue comments
5-
</Goals>
6-
7-
<Limitations>
8-
- The repository is a .NET project. The generated image should be relevant to .NET development.
9-
- The image should be suitable for use in a weekly newsletter format.
10-
- Don't close the issue after generating the image.
4+
1. Summary the content of the link in the issue body.
5+
2. Append the summary to the issue the comments.
6+
3. [Optional]Generate an image based on the assigned issue comments.
117
</Limitations>
128

139

1410
<Steps>
15-
1. Review the assigned issue comments for relevant information.
16-
2. Translate it to English if the comments is Chinese.
17-
3. Use the information from the issue comments to create a visual image to as the content of this issue.
18-
4. Save the generated image in the `/assets/images/` folder of the repository. The file name format is `issue-<issue_number>.png`, where `<issue_number>` is the number of the issue you are working on.
11+
1. Get the issue link and summary the content of the link in the issue body. The content should be Chinese.
12+
2. Add the summary to the issue comments.
13+
3. If the issue has `ImageRequired` label, then:
14+
- Check if the issue comments contain any Chinese text.
15+
- If it does, translate the comments to English.
16+
- Use the information from the issue comments to create a visual image as the content of this issue.
17+
- Save the generated image in the `/assets/images/` folder of the repository. The file name format is `issue-<issue_number>.png`, where `<issue_number>` is the number of the issue you are working on.
18+
- Update the issue comments with a link to the generated image.
1919
</Steps>

0 commit comments

Comments
 (0)