GitHub Deploy Skill

Commit and push local project changes to GitHub, with optional repo creation and deployment hints.

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 Deploy Skill" with this command: npx skills add github-deploy-skill

GitHub Deploy Skill

This skill provides a reusable PowerShell script for Windows to automate:

  1. Git checks
  2. Commit creation
  3. Push to remote branch
  4. Optional GitHub repository creation (via GitHub CLI)
  5. Optional deployment hints (for Streamlit flow)

Included file

  • github-deploy-skill.ps1

Parameters

  • -CommitMessage (required): commit message text
  • -Repo (optional): GitHub repository in owner/repo format
  • -Branch (optional): target branch, default main
  • -CreateRepo (optional switch): create repo with gh if missing
  • -SkipDeployHint (optional switch): do not print deployment hint

Usage

From any Git project folder:

powershell -ExecutionPolicy Bypass -File .\github-deploy-skill.ps1 -CommitMessage "feat: update" -Repo "owner/repo" -Branch "main"

Create repository automatically:

powershell -ExecutionPolicy Bypass -File .\github-deploy-skill.ps1 -CommitMessage "init" -Repo "owner/new-repo" -CreateRepo

Expected output

  • Success: commit and push completed
  • Failure: explicit error with reason (missing command, auth, push/network, remote config)

Requirements

  • Git installed and available in PATH
  • Network access to remote Git host
  • If -CreateRepo is used: GitHub CLI (gh) installed and authenticated

Notes

  • Works with repositories that do not yet have a first commit.
  • If origin does not exist, pass -Repo and the script will add it automatically.

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

ai-github-radar

Tracks and analyzes AI-native tools and GitHub repos with fast growth or major updates to reveal emerging trends in AI workflows and ecosystems.

Registry SourceRecently Updated
2575
Profile unavailable
Coding

workspace-backup-github

Backup AI Agent workspace to GitHub - One-click backup for OpenClaw, Claude Code, Cursor, and other AI Agent workspaces to a private GitHub repository. Suppo...

Registry SourceRecently Updated
040
Profile unavailable
Coding

alfred-github-backup

GitHub 仓库备份技能 - 将 OpenClaw 工作空间备份到 GitHub 私有仓库。 支持两种模式:(1) 自动模式 - 定时自动备份 (2) 手动模式 - 交互式配置向导。 自动引导用户完成:GitHub Token 配置 → 仓库创建 → 初始化备份 → 设置定时任务。 用途:(1) 首次设置 (2...

Registry SourceRecently Updated
036
Profile unavailable