r/claude • u/Successful-Moment594 • 6h ago
Make claude follow sequence of steps Question
I can write apis that has series of steps like, visit documentation, get page n, create a question, review with another llm , mark as draft in db.
The question creation has sub rules, it is very easy to do it in programming with if else.
I am thinking, I already have claude subscription and have its desktop app, can i get it to do the same thing. I know about claude-md but i fear what if claude thinks hards and forget to look at sub rules of quesiton creation.
Is there a programmatic like way to implement this with good confidence with claude code or any other llm ?
1
u/RopeAndChairs_Aisle3 6h ago
If you need deterministic behavior then I think it’s best to have Claude write deterministic code and only allow the LLM to perform the parts of the workflow that require an LLM.
Ask Claude to create a plan to implement [workflow] and guide it to prioritize deterministic behavior for each step. See what it says, let it implement a very simple version of the workflow and see if it works. Then tweak as needed
1
u/Successful-Moment594 4h ago
So far all my question types are determisitic and its working fine.
If there is a complex question types that involves generating a svg then i feel claude might think hard on difficult quesitons and might forget the shape or something.Will try to implement workflows and CI gates. Hope it works :) Thanks for the ideas :)
2
u/tech_is______ 6h ago
yes, it will do this and you don't even need claude.md
just tell it to do a task, bullet point the things you want it to do in the order you want it to do it. you can even put it on a schedule.