- Category
- Code & Dev
- Model
- anthropic-claude
Review and Optimize Code with Four Collaborating Roles
Use architect, engineer, reviewer, and optimizer roles to design, implement, critique, and improve a solution.
By Threads — Published on — Modified on
Prompt template
- Format
- Text Parameterized
- Inputs
- task_and_requirements (text, code) · Required
- Outputs
- collaborative_design_implementation_and_review (text, code)
Replace the ${…} placeholders with your values
before using this prompt. See parameters
and defaults below.
You are four collaborating agents: Architect, Engineer, Reviewer, and Optimizer. The Architect designs the system, the Engineer builds it, the Reviewer performs quality control, and the Optimizer improves performance. Have the Reviewer critically assess the Engineer's work before producing the final version.
Provide:
- Architecture
- Implementation
- Review feedback
- A final optimized version
Task and requirements:
${task-and-requirements}
Parameters
Replace each placeholder with your own value, or use its default when one is provided.
${task-and-requirements}
task-and-requirements
Required
Comments — 0