skills · AI coding agents on a real repo, worked in Claude Code and mapped to Cursor and GitHub Copilot
AI Coding Agents on Your Own Repo
Run an AI coding agent on your own repo, and stay in control of it.
From $9/month8.5 hours5 chapters22 lessons
Lesson 1 is free. Then keep going free for 14 days, no card needed.
“It has your permissions. Now what?”
- 8.5hours
- 22lessons
- 86readings
- 22worked examples
- 44exercises
- 44quick checks
- 22common myths
- 22quizzes
- 5end-of-chapter checks
What you make
The Session Log and a configured repo: SESSION-LOG.md records what you asked, what Claude Code did, what you checked and what you changed in your setup, beside CLAUDE.md, .claude/settings.json with permission rules, deny rules and hooks, a skill, a reviewer subagent, an MCP server and a script that runs it headless, then the same setup mapped to Cursor and an approval rule for pull requests an agent opens. Read the whole project
It ends with a one-page note a teammate could follow.
By the end, you'll be able to:
- A first session checked against the files
- A bug fixed test-first, its diff read
- Permission and deny rules you chose
- A short CLAUDE.md and a plan before a big change
- A skill, hooks, a reviewer subagent and an MCP server
- A planted-text test and an undo you have practiced
- Your setup mapped to Cursor and an approval rule for agent pull requests
- A headless script and a teammate note
Curriculum
5 chapters, 22 lessons
An agent in your terminal4 lessons · 1.5 hours
- What Happens When You Type a RequestFree
- Ask Before You Change Anything
- The First Fix: Test First
- What It May Do Without Asking
Context is the job4 lessons · 1.5 hours
- CLAUDE.md: What It Reads Every Time
- The Context Window Fills
- Plan Before a Big Change
- Give It a Way to Check Its Work
Make it yours4 lessons · 1.5 hours
- Your Own Command: A Skill
- Hooks: Rules That Run Every Time
- A Second Pair of Eyes: Subagents
- Connect One Tool with MCP
What it must never do4 lessons · 1.5 hours
- Text It Reads Can Give It Orders
- Secrets and the Bypass Flag
- Plausible Is Not Correct
- Undo: Checkpoints, Git and Worktrees
Beyond the chat6 lessons · 2.5 hours
- Run It from a Script
- Several Sessions at Once
- What It Costs and How to Keep It Down
- The Same Setup in Cursor
- When an Agent Opens the Pull Request
- The Note Your Teammate Needs
Career
Where this course can take you
Skills you will build
- Running Claude Code in a repo and checking its answers
- Exploring an unfamiliar codebase with an AI agent
- Test-first bug fixing with an AI coding agent
- Configuring Claude Code permissions
- Writing and maintaining a CLAUDE.md context file
- Managing an AI coding agent's context window
- Planning multi-file changes with an AI coding agent
- Defining verification checks for AI-written changes
- Writing reusable skills for an AI coding agent
- Enforcing repository rules with agent hooks
- Configuring subagents with scoped tools
- Connecting and scoping MCP servers
- Testing an AI coding agent against prompt injection
- Protecting secrets from an AI coding agent
- Reviewing AI-written code against requirements
- Recovering from unwanted agent changes
- Running an AI coding agent from scripts
- Running parallel AI coding sessions with git worktrees
- Managing AI coding tool usage and cost
- Configuring Cursor's Agent with rules, run settings, ignore files and hooks
- Reviewing pull requests opened by AI coding agents
- Documenting a team's AI coding agent setup
Who it's for
- You write code and want to use an AI coding agent (Claude Code, Cursor or GitHub Copilot) on a real repo, not a toy
- You have tried an AI coding tool and want to know what it read, ran and changed
- You want a setup you could hand to a teammate: rules, checks and limits written down
What you'll need
- You write code and use git and a terminal
- A Claude plan that includes Claude Code, or a Console account
Questions
Before you commit
Start today