agentleFS
motao123motao123/dev-workflow-kit/fix-ci/SKILL.md

fix-ci

Skill1 starsChanged 5 months agoMITView on GitHub

Use when CI, build, lint, type-check, or test automation is failing and the branch is blocked. This skill focuses on reading the earliest failure, classifying the failure surface, and choosing the smallest repair that restores pipeline health.

39 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use get-pr-comments, create-pr and 6 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • jaydubya818Skill

    get-pr-comments

    Use when pull-request feedback needs to be fetched and summarized for action.

    Also in 3 projects that use this

  • SentrySkill

    create-pr

    Create pull requests following Sentry conventions. Use when opening PRs, writing PR descriptions, or preparing changes for review. Follows Sentry's code review guidelines.

    Also in 10 projects that use this

  • MicrosoftSkill

    merge

    Merge changes from the topic branch to the merge base branch. Use when the user wants to merge their session's work back to the base branch.

    Also in 3 projects that use this

  • SentrySkill

    commit

    Create commit messages following Sentry conventions. Use when committing code changes, writing commit messages, or formatting git history. Follows conventional commits with Sentry-specific issue references.

    Also in 10 projects that use this

  • NVIDIASkill

    testing

    Run Python and Rust tests for physicsnemo-curator using uv + pytest with coverage reporting via pytest-cov, and cargo-nextest for Rust tests. Includes benchmark workflows with pytest-benchmark and criterion.

    Also in 3 projects that use this

  • AWSSkill

    ship

    Finalize dev work on an issue branch — update docs, push, and open a PR.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 5 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 37 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when automation disagrees with local assumptions or blocks integration.

    line 9
  2. Distinctive:

    Use this skill when:

    line 13
  3. Distinctive:

    Do not use this skill for planning-only tasks or for broad product design questions.

    line 20
  4. Distinctive:

    Read the earliest meaningful failure first.

    line 24
  5. Distinctive:

    Check whether the failure is deterministic, flaky, or environment-specific.

    line 27
  6. Very specific:

    use systematic-debugging if root cause is still unclear

    line 44
  7. Very specific:

    use ship-readiness once pipeline health is restored

    line 45

“Common” is measured: kept by at least 6 in 10 of the 37 edited versions of this file we could read. “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

Fix CI

Use this skill when automation disagrees with local assumptions or blocks integration.

Trigger Conditions

Use this skill when:

  • CI is red
  • lint, test, build, or type-check fails in the pipeline
  • the branch passes locally but fails remotely
  • logs are noisy and the earliest failure needs to be extracted
  • the user wants the minimal change that unblocks the pipeline

Do not use this skill for planning-only tasks or for broad product design questions.

Workflow

  1. Read the earliest meaningful failure first.
  2. Classify the failing stage: lint, type, unit test, integration test, build, packaging, environment.
  3. Separate root-cause failure from downstream noise.
  4. Check whether the failure is deterministic, flaky, or environment-specific.
  5. Recommend the smallest repair with the highest confidence.
  6. Re-run the narrowest useful verification.

Output

For non-trivial work, provide:

  • failing stage
  • first actionable error
  • likely cause
  • minimal repair path
  • verification to re-run

Coordination

After CI diagnosis:

  • hand off to the repo's coding workflow for code fixes
  • use systematic-debugging if root cause is still unclear
  • use ship-readiness once pipeline health is restored

Invocation Examples

  • "Use fix-ci to inspect this pipeline failure and find the first actionable error."
  • "Use fix-ci because local tests pass but CI is still red."
  • "Use fix-ci and tell me the smallest change that should unblock the branch."

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.