GitHub Practices — Git skill for Claude Code
Claude Code / OpenCode skill that audits a GitHub repo against best practices (branch protection, rulesets, Conventional Commits, PR and issue templates, Dependabot, release-please) and applies only a.
How to install GitHub Practices
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open iDiagoValeta/github-practices and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What GitHub Practices does
Claude Code / OpenCode skill that audits a GitHub repo against best practices (branch protection, rulesets, Conventional Commits, PR and issue templates, Dependabot, release-please) and applies only approved fixes
Alternatives in Git
- Triage Open Pull Requests — Review, label, and act on all open PRs for a repository using parallel review agents 10.8k ★
- Merge Dependabot PRs — @description Evaluate and merge dependabot PRs with parallel builds, dependency-aware batching, and transitive 1.6k ★
- Createissue — Create GitHub issues using proper templates and conventions 849 ★
README
github-practices
[](https://github.com/iDiagoValeta/github-practices/actions/workflows/ci.yml) [](LICENSE)
A Claude Code skill (also for OpenCode and other AI agents) that audits a GitHub repository against best practices and applies only the changes you approve. It is for anyone who maintains a repo and wants branch protection, templates, labels and releases set up right without reading every GitHub doc: install it, run `/github-practices` and review the report.
What it checks
It covers the branching model, branch names, issues and pull requests, Conventional Commits, labels, rulesets, CODEOWNERS, Dependabot and release-please. It does not impose a model: it picks one from the repo and explains why.
- Branching model. Detects trunk-based development or Gitflow from the branches and the default branch, and recommends one with its reasons.
- Branch protection. Rulesets on the default branch: pull request required, required status checks, no force push, no deletion and linear history in trunk-based development.
- Pull requests. Template, median size (250 lines is the target, 500 the warning) and linked issue through a closing keyword.
- Branch names.
/-(onlyautomated/,internal/andrevert/may skip the issue), checked against the repo name and the 63 character limit. - Issues. Bug and feature forms that prelabel
kind/bugandkind/feature. - Labels. The ten labels the skill expects, from
kind/*tobreakingandskip-release. - Commits. Conventional Commits in the last 50 non-merge commits and the optional
.gitmessagetemplate. - Merge methods. Squash only in trunk-based development, merge commits allowed in Gitflow.
- CODEOWNERS. Suggested when the repo has more than one contributor.
- Security. Dependabot, secret scann
Related Skills
Gsd Ruleset Drift
Surface drift between declared .github/rulesets/ and live branch protection; --apply runs the LIVE remediation
Git Workflow Manager
Use when committing, releasing, or managing changelogs - enforces conventional commits, semantic versioning, a
Claude Code Multimodel Workflow
v2: server-enforced merge gates for repos shared by humans and coding agents — merge-gate suite attestation, b
Release Kick
release-please のリリース PR を BLOCKED 解除 → CI green 確認 → マージ → リリース公開検証まで一貫実行する(v1.44.0〜v1.53.0 の11リリースで実証済みの型)
Setup Tag Rulesets
Walkthrough: Protect release tags from force-push attacks with GitHub rulesets
My Agent Prompts
my prompt templates that works under a matrix of (windows MSYS2, unix) (local-monotholic, podman compose, gith
Related Agents
Push Analyst
Pre-push analyst subagent. Inspects the commits-to-push range for sensitive files, divergence, and branch prot
Git Specialist
Git workflow specialist. Use for any git work — staging, conventional commits, branch creation, pushing with u
Git Commit Expert
Git workflow specialist for commit management, branch operations, and repository analysis. Use proactively for