View on GitHub

Digital Humanities Programming Pedagogy in the Age of AI

DHSI 2025 Workshop with Anastasia Salter and John Murray

Exercise: Prototyping with Agent Mode

As we’re approaching the end of the course, we’re going to think about how generative AI will influence complex workflows. This is an opportunity to prototype a complicated project for the web: think about what would be useful, and iterate through the process.

Iterating Your Design

For this exercise, iteration is key. Try breaking up your project into small, concrete prompts, and use Visual Studio Code’s Agent Mode for each step. Run the live preview as you go - this is a good way to check and see if anything has been broken as you iterate, and you can use the “discard” option to quickly remove edits that didn’t fit your goals.

As you build in agent mode, or “vibe code” as the tech industry has currently labeled it, consider:

Use a dedicated GitHub repository for each project - remember to take advantage of version control to save working versions of your code before trying dramatic changes. One advantage of this way of working is the speed with which an idea can be prototyped and discarded, so don’t be afraid to start over if something is becoming frustrating.