By jamesprial
Git operations and GitHub CLI agents for version control workflows
This skill should be used when working with GitHub CLI (gh) for any task including code search, workflow debugging, GitHub Pages deployment, or general GitHub operations. Use this skill for enhanced code search capabilities, analyzing failed workflow runs, managing GitHub Pages, or any gh command usage.
This skill should be used when users need to create, modify, optimize, or troubleshoot GitHub Actions CI/CD workflows. Use when users ask about automating builds, tests, deployments, or any GitHub Actions-related tasks. Triggers include requests like "create a CI workflow", "deploy to AWS", "automate testing", "setup GitHub Actions", or when debugging workflow failures.
Uses power tools
Uses Bash, Write, or Edit tools
Runs pre-commands
Contains inline bash commands via ! syntax
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
A Claude Code plugin for Git operations and GitHub CLI workflows.
# Add the marketplace
/plugin marketplace add /path/to/claude-plugins
# Install the plugin
/plugin install version-control@plugins-by-james
1 Command for quick workflows:
/push - Push branch to remote and create a pull request2 Agents for task delegation:
git-ops - Lightweight Git operations (Haiku model)github-cli - Full GitHub CLI workflows (Sonnet model)2 Skills for specialized capabilities:
gh-cli - Code search, workflow debugging, Pages deploymentgithub-actions-writer - CI/CD workflow generation with templatesPush the current branch to remote and create a pull request with title and body derived from commit messages.
# Push and create PR against main (default)
/push
# Push and create PR against a specific base branch
/push develop
Pre-flight checks:
main/masterLightweight Git specialist using the Haiku model. Ideal for:
type(scope): descriptionSafety rules:
git status firstFull GitHub CLI specialist using the Sonnet model. Handles:
gh api for any GitHub operationBest practices:
--json with --jq for structured output-R owner/repo when not in git directoryThree Python utilities for common GitHub workflows:
| Script | Purpose |
|---|---|
gh_code_search.py | Advanced code search with filtering, formatting, sorting |
gh_failed_run.py | Extract errors from most recent failed Actions run |
gh_pages_deploy.py | GitHub Pages automation (enable, status, deploy) |
# Search GitHub code
python3 skills/gh-cli/scripts/gh_code_search.py "pattern" --language python --format pretty
# Analyze workflow failures
python3 skills/gh-cli/scripts/gh_failed_run.py
# Deploy to GitHub Pages
python3 skills/gh-cli/scripts/gh_pages_deploy.py --help
Documentation: skills/gh-cli/references/
Production-ready workflow generation with templates and validation.
Templates (skills/github-actions-writer/assets/templates/):
| Category | Templates |
|---|---|
| CI | node-ci.yml, python-ci.yml, docker-build-push.yml, multi-language-matrix.yml, monorepo-selective.yml |
| CD | aws-oidc-deploy.yml, kubernetes-gitops.yml, multi-environment.yml |
| Security | security-scan.yml (CodeQL, Snyk, Trivy) |
| Advanced | reusable-workflow.yml, composite-action/action.yml |
Validation scripts:
# Validate workflow YAML
python3 skills/github-actions-writer/scripts/validate_workflow.py .github/workflows/ci.yml
# Security audit (use --fail-on for CI)
python3 skills/github-actions-writer/scripts/security_audit.py .github/workflows/*.yml --fail-on=high
References: skills/github-actions-writer/references/ (syntax, security, troubleshooting)
Create a new CI workflow:
"Create a Node.js CI workflow that tests on PRs"
→ Generates workflow with caching, concurrency, minimal permissions
Debug failing Actions:
"Why did my last workflow fail?"
→ Uses gh_failed_run.py to extract error patterns
Search for code patterns:
"Search for all API key usage in my org"
→ Uses gh_code_search.py with filters
Optimize existing workflow:
"My CI takes 15 minutes, make it faster"
→ Analyzes for missing caching, parallelization, concurrency
gh auth loginThe github-actions-writer skill enforces:
npx claudepluginhub jamesprial/prial-plugins --plugin version-controlGit operations and GitHub CLI agents for version control workflows
Go development workflow with TDD-first parallel agents, failure triage, and automated code quality hooks
Security hooks to detect and block potential secrets in git commits
Captures TodoWrite tool usage and saves to timestamped history file with configurable log location (default: .claude/todos.json)
Create custom slash commands for Claude Code with syntax, patterns, and helper scripts
GitHub Actions CI/CD - workflows, authentication, inspection
GitHub repository automation (CI/CD, issue templates, Dependabot, CodeQL). Use for project setup, Actions workflows, security scanning, or encountering YAML syntax, workflow configuration, template structure errors.
AI-powered git automation - Intelligent git skills that streamline version control workflows with .gitignore generation, commit-push-PR workflow, and more
Git workflow management with feature branches, releases, and hotfix flows
Harness-native ECC operator layer - 67 agents, 271 skills, 92 legacy command shims, reusable hooks, rules, selective install profiles, and production-ready workflows for Claude Code, Codex, OpenCode, Cursor, and related agent harnesses
v9.44.1 — Patch release for Gemini environment/version detection and qwen auth gating. Run /octo:setup.