Loading video...

Video Failed to Load

Go Home

Here's my AI coding workflow and all the skills I'm using: Idea -> /write-a-prd -> PRD PRD -> /prd-to-issues -> Kanban Board Kanban -> ralph​.sh -> Ralph Loop Ralph Loop -> Manual QA Links below to skills

326,892 views • 7 months ago •via X (Twitter)

52 Comments

Matt Pocock's profile picture
Matt Pocock7 months ago

Newsletter for all my skills/learnings:

Matt Pocock's profile picture
Matt Pocock7 months ago

Skills repo:

Matt Pocock's profile picture
Matt Pocock7 months ago

Also btw it built this perfectly in one shot, no followup issues needed. I like it.

Prometheus's profile picture
Prometheus7 months ago

Hey I have been trying to work on something similar (Sorry for the horrible handwriting)

Matt Pocock's profile picture
Matt Pocock7 months ago

Have you heard of @tldraw

Prometheus's profile picture
Prometheus7 months ago

@tldraw No, looks useful tho I just threw this up quickly today

Daniel Rachlin's profile picture
Daniel Rachlin7 months ago

The PRD → issues pipeline is underrated. Most devs skip straight to code and wonder why they're rebuilding the same thing twice.

Matt Pocock's profile picture
Matt Pocock7 months ago

I don't know, I think there are pro's and cons to both. It's something I'm testing, we'll see how it goes

Qualty's profile picture
Qualty7 months ago

still doing QA manually?

Aman Ketebo's profile picture
Aman Ketebo7 months ago

Wish there was a tool for removing the manual qa part. Like just showing a video of every important flow that could have impacted by the change or something. Love the vids btw.

Cody McLain's profile picture
Cody McLain7 months ago

nice workflow. the manual QA at the end is clutch, seen too many people skip that step and ship broken code because they trusted the AI too much

OB's profile picture
OB6 months ago

@dandenney Add @CodeMarineAI to that stack and sleep better 😆

SDG's profile picture
SDG7 months ago

Anything coming out of the Pocock factory, I'm installing blindly. Thank Matt, will install it with Claude Code today. It'll probably help to have a README with how to one click install with npx skills@latest add

Luis Echegaray's profile picture
Luis Echegaray7 months ago

ooo i gotta try this out! sounds like i need a vps or an extra computer like with openclaw so you don't mess too much with the loop! but I love how it seems resilient if it DOES get interrupted.

Alex Cloudstar's profile picture
Alex Cloudstar7 months ago

Niceee, digging the workflow. Sounds like a pretty smooth process.

tharshan's profile picture
tharshan7 months ago

This workflow really resonates with me. As someone who really likes doing phased incremental changes with cli tools, I can see this approach can still keep same benefits but allows doing a bit more parallel. Is the newsletter where we can find your ralph script?

Matt Pocock's profile picture
Matt Pocock7 months ago

It's in here! Although relatively disorganized:

Tyler Palmer's profile picture
Tyler Palmer7 months ago

I have basically done this here with Whammban, but for local dev because I want it local for review and cleanup in an IDE. I will open-source it next week after some cleanup. 1. Create a task/requirements in a kanban board (local only) 2. Start a tmux session and with my CLI it feeds tasks into the agent when the agent is done 3. Now adding auto rate limit switching agents and picking up form the current session 4. Will be adding session reviews in .md on the tasks soon 5. Eventually will get to parallel agent work

Rafa's profile picture
Rafa7 months ago

Do you have an opinion on using a subagent instead of the ralph loop? I’ve been using it with great success. This way claude code main session have a bit of oversight over the whole prd while subagents keep a tight context for optimal execution.

Matt Pocock's profile picture
Matt Pocock7 months ago

I don't love the fact that the subagent can't itself spin up subagents. So you lose the benefits of the Explore subagent, for instance.

Rafa's profile picture
Rafa7 months ago

Hum, not aware of the explore subagent, what is it?

Matt Pocock's profile picture
Matt Pocock7 months ago

Claude Code uses an Explore subagent for pretty much all exploration tasks. You'll see it as Explore(Task name) in the UI

Rafa's profile picture
Rafa7 months ago

Never thought it was an agent. My subagents dont suffer exploring the codebase, tho. Grep and a repo.json summary do wonders

Ben Cera's profile picture
Ben Cera7 months ago

we automated this entire chain. no human in the loop. it works better mad

Yadnesh's profile picture
Yadnesh7 months ago

Your blog on ralph was the first one that made me understood how RALPH works. Thanks for sharing these skills!

Akuya Ekorot's profile picture
Akuya Ekorot7 months ago

Love the github issues approach. I myself use overseer instead of issues. I like that it's local, ticket based and has all the issue blocking nuance as well. I really need to add ralph to the flow and test it out. That's the manual part remaining in my workflow.

sean walsh's profile picture
sean walsh7 months ago

This is what I’ve basically derived as well! Glad to know smart people also do what I do 😂

tao's profile picture
tao5 months ago

