loop-coding

Orchestrate multi-file coding migrations via a 7-phase pipeline with staging-first deployment.

3|1|Updated May 21, 2026
One-click install
npx skills add https://github.com/qwwiwi/agentos-skills-public --skill loop-coding
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: loop-coding
Source: https://github.com/qwwiwi/agentos-skills-public/tree/main/skills/loop-coding
Command: npx skills add https://github.com/qwwiwi/agentos-skills-public --skill loop-coding

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gh, restic, curl, jq, python3, pnpm, bun, npm, bats, pytest, and includes scripts (resource) and references (resource) components.

What problem does it solve?

The Skill helps orchestrate large, implementation-heavy coding changes—like major refactors, rewrites, and migrations—without losing safety, tests, or deploy discipline.

Core Features & Use Cases

  • 7-phase pipeline for big changes: research → audit → plan → implement → review → fix-loop (max 3) → ship.
  • Scripts-first determinism: whenever a step can be formalized, it’s executed via scripts rather than ad-hoc AI actions.
  • Dual-model critique on the only critical stage: Codex + Opus run in parallel for Review, then merged findings drive the fix-loop.
  • Staging-first with production gate: staging deploy can proceed autonomously; production requires explicit approval.
  • Scope control: targeted for multi-file, high-risk work; explicitly avoids one-off edits, small fixes, docs-only changes, or dependency/typo bumps.

Quick Start

Use this skill to plan and execute a Russian migration and major refactor: "Сделай миграцию с переездом и крупным рефакторингом, с тестами, staging и только потом попроси явное разрешение на prod."

Frequently Asked Questions about loop-coding

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I safely execute a large codebase migration and major refactor without breaking existing tests?

Large refactors and migrations are safely executed by running a deterministic 7-phase pipeline: research, audit, plan, implement, review, fix-loop, and ship. This process enforces TDD-aligned test skeletons and dual-model review consensus to prevent regressions during multi-subsystem changes.

What is the best way to orchestrate a multi-file system rewrite with automated staging and production gates?

The best way to orchestrate a multi-file system rewrite is using a scripts-first pipeline that deploys to staging autonomously while requiring explicit approval for production. This ensures audited planning and capped iterative fixes are completed before any production changes occur.

When should I avoid using an automated pipeline for code review and deployment?

You should avoid using an automated orchestration pipeline for docs-only changes, small typo fixes, single-line edits, or dependency bumps. It is specifically designed for high-risk, multi-file, and multi-subsystem refactors rather than trivial modifications.

Does the dual-model review process run automatically during the coding migration pipeline?

Yes, the dual-model review process runs automatically during the review phase of the coding migration pipeline. It operates in parallel to critique the implementation, and the merged findings directly drive a capped iterative fix-loop with a maximum of three attempts.

Can I use TDD test skeletons for an auth API overhaul within a multi-phase deployment pipeline?

Yes, you can use TDD test skeletons for an auth API overhaul because the pipeline explicitly supports auth and API overhauls. It generates test skeletons during the implementation phase and validates them through staging-first deployment before requesting production approval.

What dependencies do I need to run scripts-first refactoring and testing workflows for complex migrations?

To run scripts-first refactoring and testing workflows, you need command-line dependencies like gh, restic, curl, jq, python3, pnpm, bun, npm, bats, and pytest. These tools facilitate deterministic script execution, testing, and deployment across the 7-phase pipeline.