ai-pr-loop-fix skillA
ai-pr-loop-fix is agent-read markdown (skill) from arcasilesgroup/ai-engineering: Post-implementation CI verification loop: pushes the current branch, polls CI via gh, diagnoses failures, applies obvious fixes (lint, import, type errors), and loops until green or 5 iterations cap. Never auto-merges. Trigger for "fix CI", "get to green", "CI loop", "verify CI". Not for diagnosing non-CI failures — use /ai-debug. Not for adding test coverage — use /ai-verify. Not for complex logic fixes — report and stop..
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# ai-pr-loop-fix — push, poll, fix obvious, report the rest ## What it produces A CI-green branch, or a clear report of what failed and why the fix is non-trivial. ## Steps 1. **Push the current branch.** `git push`. If push fails (upstream not set), set it and push again. If the branch is `main` or `master`, refuse: this skill fixes feature branches, not trunks. 2. **Poll CI.** `gh run list --branch <branch> --limit 1 --json databaseId,status,conclusion`. If `status` is `completed` and `conclusion` is `success`, skip to step 7. If `status` is `in_progress` or `queued`, wait 30s and poll again. Max 3 polls before declaring CI stuck (report and stop). 3. **Read the failure.** `gh run view <run-id> --log-failed` to get the actual logs. Scan for the first actionable error. The rest are usually cascades. 4. **Diagnose.** Classify the failure: - **Obvious**: lint error, missing import, unused variable, type mismatch, formatting. - **Logic**: wrong test expectation, broken behaviour, subtle type issue. - **Infrastructure**: flaky test, network timeout, dependency resolution. …
Read the whole file at its exact version.
How to install
mdr add arcasilesgroup/ai-engineering/ai-pr-loop-fix@git:20260923.5ad45c5mdr add arcasilesgroup/ai-engineering/ai-pr-loop-fix@sha256:793a4196c860ffb5Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_d6dsvjk52qgvoz4n)
0 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260923.5ad45c5 latest | 2026-09-23 | 5ad45c5 | 3,681 B | A | view · diff |
| git:20260923.767162b | 2026-09-23 | 767162b | 3,627 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (3681 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
arcasilesgroup/ai-engineering · 58 stars · license Apache-2.0 · pushed 2026-09-24 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_d6dsvjk52qgvoz4n GET https://markdownregistry.com/api/v1/resolve?ref=arcasilesgroup/ai-engineering/ai-pr-loop-fix GET https://markdownregistry.com/api/v1/blob/793a4196c860ffb5b6f99c5a86f548864464389bce60566890d6cb23415c5a89
Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.