Nota:
For an overview of Agente de codificación de Copilot, see Acerca del agente de codificación de GitHub Copilot.
Introduction
Agente de codificación can process images, such as a photo or screenshot of a sketch or design, as part of your task description. This is useful when you want to show Copilot what you're trying to achieve visually, for example, when updating a UI or implementing a design.
You can provide images to Copilot in two ways:
- In an issue: Add an image to the issue body, with a description of the task you want Copilot to complete, then assign the issue to Copilot.
- In Chat de Copiloto: Attach images to your prompt when you ask Copilot to create a pull request.
Attaching images to an issue
- Navigate to the repository where you want to create the issue.
- Create a new issue or open an existing issue.
- In the issue body, drag and drop your image.
- Add a clear description of what you want Copilot to do with the image. For example, "Let's update the login form to match this mockup".
- Assign the issue to Copilot. For detailed instructions, see Assign an issue to Copilot on GitHub.com.
Copilot will analyze the image along with your description when working on the task.
Attaching images in Chat de Copiloto
-
Open Chat de Copiloto.
-
Attach your image to the chat prompt, and use
/taskto describe what you want Copilot to do. For example, "Update the notification badge to match this mockup".For detailed instructions, see Asking Copilot to create a pull request from Chat de Copiloto in GitHub.com.
-
Copilot will create a pull request using the image as context for the task.