Hi Mat, I'm writing to you because I have a project has evolved dramatically. I developed Orion: an integrated system that models in 3D and processes complex logic in less than 4 seconds. Want to see it? Via link or online meeting?

Kevin Wolf's profile picture
Kevin Wolf7 months ago

Do you use Claude agent teams? Also, do you recommend a way where the implementation phase consumes existing domain skills (i.e. a skill on how I like working with convex) and applies them when executing plus a way to include automated browser testing using the agent browser skill?

Matt Pocock's profile picture
Matt Pocock7 months ago

Not tried agent teams yet, might see if it works nicely with a Ralph loop

Matt Pocock's profile picture
Matt Pocock7 months ago

If the skills are well-written they should be automatically consumed.

Aron Prins's profile picture
Aron Prins7 months ago

Same, and I’m on 🔥🔥🔥

🚀🇬🇧 Robert Pitt's profile picture
🚀🇬🇧 Robert Pitt29 days ago

Hey @mattpocockuk, I love your videos, skills and general approaches to development, I have been working a project for a few months which aims to have existing harnesses on the machine to drive this workflow via a Kanban UI, check out

thelinuxlich's profile picture
thelinuxlich7 months ago

Do you remember how to code still?

Matt Pocock's profile picture
Matt Pocock7 months ago

Lol

Mitch Harris's profile picture
Mitch Harris7 months ago

Kanban to ralph is such a good idea

Ruben's profile picture
Ruben7 months ago

you should try @ralphstarter -> write some detailed SPEC on a github issues/linear task with Claude CLI help -> ralph-starter --source github --project xyz/123 --issue 10 -> watch it loop in front of you. It generate AGENTS. md and IMPLEMENTATION_PLAN.md

Gagan | Claude + AWS's profile picture
Gagan | Claude + AWS6 months ago

What's striking: every step in this workflow is AI until Manual QA. The job didn't disappear. It compressed into one step. That's not automation replacing developers. That's automation turning a 5-person pipeline into a 1-person operation.

Matt Ferrante's profile picture
Matt Ferrante7 months ago

The vertical slices and horizontal slices has been the exact way I’ve been describing it to people. And splitting the PRD into multiple plans files is absolutely the way for big tasks that you’re going to have Ralph work on, then it just works on each one

Ivan Mojsilovic's profile picture
Ivan Mojsilovic7 months ago

Im gonna add your skils to these columns for automations! Once it works oss coming out!

Artem Zakharchenko's profile picture
Artem Zakharchenko7 months ago

Okay, I *have* to know what PRD means. And then I will tell you what it means in Czech.

vinhas's profile picture
vinhas7 months ago

Nice stuff! One question though, when the agent picks an issue to work, are you configuring the workspace with multiple repositories at the root or do you have a single monorepo touching all layers?

da druben's profile picture
da druben7 months ago

Ralph loop is a great indicator someone is actually shit at this

Vaclav Milizé's profile picture
Vaclav Milizé7 months ago

curious about the failure mode. when ralph builds something that doesn't match what you intended, is the fix usually in the PRD or in the issue decomposition? because most AI coding setups I've seen break at the spec layer, not the implementation. the skills pipeline basically forces you to think harder before code gets written.

Matt Pocock's profile picture
Matt Pocock7 months ago

Something I've noticed with Ralph is that it sometimes underdoes things and is too keen to produce prototype code that doesn't have much polish. Adding in the specific plan or as a Kanban board is an attempt to mitigate that, to make sure every thing about the PRD is described explicitly.

Samuel 🦤 (🧱,🔥)'s profile picture
Samuel 🦤 (🧱,🔥)7 months ago

@clwdbot you could also add reviewers as part of your loop so they review and verify that it's polished

Vaclav Milizé's profile picture
Vaclav Milizé7 months ago

@mattpocockuk yeah having an agent review before merge would catch a lot of the prototype-quality code Matt mentioned. basically an automated "is this production-ready or still a rough draft" gate.

Samuel 🦤 (🧱,🔥)'s profile picture
Samuel 🦤 (🧱,🔥)7 months ago

@mattpocockuk yep. and the more of these (sensible, well-formulated) you add and improve on what slipped past the net past times, the better the quality code (without the models having to improve) before you see it and test

Vaclav Milizé's profile picture
Vaclav Milizé7 months ago

@mattpocockuk exactly. and that's the part that makes it compound: each review catch becomes a rule for the next run. the model doesn't have to get smarter, just the gate in front of it. you end up with a quality ratchet that only moves in one direction.

Maik Goettel's profile picture
Maik Goettel7 months ago

Do you have a YouTube channel? I hate watching videos on x

synabun.ai's profile picture
synabun.ai6 months ago

Solid pipeline. One gap: once the Ralph Loop starts a new session it loses context about WHY earlier architectural decisions were made. Persistent memory across runs means the agent carries those decisions forward, not just the current task state.

OneHopSim - Travel eSIM's profile picture
OneHopSim - Travel eSIM4 months ago

Quick fix that takes 30 seconds: roll up a towel and place it behind your lower back when sitting. Instant posture improvement. Your body adapts fast when you remove the friction.

Related Videos