And also, another thing is permissions, because if you've ever used a coding agent, you will have probably noticed that it asks you, like, can I run this command, can I install this, whatever. What some people do is they run their agent with like dangerously skipped permissions as a flag, and what can go wrong? I probably don't have to explain it, but there's like this post on Reddit that I saw of someone saying, like, oh, yeah, I ran into an issue where, like, my coding agent was running, and it needed some more disk space to do the task, so the coding agent figured, well, I'm not done yet, so I'm just going to go clean up some files so I have some more space to work on, which is pretty bad. So a solution to that is called sandboxing, which is basically running your script in a container, and there's a Docker command that you can run in your Relf loop as well, or some other approaches to that problem.
Okay. So I'm kind of not on pace, so we're going to try to speed things up. So let's talk about creating your specification. So basically, in essence, you can just have a conversation with Claude or another coding to talk about your idea, and it will keep at you the important part here is that you ask it, hey, I want you to have a discussion with me and interview me until we have clarity on what we want to implement, and that will just keep asking you questions over and over until you have, like, you know, a shared agreement, basically, and in the end, you tell it, hey, I want you to write some specification files, and these can just be Markdown files on your repo, or an implementation plan, which is just a list of checkboxes, again, in a Markdown file, or it can be something completely different.
So how do we actually know that this works, and how do you actually know that your plan is good enough, because, well, you know, how do you actually do that in practice? So what I would recommend you do is actually not there's an anthropic plugin for Ralph that I actually do not recommend you use, because it doesn't it kind of goes against the basic principle of a Ralph loop which is that it doesn't clear the context window, so it just runs into the compaction issue eventually, which is kind of bad, so what I recommend you do is to just use skills, and if you're unfamiliar with skills, skills are just repeatable instructions for your coding agents, and that basically comes down to a Markdown file that you tell it to read, and there can be some instructions in that file. There are some tools around this approach as well, called OpenSpec, which is kind of a nice free tool that applies some structure to this way of working with some common skills to ideate on your ideas, so there's one called Explore, and then there are some other ones to take that exploration of an idea, turn it into a specification, and then some other skills actually go around that task and do the work for me. Then there's another set of skills that I really enjoy working with lately, those are the skills by someone called Matt Pocock, it's a Git repository of just Markdown files and has over 100,000 stars on GitHub, it's kind of wild, so these are the core skills that he has, so there's GrillWithDocs, which basically just grills you on an idea, then you have another skill that turns that into a specification, and another skill that turns that into GitHub issues, and then there's SlashTDD, which you use to just take one of those issues and run a TDD agent to implement it. And then in the end, you get a list of tasks on GitHub that are ready for the agent to implement, which is kind of nice because it's contained instead of one big Markdown file, but again, this is not set in stone, you can do whatever you want.
Comments