Triage a failing build
Triage a red CI run: find the first real failure, attribute it to a change, and say whether the code is wrong or the runner was.
In Lobstack: Skills › Library › Add
What your agent will do.
A build went red and somebody has to decide whether to fix code, fix a test, or fix the pipeline.
- 01
Find the FIRST failure in the log, not the last. A failing run usually ends in a cascade of steps that failed because an earlier one did, so the error nearest the bottom is the least informative line in the file.
- 02
Read the assertion rather than the summary. "1 failed" says nothing; the expected-versus-actual says what the code believes about itself.
- 03
Decide which of three things happened before proposing anything, because they have different owners:
- the change under test is wrong;
- the change is right and the test is stale;
- nothing is wrong and the environment failed — a refused download, a full disk, an unset secret, a port already bound.
- 04
Attribute it. Find the last green run and name the change in between that touched what broke. If the same job has failed on unrelated changes, it is flaky, and then the test is the defect.
- 05
Report the cause and the smallest fix for it. Never re-run a job to get it green without saying why it was red: a re-run that passes has not answered the question, it has only stopped asking it.
The whole SKILL.md: 33 lines of Markdown.
Add it in the app from Skills › Library, or copy it and paste it into Skills › Add a skill.
---name: failing-builddescription: "Triage a red CI run: find the first real failure, attribute it to a change, and say whether the code is wrong or the runner was."metadata: title: "Triage a failing build" category: engineering tags: [ci, debugging]--- ## When to use this A build went red and somebody has to decide whether to fix code, fix a test, orfix the pipeline. ## How 1. Find the FIRST failure in the log, not the last. A failing run usually ends in a cascade of steps that failed because an earlier one did, so the error nearest the bottom is the least informative line in the file.2. Read the assertion rather than the summary. "1 failed" says nothing; the expected-versus-actual says what the code believes about itself.3. Decide which of three things happened before proposing anything, because they have different owners: - the change under test is wrong; - the change is right and the test is stale; - nothing is wrong and the environment failed -- a refused download, a full disk, an unset secret, a port already bound.4. Attribute it. Find the last green run and name the change in between that touched what broke. If the same job has failed on unrelated changes, it is flaky, and then the test is the defect.5. Report the cause and the smallest fix for it. Never re-run a job to get it green without saying why it was red: a re-run that passes has not answered the question, it has only stopped asking it.
- Engineering
Repo Watcher
Follows pull requests and CI, and explains what changed and what it would break.
4 tools · 2 skills - Engineering
On Call
Reads new errors, groups the ones that are the same bug, and names the change that caused them.
4 tools · 2 skills · Runs on a schedule - Engineering
Dependencies
Tracks what is out of date or vulnerable, and says which upgrades are safe to take.
2 tools · 2 skills · Runs on a schedule
- Engineering
Commit message from a diff
Write a commit message from a diff: a subject line that states what was found, then prose explaining why the change was made.
SKILL.md · App - Engineering
Review what a linter cannot
Review a change for what a linter cannot see: whether it is correct, what it breaks elsewhere, and which parallel list it forgot to update.
SKILL.md · App - Engineering
Pull request description
Write a pull request description from the diff: why it exists, what changed, how it was tested, and where a reviewer should look first.
SKILL.md · App - Engineering
Incident postmortem
Write a blameless postmortem from an incident's alerts, logs and chat: timeline, impact, root cause, and actions with owners.
SKILL.md · App - Engineering
Reproduce a bug before fixing it
Fix a bug by reproducing it first: turn the report into a failing test or script, shrink it, make the smallest fix, and show the test pass.
SKILL.md · App - Engineering
Security review of a change
Review a change or repository for security holes (leaked secrets, injection, missing permission checks, unsafe input handling) with a real attack for each finding.
SKILL.md · App