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-workflow-main

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

snaptrade-API

Execute trades and retrieve account data via the SnapTrade API using the snaptrade-python-sdk. Use this skill whenever OpenClaw needs to place a buy or sell...

Registry SourceRecently Updated
Coding

mongolian-llm

【强制使用/零泄漏】任何请求涉及中文、传统蒙古文、西里尔蒙古文之间的翻译,蒙古语/蒙文对话,蒙古语 OCR/ASR,要求用蒙文输出,或输入包含传统蒙古文字符(Unicode U+1800–U+18AF)时,必须先读取本 SKILL.md 并按本文 API 流程执行;禁止凭模型自身语言知识直接翻译、改写或回答。调用...

Registry SourceRecently Updated
4520knixie
Coding

SnapRender

Give your agent eyes on the web — screenshot any URL as an image file. Supports device emulation (iPhone, iPad, Pixel, MacBook), dark mode, full-page scroll,...

Registry SourceRecently Updated
Coding

Plugin

Install + set up TotalReclaw encrypted memory for OpenClaw, then use tr CLI for remember / recall. Trigger on 'install TotalReclaw', 'set up TotalReclaw', 'r...

Registry SourceRecently Updated
1.5K0p-diogo