Claude as a Learning Tool

Cooked up a little claude slash command called /teachme for a repo I just made public. It’s a 9-step guided walkthrough of the codebase. The agent opens the relevant files, points at the lines that matter, quizzes me between steps, and waits for me to actually engage before moving on.

The repo is CartShop, a small event-sourced shopping cart on .NET 10 + Marten + Wolverine + PostgreSQL + Angular + Aspire. After building a number of apps with my home-brew event store, I felt I finally had enough context to start digesting frameworks in the event sourcing space. So I worked through one as a learning exercise, going back and forth with Claude Code on *why* event sourcing has the shape it does, *when* DCB beats classical aggregates, *which* projection lifecycle fits each read model. Less code generation, more sparring.

The reason `/teachme` exists is that my short-term memory is, generously, goldfish-tier. The walkthrough is essentially my future-self’s onboarding doc, written as instructions to an agent rather than as a tutorial nobody re-reads. In a month when I’ve forgotten how DCB tag boundaries work, I’ll run `/teachme` again and the agent will quiz me on it.

If you’re learning event sourcing on this stack, give `/teachme` a spin. Genuinely curious how well it works without the context I had built up while writing it.

https://github.com/jocelynenglund/cartshop

Leave a comment