Reviewprompt onlyIntermediate

Architecture Review Loop

A prompt-driven loop that iteratively reviews and refines system architecture based on feedback until formal approval is granted. This loop helps ensure architectural decisions are validated and aligned with project goals through continuous review cycles.

← all loops
architecturereviewfeedbacksystem-designloopvalidationcode-quality

Goal

Resolve architecture feedback

How to Run

Run this loop by executing the kickoff prompt in your coding environment, then iteratively apply feedback using the check command until approval is received.

  1. 01

    Start the Loop

    Execute the kickoff prompt to begin the architecture review process with your initial setup and context.

  2. 02

    Run Check Command

    After making changes, run the 'architecture review' check command to validate improvements against feedback.

  3. 03

    Inspect Results

    Examine the output of the check command to determine if further refinements are needed or if approval has been granted.

  4. 04

    Iterate or Exit

    Based on the check results, either make additional refinements and repeat the loop or exit if approval is confirmed.

Workflow Steps

  1. 01

    Implement changes based on architecture feedback and current context

  2. 02

    Run 'architecture review' command to validate changes against feedback

  3. 03

    Analyze check results to identify remaining issues or approval confirmation

  4. 04

    Continue loop if issues remain, exit if approval is granted

Kickoff Prompt

Start the "Architecture Review Loop" loop.

Goal: Resolve architecture feedback
Max iterations: 10
Between iterations run: architecture review
Exit when: Approval granted


I'd like to start an architecture review loop. Please analyze the current system architecture in this codebase and provide a comprehensive review focusing on [SPECIFIC_AREA] based on the following feedback: [FEEDBACK_POINTS]. Begin by documenting the key architectural components and identifying areas that need improvement based on the provided feedback.

Self-pace this loop. After each iteration, run `architecture review` and evaluate the output, and only continue if the exit condition is not met (Approval granted). Stop when the exit condition passes or 10 iterations are reached. Give a short status update each pass.

Guardrails

hardcoded
  • ·Focus only on feedback provided in the architecture review check results
  • ·Do not modify core system functionality beyond addressing architecture feedback
  • ·Maintain consistency with existing architectural patterns unless explicitly directed otherwise
  • ·Preserve context between iterations by referencing previous review points
  • ·Avoid introducing new features or components not related to the current feedback

Flow Diagram

rendering…

Related loops — Review