agentleFS
osocietyosociety/vernet/.github/skills/github-actions-repository-workflows/SKILL.md

github-actions-repository-workflows

Skill566 starsChanged 13 days agoApache-2.0View on GitHub

Diagnose GitHub Actions failures from a run URL or log, modify workflow YAML, review branch and matrix dependencies, or clean repository workflow and ignore rules.

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
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Use this for GitHub Actions failures, workflow changes, branch protection or branch-policy work, and repository clutter or ignore-rule …

    line 9
  2. Distinctive:

    Check git status and preserve all existing edits.

    line 22
  3. Distinctive:

    Never print, commit, or replace signing keys, tokens, or secret values.

    line 23
  4. Distinctive:

    Do not commit, push, delete branches, alter branch protection, or deploy unless the user explicitly asks for that action.

    line 24
  5. Distinctive:

    If GitHub logs are unavailable, say so and request the smallest relevant log excerpt rather than guessing.

    line 25

≈ “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.

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

GitHub Actions and Repository Workflows

Use this for GitHub Actions failures, workflow changes, branch protection or branch-policy work, and repository clutter or ignore-rule reviews.

Procedure

  1. Start from the supplied run URL, failing job, workflow file, or repository-cleanup request. For a run URL, retrieve the run and job logs directly when GitHub access is available. Identify the first failing step and the earliest project-owned error; distinguish a code failure from a runner, permission, secret, or service failure.
  2. Inspect the relevant workflow and its adjacent matrix, dependency, trigger, and artifact steps. For test pipelines, preserve the requested ordering and platform/matrix semantics; do not introduce redundant jobs or guessed flags. Every workflow needs a top-level permissions: block; CodeQL's actions/missing-workflow-permissions (surfaced as bot review comments) flags any that omit it. Test-only reusable workflows need contents: read, while tag, release, and discussion jobs need the specific write scopes they use.
  3. For repository cleanup, inspect the specific candidate files and existing .gitignore before proposing removals. Separate generated output from assets, source, signing configuration, and locally modified user files. Never delete files as a substitute for documenting why they are generated.
  4. In this project, the user has previously preferred main and store, with store-specific advertising kept separate. Treat that as historical intent: inspect current branches and workflow rules before changing policy, and do not remove branches or protections without explicit authorization.
  5. Make the smallest workflow or ignore-rule change that addresses the evidence. Do not change application behavior to work around a CI configuration problem unless the logs show that is the root cause.
  6. Validate the changed workflow syntax and run the narrowest available local equivalent. Report the exact workflow/job/step and distinguish verified fixes from checks that require GitHub Actions.

Safety

  • Check git status and preserve all existing edits; do not reset, checkout over, or clean user work.
  • Never print, commit, or replace signing keys, tokens, or secret values. Refer to secret names only.
  • Do not commit, push, delete branches, alter branch protection, or deploy unless the user explicitly asks for that action.
  • If GitHub logs are unavailable, say so and request the smallest relevant log excerpt rather than guessing.

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.