agentleFS
aminemanai2003aminemanai2003/personal-agent-skills/skills/github-workflow/SKILL.md

github-workflow

Skill4 starsChanged 4 months agoMITView on GitHub

Execute focused Git and GitHub work from repository orientation through commits, pull requests, review handling, checks, merge, and closure. Use when preparing or inspecting a branch, publishing changes, addressing PR feedback, fixing CI, or merging and closing GitHub work.

10 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 8 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 8 edited versions we read keep these.

  • 8

    Distinctive

    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:

    Verify locally in proportion to risk and review the staged diff before each commit.

    line 24
  2. Distinctive:

    Before publishing, confirm the destination branch/repository and scan for credentials or private artifacts.

    line 25
  3. Distinctive:

    Do not overwrite or discard unrelated working-tree changes.

    line 33
  4. Distinctive:

    Do not force-push, rewrite shared history, publish, merge, close, or message without applicable authority.

    line 34
  5. Distinctive:

    Do not expose tokens in commands, logs, remotes, commits, or comments.

    line 35
  6. Distinctive:

    Do not mark a thread resolved when the underlying issue remains.

    line 36
  7. Distinctive:

    Do not merge around required failing checks unless the user explicitly owns and accepts that policy exception.

    line 37
  8. Distinctive:

    Granular branch: commit the validator, each independent skill, evaluation cases, and documentation as separate reviewable units.

    line 57

“Common” is measured: kept by at least 6 in 10 of the 8 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

GitHub Workflow

Purpose

Move a change through GitHub with a reviewable history, verified state, and no accidental scope or authority expansion.

Inputs

  • Repository, issue or PR, target branch, and requested external action.
  • Working tree status, branch history, remotes, checks, and review threads.
  • Repository contribution, commit, and merge conventions.
  • Credentials already configured in an approved tool; never request secrets in prose.

Process

  1. Inspect repository instructions, status, branch, remotes, and the relevant issue or PR state.
  2. Define the change boundary and preserve unrelated work.
  3. Make small commits whose messages explain one coherent change.
  4. Verify locally in proportion to risk and review the staged diff before each commit.
  5. Before publishing, confirm the destination branch/repository and scan for credentials or private artifacts.
  6. Summarize behavior, reasoning, verification, compatibility, and limitations in the PR.
  7. For review feedback, inspect unresolved thread context, implement valid fixes, verify, and resolve only addressed threads.
  8. For CI failures, inspect the failing job and logs before changing code.
  9. Merge or close only when requested or when the user has authorized that workflow; confirm checks, review state, and mergeability immediately beforehand.

Constraints

  • Do not overwrite or discard unrelated working-tree changes.
  • Do not force-push, rewrite shared history, publish, merge, close, or message without applicable authority.
  • Do not expose tokens in commands, logs, remotes, commits, or comments.
  • Do not mark a thread resolved when the underlying issue remains.
  • Do not merge around required failing checks unless the user explicitly owns and accepts that policy exception.

Verification

  • Each commit is scoped, understandable, and free of secrets.
  • Local checks and GitHub checks cover the changed contract.
  • PR description matches the actual diff and test evidence.
  • Required review threads are resolved for valid reasons.
  • Remote branch, merge result, or closed state is confirmed through current GitHub state.

Failure Modes

  • Trusting a stale PR page or check result.
  • Fixing a symptom in CI without reading the failing log.
  • Mixing generated files or unrelated formatting into a feature commit.
  • Resolving a comment because code changed nearby.
  • Using a credential pasted into chat when a configured authenticated client exists.

Examples

Granular branch: commit the validator, each independent skill, evaluation cases, and documentation as separate reviewable units.

Merge request: refresh checks and review state, merge with the repository's policy, then verify the PR reports merged and the issue is closed if linked.

Sources

See ../../sources/github-workflow.sources.md.

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.