github-workflows
Skill2 starsChanged 6 months agoMITView on GitHub
Use when doing GitHub work end-to-end: auth, repository setup, issue triage, PR implementation, code review, CI monitoring, merge/release, and fallback REST workflows.
- Reads credentials
- Commits and pushes
2 other projects use a version of this.
Adopted by
Most recently taken up by
- AtlasOmnia/donna-startertheir own version, first seen Aug 13, 2026
- AtlasOmnia/hermes-custom-packtheir own version, first seen Jul 19, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- AtlasOmnia/donna-starter★ 122same name
- AtlasOmnia/hermes-custom-pack★ 61same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository18 other files it gives its agents.
- AGENTS.mdAGENTS.md
- ethereum-developmentSkill
- financial-analysisSkill
- find-skillsSkill
- fix-bugbot-pr-commentsSkill
- frontend-designSkill
- guarded-db-migrationSkill
- multi-agent-worktree-disciplineSkill
- npm-publishSkill
- phase-pr-review-loopSkill
- plan-writingSkill
- research-intelligence-workflowsSkill
- simplified-technical-englishSkill
- skills-organizationSkill
- software-development-workflowsSkill
- subagent-orchestrationSkill
- turn-closeoutSkill
- web3-protocol-designSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
20 rules. About 0 are common, 9 are distinctive, and 11 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
11
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 25
Prefer the gh CLI when authenticated.
- Distinctive: line 31
Create, triage, label, or comment on issues.
- Very specific: line 37
Do not use for generic local debugging unless GitHub state matters.
- Very specific: line 41
Discover repository context: Run git remote -v, git status --short --branch, and derive OWNER/REPO from the GitHub remote.
- Very specific: line 42
Check auth before side effects: Prefer gh auth status; otherwise locate $GITHUB_TOKEN from the environment or ~/.hermes/.env.
- Distinctive: line 43
Search before creating: Search existing issues and PRs for duplicates before opening new maintainer-visible artifacts.
- Distinctive: line 44
Make minimal, reviewable changes: Use a branch, conventional commits, and a clear PR body with summary + tests.
- Distinctive: line 45
Verify with real outputs: Run tests locally when possible, inspect CI status/logs, and report exact URLs/IDs.
- Distinctive: line 46
Escalate permission blockers honestly: If PAT scopes, fork permissions, or branch protections block the action, leave the branch/patch …
- Very specific: line 54
If direct push returns 403 or fork creation says Resource not accessible by personal access token, diagnose scopes instead of retrying …
- Very specific: line 59
When creating repos, set visibility intentionally and initialize README/license/gitignore only when requested or obviously appropriate.
- Very specific: line 72
Before telling the user to run gh pr create --body-file /tmp/pr-body.md or similar, actually write the referenced title/body files to /tmp …
- Very specific: line 73
If gh pr create fails with GraphQL: Resource not accessible by personal access token (createPullRequest) or REST PR creation returns 403 …
- Very specific: line 75
If gh pr create remains blocked but SSH auth works, push the branch over SSH (git push -u git@github.com:OWNER/REPO.git BRANCH) and leave …
- Distinctive: line 76
If CI fails, inspect failed logs before patching.
- Distinctive: line 87
When asked to determine a merge order for a repo's open PRs, ground the answer in both GitHub state and local mergeability rather than only …
- Very specific: line 91
Use a temporary worktree from origin/main to test mergeability without touching the user's checkout: git worktree add <tmp> origin/main.
- Distinctive: line 92
If the ordering depends on stacked docs or shared files, test likely sequences in the temp worktree.
- Very specific: line 98
Use language/LOC summaries (for example pygount) to size the repo and find dominant stacks before planning broad changes.
- Distinctive: line 99
Treat generated/vendor directories as noise unless the task specifically targets them.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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.
Files
GitHub Workflows
Overview
This umbrella replaces narrow GitHub skills with one class-level workflow. Load it whenever the task involves GitHub state or Git repository work that will touch GitHub: authentication, cloning/forking, issues, PRs, code review, CI, releases, or API fallbacks.
Prefer the gh CLI when authenticated. Fall back to git plus GitHub REST/GraphQL with $GITHUB_TOKEN when gh is missing or lacks a scope.
When to Use
- Set up or troubleshoot GitHub auth.
- Clone, fork, create, or inspect repositories.
- Create, triage, label, or comment on issues.
- Implement work on a branch and open/update/merge a PR.
- Review a PR or request a pre-commit review before pushing.
- Inspect codebase size/languages before planning repository work.
- Diagnose or monitor GitHub Actions / CI failures.
Do not use for generic local debugging unless GitHub state matters; use systematic-debugging or the software-development umbrella for pure local work.
Operating Pattern
- Discover repository context. Run
git remote -v,git status --short --branch, and deriveOWNER/REPOfrom the GitHub remote. - Check auth before side effects. Prefer
gh auth status; otherwise locate$GITHUB_TOKENfrom the environment or~/.hermes/.env. Never claim a push/PR/comment happened until the command returns a URL or status. - Search before creating. Search existing issues and PRs for duplicates before opening new maintainer-visible artifacts.
- Make minimal, reviewable changes. Use a branch, conventional commits, and a clear PR body with summary + tests.
- Verify with real outputs. Run tests locally when possible, inspect CI status/logs, and report exact URLs/IDs.
- Escalate permission blockers honestly. If PAT scopes, fork permissions, or branch protections block the action, leave the branch/patch ready and explain the failed command.
Labeled Subsections from Former Narrow Skills
Auth and credentials
gh auth statusis the fastest readiness check, but success does not guarantee push/fork/createPullRequest scopes.- For REST fallback, extract
GITHUB_TOKENfrom the environment, Hermes.env, or git credentials only for the current command context; avoid printing secrets. - If direct push returns 403 or fork creation says
Resource not accessible by personal access token, diagnose scopes instead of retrying blindly.
Repository management
- For clone/fork/create/release operations, identify the canonical remote and whether the user has write access before modifying remotes.
- When creating repos, set visibility intentionally and initialize README/license/gitignore only when requested or obviously appropriate.
- For releases, verify tags and generated artifacts locally before calling the GitHub release API.
Issues
- Search before creating.
- Issue bodies should include observed behavior, expected behavior, reproduction, environment, and evidence.
- Triage actions (labels, assignees, milestones) are side effects; verify the target issue number and repository first.
Pull requests and CI
- Branch from an up-to-date base, commit focused changes, push, open PR, then monitor checks.
- PR bodies should include Summary and Test Plan. Mention closing issues only when semantically correct.
- Before telling the user to run
gh pr create --body-file /tmp/pr-body.mdor similar, actually write the referenced title/body files to/tmpand verify they exist. Prefer/tmp/pr-title.txtplus/tmp/pr-body.mdso the final command can be copy-pasted without missing-file errors. - If
gh pr createfails withGraphQL: Resource not accessible by personal access token (createPullRequest)or REST PR creation returns403 Resource not accessible by personal access token, diagnose token scope/source before retrying. Check whetherGH_TOKEN,GITHUB_TOKEN,GH_ENTERPRISE_TOKEN, orGITHUB_ENTERPRISE_TOKENare set; those environment tokens can shadow storedghcredentials. Also checkgh auth status -h github.comand repo permission withgh repo view OWNER/REPO --json viewerPermission,viewerCanAdminister. - For headless
ghrepair, have the user rununset GH_TOKEN GITHUB_TOKEN GH_ENTERPRISE_TOKEN GITHUB_ENTERPRISE_TOKEN, thengh auth refresh -h github.com -s repoorgh auth login -h github.com -p ssh -s repo --web --clipboard; the device-code URL can be opened on their local machine while the Linux session waits. For PAT repair, classic PAT needsrepo; fine-grained PAT needs repository access plusContents: read/write,Pull requests: read/write, andMetadata: read. - If
gh pr createremains blocked but SSH auth works, push the branch over SSH (git push -u git@github.com:OWNER/REPO.git BRANCH) and leave the direct GitHub PR creation URL plus the already-written/tmp/pr-title.txtand/tmp/pr-body.mdas the manual finish path. - If CI fails, inspect failed logs before patching; do not guess from the check name alone.
- If
gh auth statusshows the right user/permissions butgit pushreturns 403, treat it as a git credential-helper/token-path mismatch rather than a repository permission fact. Verify withgh repo view --json viewerPermission, then either rungh auth setup-git, push over SSH if configured, or use a temporaryGIT_ASKPASS/extraheader flow that sourcesgh auth token; never print the token, and still report the exact push blocker if it remains.
Code review
- Review diffs, not vibes:
gh pr diff, changed files, test impact, security implications, and backwards compatibility. - Inline comments should be precise, actionable, and tied to a file/line when possible.
- Pre-commit reviews should run local quality gates and fix obvious issues before involving maintainers.
Ordering multiple open PRs
When asked to determine a merge order for a repo's open PRs, ground the answer in both GitHub state and local mergeability rather than only titles:
- List open PRs with
gh pr list --json number,title,headRefName,baseRefName,isDraft,mergeStateStatus,statusCheckRollup,body,urland note draft/WIP language, failing/pending checks, and whether checks are stale or current. - Fetch PR heads locally, e.g.
git fetch origin main '+refs/pull/*/head:refs/remotes/pr/*' --prune, then compare each PR toorigin/mainwithgit merge-base --is-ancestor origin/main refs/remotes/pr/NUMBERandgit diff --name-only origin/main...refs/remotes/pr/NUMBER. - Use a temporary worktree from
origin/mainto test mergeability without touching the user's checkout:git worktree add <tmp> origin/main; for each candidate rungit merge --no-commit --no-ff refs/remotes/pr/NUMBER, record conflicts withgit diff --name-only --diff-filter=U, then abort/reset and remove the worktree. - If the ordering depends on stacked docs or shared files, test likely sequences in the temp worktree. Report which sequence creates conflicts and which files need rebasing.
- Prioritize merge order by: unblockers/safety/protocol correctness first, small correctness fixes before large feature surfaces, observability after correctness, and explicitly WIP/product-decision PRs last/hold even if they are technically mergeable.
- Final output should separate "merge now", "rebase/fix then merge", "feature after hardening", and "hold" when applicable, with exact PR numbers, URLs, check/merge status, and conflict file paths. Do not merge unless the user explicitly asked for merging.
Codebase inspection
- Use language/LOC summaries (for example
pygount) to size the repo and find dominant stacks before planning broad changes. - Treat generated/vendor directories as noise unless the task specifically targets them.
Preserved Detail
Former standalone skill packages are preserved under references/absorbed-packages/<skill-name>/ with their original relative layout. When following one of those recipes, treat that directory as the old skill root so its references/, templates/, and scripts/ paths still resolve.
Verification Checklist
- Repository and
OWNER/REPOconfirmed. - Auth method confirmed without exposing secrets.
- Existing issues/PRs searched before creating new ones.
- Local changes are on a branch with a clean, focused diff.
- Tests or CI status checked with real command output.
- Final response includes exact URLs, issue/PR numbers, or the blocker command/error.
Provenance and Attribution
This is a local Hermes Agent + dirtybits-created umbrella skill from Andy/dirtybits' Hermes environment. A 2026-06-25 provenance spike found no exact public web/GitHub/Hermes-repo match for name: github-workflows.
It consolidates older local GitHub workflow skills under references/absorbed-packages/. Preserve each absorbed package's original frontmatter, author, license, and attribution when redistributing. Notable adapted source: requesting-code-review cites obra/superpowers + MorAlekss.
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
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.

