deploy-log-doctor
Skill0 starsChanged 5 months agoMITView on GitHub
Diagnose failed build and deploy logs from Vercel, Netlify, Cloudflare Pages, or GitHub Actions. Use this whenever the user pastes a build log, says a deploy failed, mentions 'build error', 'deployment failed', 'works locally but not in production', or shows any CI output containing an error — even if they don't ask for a diagnosis explicitly. Runs fully offline — no API keys, no network, no credentials.
In this repository9 other files it gives its agents.
- bundle-weightSkill
- ci-workflow-doctorSkill
- cors-auditorSkill
- dns-cutoverSkill
- env-driftSkill
- lockfile-doctorSkill
- migration-reversibilitySkill
- rollback-readinessSkill
- secret-preflightSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 5 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Run the classifier on the log first, then interpret:
- Distinctive: line 21
If it returns a diagnosis, walk the user through the fix steps, adapting them to the user's actual framework and platform.
- Distinctive: line 22
If it returns nothing (exit 2), the log is probably truncated above the real error — ask for the section around the first ERROR line and …
- Distinctive: line 23
After fixing, suggest the rollback-readiness skill to catch the next failure class before it happens.
- Distinctive: line 27
All paths below are relative to this skill's directory (deploy-log-doctor/).
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
deploy-log-doctor
Part of shipsafe — offline deploy-safety skills. Every script is stdlib-only Python 3.8+; nothing leaves the machine.
Run the classifier on the log first, then interpret:
python3 scripts/diagnose_log.py <logfile> # or pipe: cat log | python3 scripts/diagnose_log.py -
python3 scripts/diagnose_log.py <logfile> --json # structured outputThe script matches 11 curated failure signatures (missing env vars, case-sensitive imports, Node version mismatches, OOM, lockfile drift, peer-dep conflicts, Prisma generate, and more) and emits the root cause plus numbered fix steps.
Workflow:
- Save the user's log to a file (or pipe it) and run the script.
- If it returns a diagnosis, walk the user through the fix steps, adapting them to the user's actual framework and platform.
- If it returns nothing (exit 2), the log is probably truncated above the real error — ask for the section around the first ERROR line and rerun.
- After fixing, suggest the rollback-readiness skill to catch the next failure class before it happens.
Exit codes: 0 diagnosed, 2 no signature matched.
All paths below are relative to this skill's directory (deploy-log-doctor/).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

