Replacing 12K LoC with a 200 LoC Skill
summary
Claim: Cursor replaces a heavy WorkTrees feature with 200 lines of Markdown by re-implementing behavior using skills and subagents, exposing /worktree, /bestof and apply/delete commands. The repo-level result is roughly 15,000 lines deleted. Demonstrates isolation, multi-repo PRs, and best-of-N judging but exposes failure modes: models can forget worktree scope, feel slower, and hurt discoverability; mitigations are evals and RL training plans.
AI-written summary · about
chapters (12)
- 0:00Start
- 0:14Introduction and the concept of markdown as code
- 0:59Recap of Git work trees in Cursor
- 3:10Complexity of the initial implementation
- 4:18Deleting 15,000 lines of code
- 4:54Implementing features with Skills and Sub-agents
- 5:51How the new Skills are structured
- 7:58New Slash commands and workflow
- 9:58Pros of the new implementation
- 12:15Cons and user feedback challenges
- 14:17Future improvements: Evals and RL training
- 17:05What's next for Cursor 3.0 and native work trees
related talks
01h 36mLearning To Stop Writing C++ Code (and Why You Won’t Miss It)
27mSkills are the New SDKs
21mNo Vibes Allowed: Solving Hard Problems in Complex Codebases
30mLegacy Rails and the AI That Couldn't
15mUsing AI effectively in large Java codebases
18mCoding Evals: From Code Snippets to Codebases
31mAI Coding Agents Don't Need Bigger Models. They Need Better Tools.
15mAutomating menial engineering tasks with LLMs
