There's a way to do it. There's a way to do everything. The next question is what is your favourite opening prompt? Oh, okay. So, I give a lot of background info, so I would say, like, I am trying to solve this particular problem, and we need to discuss how we can solve this. I like to have a really collaborative approach with an agent. Actually, one of my favourite, it doesn't fully answer the question, but one of my favourite modifiers to any prompt is any questions. In almost every prompt I do, if it's slightly ambiguous, or could be slightly ambiguous, I just tack on the end any questions, and usually, there will be questions. Otherwise, there usually isn't questions, and your agent will make an assumption. So, I guess, favourite opening prompt is just the normal stuff, but then that modifier is great. Yes, for sure.
Okay, we've got a cost question which is how would this scale in terms of token usage on longer running projects? So, what I just spoke about with the other question is that your delta describes the behaviour of your system, and what is happening. I had this question recently, actually, in a workshop that I ran, and my suggestion was to come up with a way to ignore certain older specs within your agent, so you could of course clean up your older archived specs, but I would do like a clawed ignore or a cursor ignore file to maybe ignore things that I didn't need. But from what I've seen, even for longer-running projects, you don't see that much token usage because your model won't immediately look inside of your archive, it will look in your delta specs where you've got that much more compressed version. It depends on the framework, but my advice is always just to monitor this as you go, and course-correct, but it's never something that you couldn't correct in the future.
Today, the why behind a feature work usually exists in Slack, Linear, or Jira, and other sources of context. Why would collaborative specs be better than any of these other collaborative sources? Different to Jira and Slack and stuff like that? I guess it's mainly because they live next to your codebase, and I think it's very easy to lose context elsewhere. If we were still, you know, let's imagine a world where we're not using AI, and we are all writing code by hand, we've slowed right down, we can obviously monitor the output because we are writing the code, and if specs did live elsewhere, we can keep that context because we've slowed right down, but I think as soon as you introduce this thing that rapidly generates code, you do need a way to have these quick why did we do this, what did we do before, what went wrong before, which is something I didn't say in my talk, but we need to know what happened before so it doesn't happen again. I think that's the most important thing, and we lose that when we, like, you know, generate thousands of lines of code a minute. So, yeah. Sure, for sure. Another one on that kind of importance of context and organising it, how do you organise your specs in a way that it doesn't just become bloated? So, we've touched on this already, but should we be selective about what specs we are committing to main? I don't think so, no. I think any context helps. Again, it's framework-dependent, so it doesn't, you know, some frameworks will not put everything together, some will sort of get rid of your, some parts of your specs, but, yeah, I don't think we should, at least initially, don't be selective about what you're pushing up because you want to see how it works for you and your team until it scales and then it's a problem and then you can figure it out. Awesome.
Comments