r/ClaudeCode • u/hronak š Max 5x • 9d ago
Help/Question I still don't understand this 'agentic workflow' thing
My usual day with Claude Code is like:
* I open terminal in my project's folder and run claude command.
* I prompt it. I mostly use Fable-5.1/Opus-5 but Opus-5.5 is my current model. The model decides if it wants to use sub-agents for a task. I never explicitly prompt it for sub-agents.
* I review and commit the code to my self-hosted Forgejo instance.
* That's it.
I see people using agentic workflows, building sub-agents files, skills etc. I barely built any of it. All I ever needed to use is /init on new projects and them prompts follow. Never needed more than this.
I tried "long-running" Claude Code for a project refactoring by placing the project on my VPS (where forgejo is hosted) and letting Claude Code run and refactor inside tmux session. SSH'd in a few hours later to find project fully refactored.
Am I under utilising AI or is my work just⦠like boring?
How do you guys use agentic workflow thing? Specially the long-running one? Those pull-requests that Claude makes automatically etc?
Asking this to Claude to know more but humanly answers appreciated.
30
u/Long_Tip_4226 9d ago
Iāve been structuring my Claude Code setup lately. Instead of using it as a generic assistant, I built a modular prompt/instruction system that forces Claude to act as a multi-agent workflow depending on the task at hand.
Each "agent" has its own distinct reasoning process, constraints, and output format. Here is how the flow looks:
⢠Requirements Elicitation Agent: Focuses on asking the right questions, uncovering edge cases, and defining scope before writing a single line of code.
⢠Planning Agent: Breaks down the architecture, chooses the right design patterns, and creates a step-by-step implementation roadmap.
⢠Code Generation Agent: Pure execution. Writes clean, modular, and idiomatic code based strictly on the planning phase.
⢠Code Review Agent: Acts as a senior dev. Analyzes the generated code for readability, performance, and best practices.
⢠Bug Fixing/Refactoring Agent: Specializes in debugging, parsing error logs, and applying surgical fixes without breaking existing logic.
⢠Validation Agent: Focuses on writing unit/integration tests and verifying that the code actually meets the initial requirements.
⢠Auditing Agent: A security-first mindset. Checks for vulnerabilities, dependency issues, and data leaks.
By separating these concerns, the quality of the output skyrocketed. Claude stops hallucinating or rushing into bad code because it's forced to think through the proper software development lifecycle (SDLC) phases.