/python-backend:loop-engineeringfrom python-backend
Orchestrates multi-agent SDLC workflows with 3-tier state machines, capability-gated discovery, AGENTS.md bootstrapping, parallel worker execution, and self-correcting review loops.
Ships in python-backend. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
This skill orchestrates multi-agent execution loops, isolated parallel worker topologies, and the 3-Tier Adaptive SDLC State Machine. It coordinates capability-gated specialist dispatch, target-project AGENTS.md (<= 90 lines) bootstrapping, collision-free parallel builds (Disjoint File Mode A and Git Worktree Mode B), and deterministic max 3-iteration self-correction gates.
AGENTS.md (<= 90 lines) in target user repositories.commit-expert.pull-request-expert.AGENTS.md Bootstrap & 3-Tier Triagecontext/memory/MEMORY.md if present (~500 tokens), loading architecture.md, conventions.md, or log/YYYY-MM-DD.md only on demand.AGENTS.md Bootstrap (<= 90 lines): When operating in a target user repository that lacks a root AGENTS.md—or when its stack, build/test commands, DESIGN.md contract, or architectural conventions change—bootstrap or update a concise root AGENTS.md (<= 90 lines) using references/project-agents-template.md (1. Project Overview & Tech Stack, 2. Executable Commands, 3. Architecture & Coding Conventions, 4. Design & Persistent Memory wired to root DESIGN.md and context/memory/MEMORY.md).docs/<feature-name>/PLAN.md (<= 50 lines) & 3-Tier SDLC Triage:| Dimension / Phase | Tier 1: Fast-Track (Low Complexity) | Tier 2: Standard (Medium Complexity) | Tier 3: Mission-Critical (Complex) |
|---|---|---|---|
| Typical Scope | Single-file bugfix, doc fix, typo, chore, localized refactor without public contract change | 2–4 files, new API endpoint, single UI view/widget, DB migration, non-breaking contract update | Full end-to-end feature, payment/auth flow, cross-cutting refactor, breaking public API |
| Discovery (State 1) | SKIPPED: Zero discovery artifacts authored | SELECTIVE (capability-gated, sequential): spec.md (## Product <= 50L / ## Design <= 30L / ## Architecture <= 50L), DESIGN.md <= 110L, adr-*.md <= 55L | FULL (capability-gated, sequential): spec.md (all 3 sections), DESIGN.md <= 110L, adr-*.md <= 55L |
| Interactive Alignment Gate | SKIPPED: Auto-proceeds directly to build | MANDATORY: AskUserQuestion modal approval before build | MANDATORY: Strict AskUserQuestion modal sign-off before build |
| Build & Isolation (State 2) | 1 code-implementer under Mode A (Disjoint Files) | 1..N code-implementer in parallel under Mode A (Disjoint Files) | 1..N code-implementer under Mode A or Mode B (Git Worktree Isolation if shared files touched) |
| QA & Audit (State 3 & 4) | Scoped test file (exit 0) + compliance-verifier (skips committee) | Full suite (exit 0) + docs/<feature-name>/test-matrix.md (<= 80L) + compliance-verifier (APPROVED) | Adversarial Verification Committee (capability-gated, verdicts returned in final message <= 50L, no report files): qa-tester, critic, challenger, e2e-blackbox-tester, compliance-verifier |
| Token & Latency Impact | 70–85% token & latency savings | Balanced overhead with rigorous traceability | Maximum empirical depth & zero regression tolerance |
SKIP. Scale alone never makes a task Tier 3: Tier 3 requires the user to ask for it, or a change to authentication/authorization, payments, or a destructive data migration.PLAN.md listing every phase); per phase only build + scoped tests + one Conventional Commit + a <= 5 line progress note; discovery, alignment, the review committee, E2E and State 5 run once for the whole request, meaning one user message (before the first and after the last phase, or after a phase the user marks as risky).Measured on real runs: later requests reused the first request's triage, so product, design and architecture were never considered again, and every change re-ran the whole suite.
C-NN, even on the same branch, feature and PLAN.md.PLAN.md; read context/memory/ only if not read this session), then add one row to the ## Changes table in PLAN.md: | C-02 | <request in one line> | Tier | product | design | arch | e2e | critic/challenger |, each cell INVOKE/SKIP plus a 3-5 word reason. Judge only what this change adds; never copy the previous row.US/AC tagged C-NN; a new screen or visual pattern -> the UI/UX designer adds the screen delta; a new schema, contract or dependency -> the architect writes a new ADR. Run the alignment gate again only when the change is Tier 2/3 and a discovery row is INVOKE.qa-tester with the change ID and the changed files. It extends test-matrix.md, runs only the affected tests, and runs the full suite at most once per change, skipping it when nothing changed since the last green full run.PLAN.md <= 50 lines: collapse finished change rows to one line each.>= 2 independent, substantial tracks split by ownership (app, package, module); otherwise one implementer. At most 3 implementers at once.Owned Files, Forbidden files, the scoped test command and the return contract. Workers never run git writes, dependency installs or code generation, and run only their scoped tests. The orchestrator runs the affected suites once at fan-in and commits each track with git add <owned files>.isolation: "worktree"): worktrees branch from the default branch unless a settings file (.claude/settings.json, .claude/settings.local.json or ~/.claude/settings.json) sets "worktree": {"baseRef": "head"}; each worktree is a fresh checkout, so gitignored files are copied only when listed in .worktreeinclude and dependencies are installed inside the worktree.branch): the base commit is undocumented, so the worker first runs git merge-base --is-ancestor <feature HEAD sha> HEAD and stops on a non-zero exit.python3 ./skills/loop-engineering/scripts/run_parallel_agents.py tasks.json creates the worktrees from the current HEAD.git merge --no-ff), tests after each merge, and on a conflict aborts the merge and hands it to an implementer.<= 15 lines (status, files changed, test command + exit code, next step); reviewers return <= 50 lines (verdict, file:line findings, required fixes).docs/<feature-name>/spec.md, each editing only its own section).critic (>= 150 LOC diffs), challenger (auth/payments/concurrency/untrusted input), fail-honest e2e-blackbox-tester (only with a runnable web UI).python3 ./skills/loop-engineering/scripts/run_parallel_agents.py tasks.json # Mode B worktrees from HEAD
python3 ./skills/loop-engineering/scripts/pr_cron_reviewer.py # audit worker branches
Agent calls in one message; Mode B = isolation: "worktree" with worktree.baseRef set to "head".Agent call; workspace inherit for Mode A, branch for Mode B.Invoke / SKIP row for a new request, or running the full suite once per agent instead of at most once per change.AGENTS.md (<= 90 lines) wired to executable commands, DESIGN.md, and context/memory/MEMORY.md.AskUserQuestion alignment on Tier 2 / Tier 3 tasks.Tier 1 Fast-Track, Tier 2 Standard, or Tier 3 Mission-Critical) and capability-gated Invoke / SKIP table recorded in docs/<feature-name>/PLAN.md (<= 50 lines).AGENTS.md (<= 90 lines) bootstrapped or updated per references/project-agents-template.md when missing or outdated.What SKILL.md sets; muted values are Claude Code's defaults
11 skills in this plugin
/build-and-ci-gatesImplements linters, code formatters, and automated build pipelines (CI/CD) to prevent syntax errors, enforce style consistency, and prevent failing builds from being merged. Use this skill when asked to add linters, configure docker builds, or set up GitHub Actions workflows./context-captureUse when finishing a task at State 5 (Ship & Finish) or when the user explicitly asks to "save context", "guarda contexto", "record decisions", or "hand off" — writes ultra-compact persistent memory to context/memory/ and ensures target-project root AGENTS.md (<= 90 lines) stays wired to DESIGN.md and MEMORY.md across Claude Code and Google Antigravity./npx claudepluginhub jggomez/expert-ai-developer-skills --plugin python-backend4 plugins in one repository ship this exact skill · first indexed Nov 14, 2026
Other plugins' skills for the same job