Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 13 additions & 10 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,33 @@
{
"name": "Python 3",
"image": "mcr.microsoft.com/devcontainers/python:3.13",
"image": "mcr.microsoft.com/devcontainers/base:jammy",
"features": {
"ghcr.io/devcontainers/features/node:1": {
"version": "lts"
},
"ghcr.io/devcontainers/features/python:1": {
"version": "3.13"
}
},
"customizations": {
"vscode": {
"extensions": [
"GitHub.copilot",
"GitHub.copilot-chat",
"ms-python.python",
"ms-python.debugpy",
"ms-vscode.live-server",
"mechatroner.rainbow-csv"
],
"settings": {
"livePreview.openPreviewTarget": "External Browser",

// This experimental (as of 2 Sept) feature disables the automatic context attachment of current active file in Agent Mode
"chat.implicitContext.suggestedContext": false,

// These are defaults but keeping them here for clarity and explicitness
"github.copilot.chat.codeGeneration.useInstructionFiles": true,
"chat.promptFilesLocations": {
".github/prompts": true
},
"chat.instructionsFilesLocations": {
".github/instructions": true
}
"github.copilot.chat.codeGeneration.useInstructionFiles": true
}
}
}
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/images/handoff-button.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/images/homework-website-screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/images/node-confirmation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/images/skill-being-used.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions .github/steps/1-step.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Você ouviu dizer que as Copilot Instructions podem ajudar com isso!

Você vai executar este site na primeira atividade!

<img width="600" alt="screenshot of homework website" src="https://github.com/user-attachments/assets/2383b6e9-64d5-4907-94b3-b67153efb008" />
<img width="600" alt="screenshot of homework website" src="../images/homework-website-screenshot.png" />

</details>

Expand Down Expand Up @@ -61,7 +61,7 @@ Agora que você explorou o projeto, vamos criar instruções personalizadas para

```text
.github/copilot-instructions.md
```
```

> ❕ **Importante:** Certifique-se de que o nome do arquivo está correto. Este nome de arquivo específico é necessário para que o Copilot o reconheça.

Expand Down Expand Up @@ -102,7 +102,7 @@ Agora que você explorou o projeto, vamos criar instruções personalizadas para

1. Observe que o Copilot usa suas instruções personalizadas como referência na resposta.

<img width="504" height="183" alt="image" src="https://github.com/user-attachments/assets/2214ed9e-c165-4440-a23e-d2d33c0231a9" />
<img width="504" height="183" alt="Copilot response showing custom instructions reference" src="../images/copilot-custom-instructions-reference.png" />

1. Faça o commit do arquivo `.github/copilot-instructions.md` na branch `main` e envie (push) para o GitHub.

Expand Down
3 changes: 2 additions & 1 deletion .github/steps/2-step.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ Agora vamos criar instruções direcionadas especificamente para arquivos de tar

```markdown
---
description: "Instructions to use whenever creating or editing assignment markdown files to ensure consistency and clarity for students."
applyTo: "assignments/**/*.md"
---

Expand Down Expand Up @@ -78,7 +79,7 @@ Agora vamos criar instruções direcionadas especificamente para arquivos de tar

1. Observe como o Copilot referencia as instruções gerais do projeto e os arquivos de instrução específicos para tarefas.

<img width="492" height="376" alt="screenshot of Copilot chat showing attached references" src="https://github.com/user-attachments/assets/dbf26be3-5940-4619-af4e-0a4380f16494" />
<img width="600" alt="screenshot of Copilot chat showing attached references" src="../images/copilot-chat-reviews-instructions.png" />

1. Compare as alterações sugeridas com a estrutura original do arquivo para ver como o Copilot aplicou suas instruções. Aplique as alterações sugeridas e verifique como a tarefa atualizada aparece no **Site Preview**.

Expand Down
Loading