|
1 | 1 | # Practical GenAI Agentic Coding Guide |
2 | 2 |
|
3 | | -**[Read the online guide](https://fritschelab.org/practical-genai-agentic-coding-guide/).** Choose [Python](https://fritschelab.org/practical-genai-agentic-coding-guide/docs/paths/python/) or [R](https://fritschelab.org/practical-genai-agentic-coding-guide/docs/paths/r/), then repair a plot with a coding agent in six lessons. |
| 3 | +**[Read the online guide](https://fritschelab.org/practical-genai-agentic-coding-guide/).** Repair a Python or R plot in **VS Code + GitHub Copilot**. Use Chat to understand, plan, and run code; inspect plots in Explorer and color-coded diffs in Source Control. |
4 | 4 |
|
5 | 5 | This is Part 2 of the [Practical GenAI series](https://fritschelab.org/practical-genai-coding-guide/), from [Lars G. Fritsche](https://medschool.umich.edu/profile/4980/lars-fritsche) and the [Fritsche Lab](https://fritschelab.org/) at the University of Michigan. |
6 | 6 |
|
| 7 | +**Practising what we teach:** this guide and exercise were developed with substantial AI assistance in writing, coding, testing, and review. They are provided **as is, without warranty**, to the extent permitted by applicable law. Review the code, agent instructions, permissions, and results before use. Read the [AI-assistance disclosure, use guidance, and warranty notice](https://fritschelab.org/practical-genai-agentic-coding-guide/docs/reference/agent-control.html#about-ai-assistance-in-this-guide). |
| 8 | + |
7 | 9 | ## Get the exercise |
8 | 10 |
|
9 | | -Download the **[example repository](https://github.com/FritscheLab/practical-genai-agentic-coding-example)** for code, invented totals, tests, and offline lessons. Follow the website alongside it. |
| 11 | +Follow the **[VS Code + Copilot setup](https://fritschelab.org/practical-genai-agentic-coding-guide/docs/setup/vscode-copilot.html)** to install the tools, sign in, and clone the **[example repository](https://github.com/FritscheLab/practical-genai-agentic-coding-example)** through Source Control. The download includes code, invented totals, tests, and offline lessons. |
10 | 12 |
|
11 | | -```bash |
12 | | -git clone https://github.com/FritscheLab/practical-genai-agentic-coding-example.git |
13 | | -cd practical-genai-agentic-coding-example |
14 | | -``` |
| 13 | +Choose [Python](https://fritschelab.org/practical-genai-agentic-coding-guide/docs/paths/python/) or [R](https://fritschelab.org/practical-genai-agentic-coding-guide/docs/paths/r/), then follow six lessons through a reviewed local commit and handoff. Bring basic Python/R knowledge; the guide explains Git and requires no typed shell commands on the main path. Plotting itself needs no model API or credentials; Copilot requires account access. |
15 | 14 |
|
16 | | -Start with its README and language setup. Bring basic Python/R and terminal skills; the lessons explain Git. Plotting needs no model API or credentials. Use an institution-approved coding assistant for the agent exercise. |
| 15 | +Prefer another interface? Use the [Claude Code extension alternative](https://fritschelab.org/practical-genai-agentic-coding-guide/docs/platforms/claude-code.html#use-the-vs-code-extension) or the complete [CLI appendix](https://fritschelab.org/practical-genai-agentic-coding-guide/docs/appendix/command-line.html). |
17 | 16 |
|
18 | 17 | Include accessibility in every figure: contrast, readable labels, and reviewed alternative text. |
19 | 18 |
|
20 | 19 | ## Explore the guide |
21 | 20 |
|
22 | | -- [Agent setup](https://fritschelab.org/practical-genai-agentic-coding-guide/docs/platforms/): configure your coding client and check its access. |
| 21 | +- [Permissions and independent work](https://fritschelab.org/practical-genai-agentic-coding-guide/docs/reference/agent-control.html): approval fatigue, sandbox limits, maintainable code, and avoiding overreliance. |
| 22 | +- [Agent setup and alternatives](https://fritschelab.org/practical-genai-agentic-coding-guide/docs/platforms/): understand Copilot's controls or adapt the exercise to another client. |
23 | 23 | - [Optional R refactoring example](https://fritschelab.org/practical-genai-agentic-coding-guide/docs/platforms/r-refactoring.html): reuse a lab formatting skill or named Codex agent, then verify that results stay the same. |
24 | 24 | - [Repository practices](https://fritschelab.org/practical-genai-agentic-coding-guide/docs/practices/): context, testing, logs, and handoffs. |
25 | 25 | - [Teaching materials](https://fritschelab.org/practical-genai-agentic-coding-guide/docs/lab_meeting/): a 45-minute workshop and slides. |
|
0 commit comments