- Home
- Skills
- DevOps & Cloud
- Throwaway fix branches for dark CI lights
Works with the AI Agents you already use
Throwaway fix branches for dark CI lights
When a project's latest default-branch CI is dark, try fixes on disposable fork branches, prove the fork turns lit, and open one upstream pull request only with the owner's OK.
$10
Throwaway fix branches for dark CI lights
Example session with this skill installed
"CI on main in our docs site has been dark since yesterday. Please fix it if you can, but don't open a PR until I say so."
- Read your context and instructions
- Compiled the throwaway fix branches
The agent checks the latest default-branch run and ignores an older cancelled workflow that is no longer in the tree. The current test workflow is dark. The log shows actions/setup-node@v3 failing on a Node version that the action no longer supports, and npm ci failing because the lockfile is out of date with package.json.
The agent forks to the owner's account, disables a publish-pages workflow on the fork, and pushes try/fix-node-and-lockfile. On that branch it updates the setup-node action to a current supported major, sets Node to an LTS release the project already documents, and refreshes the lockfile with a clean npm install so npm ci can run. It does not skip tests and does not add continue-on-error.
Fork CI runs the full workflow twice because the first run was borderline flaky on a cache step. Both runs finish lit. The agent drafts a PR body with the root cause, the two changes, and links to the two lit fork runs. It shows that draft and does not open the pull request.
Result, as reported to the user: "main is dark because setup-node was pinned to a defunct major and npm ci could not use the lockfile. I proved a fix on try/fix-node-and-lockfile in your fork. Full CI went lit twice. I turned off the fork's publish workflow so nothing shipped. Draft PR body is ready, with links to the lit runs. I have not opened a PR, merged, or notified anyone. Say yes if you want me to open this upstream."
Connects securely to your tools. The creator never sees your data.
About this skill
This skill is a workflow for fixing a project whose CI light is dark. Lights are described only as lit (the latest default-branch run succeeded) or dark (anything else). Stale runs from workflows that no longer exist on the default branch are ignored.
The agent reads the latest default-branch run, diagnoses the real root cause from the failing job logs, and says so if the cause is outside the code (a dead external service or a missing secret). It then forks to the owner's account, pushes a disposable try/fix-<topic> branch, and disables publish or deploy workflows on the fork so nothing ships.
The fix has to be proven on the fork with the full CI, not a subset. Flaky failures are re-run at least twice. The branch is kept or dropped based on whether the fork's light turns lit. A pull request that only skips tests, weakens assertions, or papers over part of the problem is not allowed.
If a proven fix exists, the agent drafts a PR body (what was dark, the root cause, the fix, and links to lit runs on the fork) and shows it to the owner. It opens the upstream pull request only after they explicitly say yes. After a merge, it confirms that the upstream default-branch light turned lit before calling the work fixed.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 16 days ago
- Accounts
- GitHub account with fork/push access
- Software
Git
Permissions
No special permissions declared or detected
What's inside
Frequently Asked Questions
New in DevOps & Cloud
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for DevOps & Cloud.