Marcin Wojtala

Agentic Playbook #02

Learn a New Language

Through Your Own Codebase

Using Cursor AI to learn Java by contextualizing instruction within an existing TypeScript monorepo. The agent teaches through contrasts, creating a personalised, hands-on learning path anchored in real experience.

2 min readBeginnerpost

AI can make language learning more relevant by anchoring explanations in code the developer already understands. Instead of generic tutorials, the tool can compare familiar patterns with unfamiliar syntax and ecosystem conventions.

That is useful for engineers moving across stacks because it shortens the gap between abstract learning and practical contribution.

The strongest workflow asks the agent to teach through contrast: show the equivalent concept, explain what changes, and point out where assumptions from the old stack no longer apply.

Continue the Playbook