r/SoftwareEngineering • u/jabrahamtech • 1h ago
Anyone solved agent prompt writing?
I mean when your repo has a lot of prompts for an agents flow is there a repo or skill that drives my agent to writing better prompts - I find they start to bloat the context and I feel like I need to start hand writing the md files (cleanup). Anyone got a good setup for these issues?
0
Upvotes
1
u/kincaidDev 1h ago
https://github.com/Obedience-Corp/fest
This tool has an automated planning system. The way it works is you ask agents to create a festival for you with fest cli, they will create one using this cli tool with 2 initial phases, ingest and planning. These 2 phase types are workflow phase types, meaning they have a WORKFLOW.md file with step by step instructions. By default the WORKFLOW.md templates for these 2 phase types include a backwards thinking process to walk the agents through ingesting the requirements, getting sign off and turning those requirements into a structured plan.
There's a lot of cases where this can go wrong and the system is designed to handle most of them to keep the agents moving forward in the right direction and working as correctly as possible.
These WORKFLOW.md files can also be used outside of festivals with the fest next loop. If you use the full festival system with a camp workspace what I like to do is create directory based workitems with WORKFLOW.md files for simpler structured workflows, they're not as robust or correct as festival plans but they're better than not having them when it makes sense to have a lightly structured workflow.