YouTube2Text

Pocock vs Pstack vs Osmani: Which Skill Pack Wins? — Transcript

by Rob Shocks - Switch Dimension · 2,596 words · 386 segments · language en · Watch on YouTube

Full transcript

  1. 0:00So, Addy's money, he's probably one of
  2. 0:02the most respected engineers at Google
  3. 0:04for well over a decade, and he's
  4. 0:06recently just moved to Anthropic, the
  5. 0:08maker of Claude code. And he's just gone
  6. 0:09and open-sourced all his agent skills.
  7. 0:12So, 100,000 stars later, it's probably
  8. 0:14one of the most popular AI repos on
  9. 0:17GitHub right now.
  10. 0:18So, if you've been following the channel
  11. 0:19at all, you'll know I've already broken
  12. 0:21down P Stack from Loren Tan at Cursor,
  13. 0:23and then also Matt Pocock's skills. So,
  14. 0:26Addy is the third of the big three. Now
  15. 0:28that we've got all three, you can see
  16. 0:29that they're solving different problems.
  17. 0:31By the end of this video, you'll know
  18. 0:32what Addy's doing, when to reach for
  19. 0:34each pack, and why I think you don't
  20. 0:37need to run all of these across all of
  21. 0:38your projects. They can be a bit of
  22. 0:40overkill sometimes. I'm Rob, this is
  23. 0:42Switch to Mention, and let's start with
  24. 0:43how Addy thinks about his skill set. So,
  25. 0:45quick context, if you don't know who
  26. 0:47Addy is, he's a bit of a legend in the
  27. 0:49JavaScript world. He wrote Learning
  28. 0:50JavaScript Design Patterns, he led the
  29. 0:52Chrome developer experience and web
  30. 0:54performance work at Google. If you've
  31. 0:56ever run Lighthouse or read about Core
  32. 0:58Web Vitals, you've probably been
  33. 1:00affected by his work at some stage. So,
  34. 1:02I think that's really relevant because
  35. 1:03when somebody like Addy writes down,
  36. 1:06"This is how you want an agent to
  37. 1:08engineer software," you want to pay
  38. 1:09attention. What you're really getting is
  39. 1:11a seasoned engineer's brain compressed
  40. 1:14into markdown. And that's what I love
  41. 1:16about skills. Before we read tons of
  42. 1:17O'Reilly books on best practices, now
  43. 1:20we're basically studying and examining
  44. 1:21skills from the top performers. So,
  45. 1:23here's the big idea. Addy's approach is
  46. 1:26a life cycle, six stages: define, plan,
  47. 1:29build, verify, review, ship. And each
  48. 1:32stage has a slash command to go with it.
  49. 1:34If you've been watching my videos for
  50. 1:36the last 2 years, or you've done any
  51. 1:37kind of spec-driven development with B
  52. 1:39Mad or Superpowers, this will feel very
  53. 1:41familiar. And that's kind of the point.
  54. 1:44Matt's skills have their own vocabulary,
  55. 1:45grilling and wayfinder and fog of war. P
  56. 1:48Stack has potato mode and arenas. Addy's
  57. 1:50is the most traditional to the software
  58. 1:52development life cycle. You don't have
  59. 1:54to learn a metaphor, it's the software
  60. 1:56development life cycle done properly
  61. 1:58with an agent. So, I think of all the
  62. 2:00stacks this can fit in very well with an
  63. 2:02existing development team or in the
  64. 2:04enterprise. So, spec writes a proper PRD
  65. 2:07covering objectives, structure, code
  66. 2:09style, testing, and boundaries before a
  67. 2:12line of code. Plan breaks that into
  68. 2:15small atomic tasks with acceptance
  69. 2:17criteria, and build implements one thin
  70. 2:19vertical slice at a time. You implement
  71. 2:21it, you test it, you verify, you commit
  72. 2:23it, then you test review and ship. So,
  73. 2:25there's one mode that I really like,
  74. 2:27it's called slash build auto. So, you
  75. 2:29approve the plan once and then it runs
  76. 2:31every task autonomously after that. It
  77. 2:33removes you kind of having to step in
  78. 2:35between tasks, but it doesn't remove the
  79. 2:37verification, which is important for you
  80. 2:39to look at. So, every task is still test
  81. 2:41driven, and it's committed on its own,
  82. 2:44and then it stops if something fails.
  83. 2:46So, I think that's kind of like the
  84. 2:46right way to do autonomy. So, slash
  85. 2:49constraints basically is another style
  86. 2:51of interview just to test out what your
  87. 2:53quality level or quality bar is, and
  88. 2:55then it writes this to a constraints.md
  89. 2:57file. Then there is a slash web perf for
  90. 3:00web performance. It does a performance
  91. 3:02audit, which you know, given who wrote
  92. 3:04this, Addy Osmany, the the king of web
  93. 3:06performance, you'd hope this is going to
  94. 3:08be good. And then slash code simplify is
  95. 3:11for when the code works, but nobody
  96. 3:12really wants to touch it, and you want
  97. 3:14to simplify or break it down. There's a
  98. 3:16lot of overlap between what Lauren talks
  99. 3:18about and also what Matt Pocock talks
  100. 3:20about in terms of similar skills. So,
  101. 3:22there's 25 skills in total plus four
  102. 3:25reviewer personas. There's a staff
  103. 3:27engineer, a test engineer, a security
  104. 3:29auditor, and a web performance auditor.
  105. 3:31Okay, so let's look inside the skills.
  106. 3:33As always on this channel, the slash
  107. 3:35commands aren't the interesting part.
  108. 3:37The skill files are. Here's where we
  109. 3:39really get inside a software engineer's
  110. 3:42brain. So, every skill has what Addy
  111. 3:44would call a anti-rationalization table.
  112. 3:47It's a list of the excuses an agent will
  113. 3:49make to skip past a step. We see agents
  114. 3:52doing this all the time. And then you've
  115. 3:54got the rebuttal to why it would skip
  116. 3:56right next to it. So, it'll test for
  117. 3:57things and reasoning traces like this is
  118. 3:59too simple to test or I tested it
  119. 4:02manually. So, if you've worked with
  120. 4:03agents or you've worked with juniors,
  121. 4:04you've heard all of these excuses
  122. 4:05before. And writing the excuses down in
  123. 4:08advance is really a smart move. Here's a
  124. 4:10quick tip on working with multiple
  125. 4:11agents, thanks to our friends over at
  126. 4:13Neon. When you're developing new code
  127. 4:15with agents, you're going to want to
  128. 4:16have multiple different feature branches
  129. 4:18just to be sure that you don't impact
  130. 4:20the main production branch.
  131. 4:21Unfortunately, it gets a bit more
  132. 4:22complicated than that. We have the main
  133. 4:24branch, but we also need a database
  134. 4:26branch and maybe even some storage.
  135. 4:28Otherwise, what you get is a preview
  136. 4:30branch, maybe it's got a copy of
  137. 4:32Postgres and that's okay, but then it
  138. 4:33might end up uploading the file to the
  139. 4:35wrong storage. And we end up with a
  140. 4:38production break. I've been using Neon
  141. 4:40for years for my database needs just
  142. 4:42because of their superior branching and
  143. 4:43a whole lot of other reasons. But what
  144. 4:45you might not have noticed is now
  145. 4:47they're a full platform, database,
  146. 4:48storage, functions, auth, and AI
  147. 4:50gateway. Why is that a beautiful thing,
  148. 4:52you might ask? So, your agent using the
  149. 4:54CLI can now create a branch of
  150. 4:56everything it needs to be safe. That
  151. 4:58includes your database, your functions,
  152. 5:01your buckets, your auth user, anything
  153. 5:02that you need. Each agent gets its own
  154. 5:04copy instantly. Rob Shox viewers can
  155. 5:07sign up to Neon for free via the link in
  156. 5:08the description down below. So, this one
  157. 5:10is really interesting. It's called
  158. 5:12[snorts] doubt-driven development. We've
  159. 5:14heard of domain-driven development, this
  160. 5:16is doubt-driven development. So, for any
  161. 5:18non-trivial decision or important
  162. 5:20decision, it spins up a fresh context
  163. 5:22review and the one job is to doubt the
  164. 5:25claim. So, claim, extract, doubt,
  165. 5:28reconcile, stop. It's basically
  166. 5:31adversary review during the build, not
  167. 5:33just at the end. As you start to read
  168. 5:35through the rest of the skills, you
  169. 5:36start spotting some old friends and
  170. 5:38paradigms. Hiram's law in the API design
  171. 5:41skill, so every observable behavior of
  172. 5:43your API will eventually be depended on
  173. 5:46by somebody. And then the Beyonce rule
  174. 5:48in the testing skill, if you like that
  175. 5:50you should put a test on it. I'm not
  176. 5:52going to sing this. And Chesterton's
  177. 5:54fence in code simplification, don't
  178. 5:56delete the fence until you know why it's
  179. 5:58there. Trunk based development, small
  180. 6:00atomic commits, code as a liability. So,
  181. 6:03that's basically Audia Imani's software
  182. 6:06engineering brain turned into agent
  183. 6:08instructions. Honestly, if you never
  184. 6:10install this, just reading through the
  185. 6:11skills is a better software engineering
  186. 6:13course than most. So, how does this
  187. 6:16compare to the other two? So, Matt
  188. 6:18Pocock's skills basically are asking, do
  189. 6:20we agree on what we're building? So, do
  190. 6:23you and the agent agree? You're setting
  191. 6:25up the domain. His most popular skill
  192. 6:27would be grill me, and that's basically
  193. 6:28where the agent interrogates you before
  194. 6:31it writes anything. Then there's the
  195. 6:32idea of a shared language glossary,
  196. 6:34which would be ADORs, which are decision
  197. 6:36records, and then you've got specs and
  198. 6:38tickets. Matt still falls in with the
  199. 6:41traditional SDLC, it's just he is
  200. 6:43approaching it in a different way.
  201. 6:45A lot of his skills put the effort up
  202. 6:48front before you actually begin to code.
  203. 6:50And he's openly said he's
  204. 6:52anti-framework. He thinks things like
  205. 6:53BDD, Spec It, Superpowers take away your
  206. 6:56control. So, his skills are deliberately
  207. 6:58small, they're composable, and you can
  208. 7:01use them where you need to and hack them
  209. 7:03yourself.
  210. 7:04My interpretation of Lauren Tan's peace
  211. 7:06talk is really about can you prove it
  212. 7:09works. Lauren deliberately has no
  213. 7:10planning skills. Her line is the best
  214. 7:12spec is the code. All the weight really
  215. 7:15is on the investigation, the
  216. 7:16verification, and multimodal review
  217. 7:19after the fact. The build passed doesn't
  218. 7:21count as evidence. We need to prove that
  219. 7:23out. Adi's skills then are more around
  220. 7:25did we follow the whole process. He's
  221. 7:28the only one of the three that really
  222. 7:30covers the full SDLC life cycle right
  223. 7:32through to continuous integration and
  224. 7:34deployment, observability, uh
  225. 7:37deprecation, and shipping. It's probably
  226. 7:39the most team friendly and the most
  227. 7:41portable since it installs into
  228. 7:43something like 70 different agents. What
  229. 7:45I've ended up with personally is a mix
  230. 7:48of all of these together and I don't use
  231. 7:50them all at the same time. I'll use
  232. 7:51different skills at different points.
  233. 7:53I've got light, medium, and heavy
  234. 7:55versions of my skill runtime. So, reach
  235. 7:57for Pok Arc when the problem is fuzzy,
  236. 7:59when you're not sure what you want, or
  237. 8:01you're working on a code base you live
  238. 8:03with for years and you really care about
  239. 8:05the design. Grill me is still the single
  240. 8:07best skill I'd install first to do that.
  241. 8:10I'd reach for when you're on a team
  242. 8:12shipping to production and you want a
  243. 8:14predictable process everyone recognize,
  244. 8:17or when you want all the quality gates
  245. 8:19without designing them yourself. My own
  246. 8:22skill set falls more in this kind of a
  247. 8:23process because I'm working with teams
  248. 8:25of developers and teaching them how to
  249. 8:27apply agents.
  250. 8:29Then I'd reach for P Stack when it gets
  251. 8:30really gnarly. It's a bug you can't
  252. 8:32reproduce. You're looking to apply
  253. 8:34swarms and arenas against a problem.
  254. 8:37There's a migration. You've got
  255. 8:38long-running agents. Maybe it's an
  256. 8:40overnight run and you need to trust them
  257. 8:43when you wake up. And of course, if
  258. 8:44you're running Cursor and you've got
  259. 8:45several models because her skills work
  260. 8:47really well as a plugin with Cursor. And
  261. 8:49you'll also notice that there's huge
  262. 8:51overlap and they borrow from each other
  263. 8:52constantly. It's not that they're
  264. 8:54actually borrowing from each other. It's
  265. 8:55just that software engineers converge on
  266. 8:58how to build software all together at
  267. 9:00the same time. So, there is going to be
  268. 9:01a lot of overlap. And again, software
  269. 9:03engineering is opinionated. You just
  270. 9:05pick the best opinion and apply it to
  271. 9:07your own workflow. They're basically
  272. 9:09just three angles here all on the same
  273. 9:11craft. So, my actual opinion on all of
  274. 9:13this, you really don't need all of these
  275. 9:15skills on every single project. That is
  276. 9:17a massive overkill. Agents are getting
  277. 9:20super smart now and one of the best
  278. 9:22things you can do is actually run
  279. 9:23through your agents.md file or your
  280. 9:26existing skills and actually start to
  281. 9:27pair them back and prune them because
  282. 9:30you'll be surprised at how powerful the
  283. 9:32models are. I'm thinking that skills now
  284. 9:34are more about this is how I like to
  285. 9:37work as opposed to necessarily teaching
  286. 9:39the agent anything new. In fact, having
  287. 9:41really long skill files and an excess of
  288. 9:43skills is just going to bloat and
  289. 9:45confuse your context window. So, if
  290. 9:47you're just changing a button color, you
  291. 9:49don't need a PRD, a task breakdown, a
  292. 9:51five-axis arena review from P stack, or
  293. 9:55a security auditor. You just need to
  294. 9:57change the button and look at it. So,
  295. 9:59the way I think about it is effort
  296. 10:01level. Ceremony should match the stakes
  297. 10:03of what you're working on. So, a small
  298. 10:05tweak, just do it and then check it
  299. 10:06yourself. If it's very visual or
  300. 10:08prototype-based, just do it yourself,
  301. 10:10check it quickly, refresh, and move on.
  302. 10:12You're iterating with the agent. If it's
  303. 10:14a small feature, a quick uh grill me or
  304. 10:16discovery session so that you're
  305. 10:18aligned, and then some test-driven
  306. 10:19development. If it's a big or fuzzy
  307. 10:22feature you're trying to figure out,
  308. 10:24then a spec and a plan broken down into
  309. 10:26phases, and then you verify each one in
  310. 10:28between. If it's production, uh there's
  311. 10:31security involved, or anything
  312. 10:32irreversible, that's when you bring out
  313. 10:33the full review, doubt-driven
  314. 10:35development, and then all the security
  315. 10:37hardening that comes with it.
  316. 10:38So, even Adi says this about his own
  317. 10:40skills. His adoption guide to them is a
  318. 10:43gradual verification-first rollout on an
  319. 10:46existing codebase. Don't install 25
  320. 10:48skills and try to run everything. That's
  321. 10:51complete overload. And there is a
  322. 10:52practical cost here, too. Every skill
  323. 10:54you install is something the agent has
  324. 10:56to consider. And then you might end up
  325. 10:57auto-triggering these skills by accident
  326. 10:59when you don't want them. More skills
  327. 11:01doesn't necessarily mean a smarter
  328. 11:03agent. So, I guess the real lesson here
  329. 11:05is, and I've kind of been saying this
  330. 11:06for a while, learning these skills is
  331. 11:08really learning good software
  332. 11:11development practice. Test-driven
  333. 11:12development, small vertical slices,
  334. 11:15agreeing on requirements before you
  335. 11:16build, writing down why you made a
  336. 11:18decision. You're not deleting the fence
  337. 11:20until you know why it's there. Don't go
  338. 11:22deleting anything until you know
  339. 11:23specifically why it's there. And then
  340. 11:26proving it works against the real thing.
  341. 11:27If you just see green light test, that
  342. 11:29doesn't mean your app works. You need to
  343. 11:30actually test it properly. And none of
  344. 11:32this is new. It's not like any of these
  345. 11:34guys invented this. Matt Pocock credits
  346. 11:36the pragmatic programmer and
  347. 11:38domain-driven design. Andy is basically
  348. 11:40Google's engineering book. Lauren has
  349. 11:43years of React and meta experience. The
  350. 11:45skill there is just those ideas in a
  351. 11:47format that an agent can follow. So,
  352. 11:49don't treat any of these packs as a
  353. 11:51religion. Treat them as kind of like an
  354. 11:53O'Reilly textbook. You can install them,
  355. 11:55read them. You steal what works and then
  356. 11:58build your own skills on top of them.
  357. 12:01And that's basically encoding how you
  358. 12:03work. You're sharing the best of that
  359. 12:04with your team and they share back. It's
  360. 12:06your stack and it's your own quality
  361. 12:08bar. This is basically your own team or
  362. 12:10your own personal harness. And that's
  363. 12:12going to be bespoke to you and help you
  364. 12:14move a whole lot faster. And every time
  365. 12:16your agent screws something up, don't be
  366. 12:17a child. Don't swear at it. Just go and
  367. 12:20update your skill based on new
  368. 12:21learnings. That's exactly how all of
  369. 12:23these three packs were built. So, if you
  370. 12:25want to go deeper on building your own
  371. 12:26skills library and agent workflows,
  372. 12:28that's exactly what we do with Switch to
  373. 12:30mention the course and community. The
  374. 12:31link is in the description below and you
  375. 12:33can get on the wait list. So, I'd love
  376. 12:34to know in the comments which skill
  377. 12:36packs are you running right now? Have
  378. 12:38you written skill sets of your own? Feel
  379. 12:40Feel free to share them in the comments.
  380. 12:42I'd love to know what people are
  381. 12:43actually building and using in
  382. 12:44production. If this is useful, subscribe
  383. 12:46because this is a series. If you missed
  384. 12:48them, the P stack breakdown and Matt
  385. 12:50Pocock video are on the screen right
  386. 12:51now. You should watch those next.

About this transcript

This page contains the full transcript of Pocock vs Pstack vs Osmani: Which Skill Pack Wins? by Rob Shocks - Switch Dimension, generated from the public captions YouTube serves with the video. The transcript has 2,596 words across 386 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.

What you can do with it

Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.

Free YouTube transcript tool

YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.