agentleFS
jajupmochijajupmochi/agent-harness/skills/.task-orchestrator-templates/workflow-fix/SKILL.md

workflow-fix-template

Skill1 starsChanged 5 months agoMITView on GitHub

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 5 are distinctive, and 1 is 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.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Check CI run logs (gh CLI or web UI): gh run list --limit 5.

    line 19
  2. Distinctive:

    Check if fix affects other jobs in the same workflow

    line 32
  3. Distinctive:

    Check if fix affects the OTHER workflow file (install-verify ↔ privacy-scan)

    line 33
  4. Distinctive:

    Run CI locally if possible

    line 50
  5. Distinctive:

    ALL jobs must pass — if any fail, go back to RESEARCH

    line 52
  6. Distinctive:

    Check both main AND codex-adapter branches

    line 53

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

workflow-fix-template

RESEARCH phase checklist

  1. List ALL workflow files: ls .github/workflows/
  2. Check CI run logs (gh CLI or web UI): gh run list --limit 5; gh run view <id> --log
  3. Identify EVERY failing job — do not stop at the first one
  4. For each failure: read the log output, identify root cause
  5. Common failure patterns:
    • Gitleaks false positives → needs .gitleaks.toml
    • npm ERR_OSSL_EVP_UNSUPPORTED → needs NODE_OPTIONS=--openssl-legacy-provider
    • Missing binary → check bin field in package.json
    • Permission denied → check chmod +x, workflow scope
    • Raw URL 404 → check file paths in raw-url job

DESIGN phase checklist

  1. For each failure: design minimal fix
  2. Check if fix affects other jobs in the same workflow
  3. Check if fix affects the OTHER workflow file (install-verify ↔ privacy-scan)
  4. Any new config files needed? (.gitleaks.toml, .npmrc, etc.)

PLAN template

1. Fix [JOB_NAME] in [WORKFLOW_FILE]: [ROOT_CAUSE] → [FIX]
2. Fix [JOB_NAME] in [WORKFLOW_FILE]: [ROOT_CAUSE] → [FIX]
3. Create [CONFIG_FILE] if needed
4. Local verify: [VERIFY_COMMANDS]
5. Commit with conventional format: fix(ci): [DESCRIPTION]
6. Push
7. Check CI status: gh run watch

VERIFY phase checklist

  1. Run CI locally if possible
  2. Push and watch: gh run watch
  3. ALL jobs must pass — if any fail, go back to RESEARCH
  4. Check both main AND codex-adapter branches
  5. Confirm no regression in previously-passing jobs

Anti-patterns

  • Fixing only the first error found → audit ALL failures
  • Assuming a fix works without checking CI → always verify
  • Forgetting to check the OTHER workflow file → cross-check both
  • Using force push for workflow fixes → use normal push, let CI validate

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.