Skip to content
Skill

GitHub workflow

Gives your agent a git and GitHub workflow for branches, commits, PRs and issues

GitHub workflow is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
641
Last commit
License
MIT
Listing updated

Similar skills

About GitHub workflow

This skill walks an AI coding agent through the everyday GitHub development cycle: creating branches from an up-to-date main, staging specific files, writing conventional commit messages, pushing, opening pull requests and filing issues. It also covers basic code review, such as viewing a PR's diff and checks, and leaving comments or approvals with the gh CLI.

The workflow begins by having the agent inspect repository state with git status, git branch and recent log entries before acting. Each action then follows a fixed pattern with guardrails: no blind git add -A, no force-pushes to main or master without approval, no secrets or .env files in commits, no skipped pre-commit hooks, and PRs linked to issues. Commit, PR and branch conventions are detailed in reference files bundled with the skill.

The skill relies on the git command line and the GitHub CLI (gh) being available and authenticated in the environment. It contains no scripts; it instructs the agent to run these commands directly.

When your agent uses it

GitHub workflow automation — branching, committing, pushing, pull requests, issues, and code review. Use when asked to commit, push, create PRs/branches/issues, or manage git workflow.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 4 files (9 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

Copy the skill folder to ~/.claude/skills/github-workflow to use it in all your projects:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/transilienceai/communitytools.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/github-workflow &&
cp -R "$tmp/skills/github-workflow" ~/.claude/skills/github-workflow &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/github-workflow inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/github-workflow to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/transilienceai/communitytools.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/github-workflow &&
cp -R "$tmp/skills/github-workflow" ~/.agents/skills/github-workflow &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/github-workflow inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/github-workflow to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/transilienceai/communitytools.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/github-workflow &&
cp -R "$tmp/skills/github-workflow" ~/.cursor/skills/github-workflow &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/github-workflow inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/transilienceai/communitytools.git --path skills/github-workflow

Or copy the folder to ~/.gemini/skills/github-workflow yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/github-workflow:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/transilienceai/communitytools.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/github-workflow &&
cp -R "$tmp/skills/github-workflow" ~/.copilot/skills/github-workflow &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/github-workflow inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/transilienceai/communitytools.git

Then copy communitytools/skills/github-workflow into your agent's skills folder as github-workflow. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Branch creation
Sets up feature, bugfix, docs, refactor, test and chore branches from an up-to-date main.
Conventional commits
Guides staging specific files and writing type(scope): description commit messages.
Push handling
Covers upstream setup on first push and rebasing when a push is rejected.
Pull request creation
Drafts PRs with a summary, test plan and issue link using the gh CLI.
Issue filing
Creates issues with problem, proposed solution and acceptance criteria sections.
Code review steps
Lists commands to view a PR, its diff and checks, and to comment or approve.

Good for

  • Create a feature branch and commit my changes with a conventional message
  • Open a pull request that links to issue 42
  • File a GitHub issue describing a bug with acceptance criteria
  • Review a teammate's pull request and leave feedback
  • Push my branch and recover if the push is rejected

GitHub workflow FAQ

What does the skill need to run?

It uses git and the GitHub CLI (gh) commands, so both need to be available to the agent in the repository.

Will GitHub workflow force-push or commit secrets?

The instructions forbid force-pushing to main or master without explicit approval and forbid committing .env files, credentials or secrets.

Does GitHub workflow include scripts?

No. It has no scripts and works by having the agent run standard git and gh commands, with reference files for commit, PR and branch conventions.

How do I install GitHub workflow in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/github-workflow to use it in all your projects, or to .claude/skills/github-workflow in one project.

Does GitHub workflow run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use GitHub workflow?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to GitHub workflow?

The closest alternatives to GitHub workflow are Git workflow, Implement, GitHub issues, Git and release ops edho ferdian and Make PR easy to review.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from transilienceai/communitytools

  1. Guides an agent through authorized OWASP LLM Top 10 security tests of AI applications

    • Open source
    • 641 GitHub stars
    • Security
  2. Guides an agent through security testing of REST, GraphQL, WebSocket and LLM APIs

    • Open source
    • 641 GitHub stars
    • Security
  3. Chains confirmed single-asset findings into multi-hop attack paths across an organization

    • Open source
    • 641 GitHub stars
    • Security
  4. Guides an agent through authentication security testing: JWT, OAuth, 2FA, SAML and CAPTCHA

    • Open source
    • 641 GitHub stars
    • Security
  5. Guides an agent through Solidity smart contract security testing and blockchain CTF

    • Open source
    • 641 GitHub stars
    • Security