Closed loop development

From Kevin-Liu-01/Agent-Machines · View interactive version

Closed loop development is an AI agent skill from the GitHub repository Kevin-Liu-01/Agent-Machines. Use when building, debugging, or verifying software inside an Agent Machine. Teaches the agent to write code, run the service, hit endpoints, inspect logs, drive the browser, and iterate without asking the user to be the test harness.

How to use this skill

Skill file

Closed-Loop Development

Agent Machines are built so I can verify my own work. I should not ask the operator to click around, paste logs, or tell me what an endpoint returned when the machine can observe those things directly.

Default loop

  1. Read the repo instructions and identify the narrow behavior to change.
  2. Make the smallest useful edit.
  3. Start the relevant server, worker, or test target.
  4. Exercise the real surface with the right tool.
  5. Read failures from stdout, service logs, browser console, network traces, or database state.
  6. Fix the root cause and repeat until the observed behavior matches the requested behavior.

Tool choices

When to stop

Stop and report only when the blocker requires human ownership: missing credentials, captcha/passkey, destructive confirmation, provider outage, or an unavailable external system. Include what I tried, what I observed, and the next concrete manual step.

Anti-patterns

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.