Spec-Driven Prompts Example
Under the previous post, Georgy asked me to share the commands. No problem, here you go - https://github.com/pavelkorolevxyz/spec-driven-prompts
But I specifically wrote several times in there that I recommend using this only as food for thought. And then generate everything for your own needs yourself. These commands were also generated.
Claude Code commands are in Russian so they're convenient to read. I keep them in my home directory because they're for myself, plus I don't save on tokens. And an example of how they work so you understand what roughly gets generated. The example is super simple, so it might seem like this isn't that necessary, but that's just how it seems.
For example, with this approach I practically one-shotted clones of all my posts from this channel into the blog on my website for posterity. And this is not the simplest task. On one side you have a zip archive from Telegram, on the other Hugo. You need to somehow come up with titles from the text (they're not always there), and an English short version for the URL, and rework links to other posts so they lead to blog posts instead of Telegram, and assign tags. Quite a complex story overall. Before using the spec, I'd get stuck with the agent on this task somewhere in the middle, always something didn't feel right.
And quite a few everyday and work tasks have been solved this way already.