/devops:github-operationsfrom devops
Provides safe GitHub CLI patterns with repository protection checks before creating or editing issues, PRs, and labels. Prevents accidental writes to template repos.
Ships in devops. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Standard patterns for GitHub CLI operations across all commands.
Before ANY GitHub operation that creates/modifies issues or PRs:
# Check if remote origin is the AutoPM template repository
remote_url=$(git remote get-url origin 2>/dev/null || echo "")
if [[ "$remote_url" == *"rlagowski/autopm"* ]] || [[ "$remote_url" == *"rlagowski/autopm.git"* ]]; then
echo "❌ ERROR: You're trying to sync with the AutoPM template repository!"
echo ""
echo "This repository (rlagowski/autopm) is a template for others to use."
echo "You should NOT create issues or PRs here."
echo ""
echo "To fix this:"
echo "1. Fork this repository to your own GitHub account"
echo "2. Update your remote origin:"
echo " git remote set-url origin https://github.com/YOUR_USERNAME/YOUR_REPO.git"
echo ""
echo "Or if this is a new project:"
echo "1. Create a new repository on GitHub"
echo "2. Update your remote origin:"
echo " git remote set-url origin https://github.com/YOUR_USERNAME/YOUR_REPO.git"
echo ""
echo "Current remote: $remote_url"
exit 1
fi
This check MUST be performed in ALL commands that:
gh issue create)gh issue edit)gh issue comment)gh pr create)Don't pre-check authentication. Just run the command and handle failure:
gh {command} || echo "❌ GitHub CLI failed. Run: gh auth login"
gh issue view {number} --json state,title,labels,body
# ALWAYS check remote origin first!
gh issue create --title "{title}" --body-file {file} --label "{labels}"
# ALWAYS check remote origin first!
gh issue edit {number} --add-label "{label}" --add-assignee @me
# ALWAYS check remote origin first!
gh issue comment {number} --body-file {file}
If any gh command fails:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
github-cli, repository-safety, issue-management, pr-operations
npx claudepluginhub lagowski/claudeautopm --plugin devops4 skills in this plugin
/ci-cd-kubernetes-strategyHow CI jobs on Kubernetes runners start service dependencies (databases etc.) as pods instead of docker-compose. Use when writing or changing CI/CD workflows that run on Kubernetes runners./devops-troubleshooting-playbookStep-by-step playbook for diagnosing CI/CD, container, Kubernetes and deployment failures. Use when a build, pipeline, container or deployment is failing./docker-first-developmentDocker-first development workflow: run, build and test inside containers with docker-compose. Use when setting up a dev environment, writing Dockerfiles or running services locally.2 plugins in one repository ship this exact skill · first indexed Dec 1, 2026
Other plugins' skills for the same job