github

Professional GitHub workflows via gh CLI. Use for repos, branches, PRs, CI/CD, releases, versioning, secrets, issues. Trigger on: GitHub, git, repo, PR, branch, merge, release, CI, Actions, issue, tag, version.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "github" with this command: npx skills add kretkas/github-wf

GitHub Skill

gh CLI for all operations. Always --repo owner/repo outside a git directory.

Security (always)

  • Auth: gh auth login --web or GITHUB_TOKEN env var
  • Secrets: gh secret set NAME --repo owner/repo (interactive, never --body)
  • Never print/log tokens. gh auth status to verify.

Quick Reference

TaskCommand
Auth checkgh auth status
List PRsgh pr list --repo o/r
Create PRgh pr create --repo o/r --title "..." --base develop --head branch
PR checksgh pr checks <n> --repo o/r
Merge (squash)gh pr merge <n> --squash --delete-branch --repo o/r
Failed CI logsgh run view <id> --log-failed --repo o/r
Re-run failedgh run rerun <id> --failed-only --repo o/r
Create issuegh issue create --repo o/r --title "..." --body "..."
Create releasegh release create vX.Y.Z --repo o/r --title "..." --notes "..."
Set secretgh secret set KEY --repo o/r
Branch protectgh api --method PUT repos/o/r/branches/main/protection ...

Branching Model

main       ← production, protected
develop    ← integration
feature/*  ← from develop
fix/*      ← from develop (reference issue: fix/123-desc)
hotfix/*   ← from main (emergency)
release/*  ← from develop (prep)

Commit convention: feat: description (#42) / fix: description (#42) PR merge: --squash for features, --merge for releases. Semver: MAJOR.MINOR.PATCH — breaking/feature/fix.

When to read reference files

Load only what you need for the current task:

TaskRead
Setting up a new repo, branch protectionreferences/repo-setup.md
PRs, reviews, merge strategiesreferences/pull-requests.md
CI runs, GitHub Actionsreferences/ci-actions.md
Releases, versioning, tagsreferences/releases.md
Secrets, environmentsreferences/secrets-envs.md
JSON queries, audit, searchreferences/api-queries.md

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

Screencast Studio

Produce subtitled, cursor-overlay product demo videos from a Playwright-driven walkthrough. Output is a final.mp4 (synthetic cursor lerp + Material click rip...

Registry SourceRecently Updated
Coding

Copenhagen Denmark

Expertise in Copenhagen's urban sustainability, cycling culture, green energy, carbon-neutral planning, New Nordic cuisine, and Scandinavian quality of life.

Registry SourceRecently Updated
Coding

terraform-engineer

Expert Terraform engineer specializing in infrastructure as code, multi-cloud provisioning, and modular architecture. Masters Terraform best practices, state...

Registry SourceRecently Updated
Coding

tooling-engineer

Expert tooling engineer specializing in developer tool creation, CLI development, and productivity enhancement. Masters tool architecture, plugin systems, an...

Registry SourceRecently Updated