agentleFS
amanning3390amanning3390/hermeshub/skills/github-workflow/SKILL.md

github-workflow

Skill48 starsChanged 5 months agoMITView on GitHub

Complete GitHub workflow — repos, branches, commits, PRs, issues, code review, and releases. Use when the user mentions GitHub, git, pull requests, issues, or repository management.

  • Commits and pushes

23 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use marketing-psychology, copywriting and 4 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.
  • SentrySkill

    marketing-psychology

    When the user wants to apply psychological principles, mental models, or behavioral science to marketing. Also use when the user mentions 'psychology,' 'mental models,' 'cognitive bias,' 'persuasion,' 'behavioral science,' 'why people buy,' 'decision-making,' or 'consumer behavior.' This skill provides 70+ mental models organized for marketing application.

    Also in 3 projects that use this

  • SupabaseSkill

    copywriting

    Write or audit UI copy (buttons, labels, empty states, error messages, tooltips, form text) anywhere in the monorepo. Load it before shipping or reviewing any user-facing text — including when copy is incidental to the task, like a new feature that adds buttons, toasts, dialogs, or validation messages.

    Also in 3 projects that use this

  • Microsoft AzureSkill

    git-workflow

    Squad branching model: dev-first workflow with insiders preview channel

    Also in 3 projects that use this

  • SentrySkill

    skill-creator

    Create new agent skills following the Agent Skills specification. Use when asked to "create a skill", "add a new skill", "write a skill", "make a skill", "build a skill", or scaffold a new skill with SKILL.md. Guides through requirements, writing, registration, and verification.

    Also in 4 projects that use this

  • GoogleSkill

    code-review

    Adversarial systems, concurrency, memory-model, and architecture code review protocol. Use this skill whenever asked to review code, PRs, diffs, or branches in Filament.

    Also in 3 projects that use this

  • BlockSkill

    frontend-design

    Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.

    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, 2 are distinctive, and 5 are very specific to this project.

  • 0

    Common

    Most of the 16 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 5

    Very specific

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

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

    Create feature branch: git checkout -b feature/name

    line 34
  2. Very specific:

    Commit with conventional message: git commit -m "type: description"

    line 36
  3. Distinctive:

    Always check current branch before committing

    line 65
  4. Very specific:

    Use --force-with-lease instead of --force

    line 67
  5. Distinctive:

    Verify PR base branch is correct

    line 68
  6. Very specific:

    Verify merge status: gh pr status

    line 72
  7. Very specific:

    Check CI status: gh run list

    line 73

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

Full GitHub lifecycle management through the gh CLI.

When to Use

  • User mentions GitHub, repos, branches, commits, or pull requests
  • User wants to manage issues, labels, or milestones
  • User needs code review assistance
  • User wants to set up CI/CD or manage releases

Procedure

Repository Operations

  1. Clone: gh repo clone owner/repo
  2. Create: gh repo create name --public/--private
  3. Fork: gh repo fork owner/repo

Branch Workflow

  1. Create feature branch: git checkout -b feature/name
  2. Stage changes: git add -A
  3. Commit with conventional message: git commit -m "type: description"
  4. Push: git push -u origin feature/name

Pull Request Workflow

  1. Create PR: gh pr create --title "..." --body "..." --base main
  2. List PRs: gh pr list
  3. Review PR: gh pr review <number> --approve/--request-changes
  4. Merge: gh pr merge <number> --squash

Issue Management

  1. Create: gh issue create --title "..." --body "..." --label bug
  2. List: gh issue list --state open
  3. Close: gh issue close <number>
  4. Assign: gh issue edit <number> --add-assignee @me

Release Workflow

  1. Tag: git tag -a v1.0.0 -m "Release v1.0.0"
  2. Push tags: git push --tags
  3. Create release: gh release create v1.0.0 --generate-notes

Commit Message Convention

  • feat: new feature
  • fix: bug fix
  • docs: documentation
  • refactor: code restructuring
  • test: adding tests
  • chore: maintenance

Pitfalls

  • Always check current branch before committing
  • Pull before push to avoid conflicts
  • Use --force-with-lease instead of --force
  • Verify PR base branch is correct

Verification

  • Confirm PR was created: gh pr view <number>
  • Verify merge status: gh pr status
  • Check CI status: gh run list

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.