mcpField
G
github-project

github-project

github.com/netresearchDevelopment10126 installsUpdated today
Repository

About github-project

github-project is a skill for GitHub repository maintenance, aimed at developers and maintainers. It combines operational scripts with focused references for branch protection, pull requests, CI, security, and repository workflows.

Key features

  1. 01Branch protection setup and verification
  2. 02Pull request merge diagnostics
  3. 03GitHub Actions failure checks
  4. 04Security and ruleset guidance
  5. 05References for repository operations

Use cases

  1. 01Set branch protection after creating a repository
  2. 02Diagnose a pull request that will not merge
  3. 03Investigate failed GitHub Actions runs
  4. 04Review security and auto-merge settings

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/netresearch/github-project-skill --skill github-project

After installing, type/github-projectin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

checkpoints.yaml
assets/
auto-merge-direct.yml.template
auto-merge-queue.yml.template
auto-merge.yml.template
branch-protection.json.template
bug_report.md.template
CODEOWNERS.template
CONTRIBUTING.md.template
dependabot.yml.template
feature_request.md.template
pr-quality.yml.template
PULL_REQUEST_TEMPLATE.md.template
release-labeler.yml.template
renovate.json.template
SECURITY.md.template
evals/
evals.json
references/
actionlint-guide.md
actions-upgrade-guide.md
agentic-workflows.md
ai-reviewer-pushback.md
auto-merge-guide.md
branch-migration.md
ci-runner-capacity.md
cross-repo-references.md
dependency-management.md
gh-cli-reference.md
merge-strategy.md
multi-repo-operations.md
no-editorializing.md
org-security-settings.md

Details

From the project README

GitHub Project Skill

When to Use

  • Post gh repo create + push, before first PR — REQUIRED: scripts/init-branch-protection.sh OWNER/REPO
  • First issue/PR into a foreign repo — references/upstream-contributions.md BEFORE filing
  • Adding a workflow job — pitfall #6
  • PR won't merge / threads
  • Auto-merge fails (Dependabot/Renovate)
  • Solo auto-approve
  • Branch protection, rulesets
  • GHA failures
  • Signed-commit merge
  • CodeQL
  • Scorecard
  • CODEOWNERS, templates, labels
  • Fork PR merge base

Quick Diagnostics

PR Won't Merge
gh pr view PR --repo OWNER/REPO \
  --json mergeStateStatus,reviewDecision,mergeable,reviewThreads
Solo Maintainer: Stuck on REVIEW_REQUIRED

Either assets/pr-quality.yml.template (auto-approve, required_approving_review_count >= 1) or scripts/init-branch-protection.sh OWNER/REPO --solo (approvals 0, conversation resolution kept) — references/auto-merge-guide.md compares both.

Auto-merge Setup

Requires allow_auto_merge, pull_request_target, bot detection, gh pr merge --auto (references/auto-merge-guide.md).

Auto-merge Not Working
gh pr view PR --repo OWNER/REPO --json autoMergeRequest --jq .autoMergeRequest

Bypass actors: references/security-config.md.

GitHub Actions Failing
gh run list --repo OWNER/REPO --limit 5
gh run view RUN_ID --repo OWNER/REPO --log-failed
gh run rerun RUN_ID --repo OWNER/REPO
Security Quick Checks
gh api repos/OWNER/REPO/rules/branches/main
gh api repos/OWNER/REPO/branches/main/protection \
  --jq '{rcr: .required_conversation_resolution.enabled, admins: .enforce_admins.enabled}'
gh api repos/OWNER/REPO/code-scanning/default-setup --jq '.state'
gh pr view PR --repo OWNER/REPO --json reviewThreads --jq '.reviewThreads'
Merge Strategy Issues

references/auto-merge-guide.md: signed-commit rebase, workflow-file PRs, Copilot race.

Calling Organisation Reusables

Rule: uses: netresearch/<repo>/.github/workflows/<name>.yml@main. Never a commit hash, also not @<sha> # main; third-party actions stay SHA-pinned. A CodeQL actions/unpinned-tag, zizmor or SonarCloud finding on such a line is dismissed as won't fix, never fixed by pinning. Why: references/reusable-workflow-security.md.

Running Scripts

scripts/init-branch-protection.sh OWNER/REPO              # baseline
scripts/init-branch-protection.sh OWNER/REPO --from-current-checks   # after first CI
scripts/init-branch-protection.sh OWNER/REPO --merge-queue    # then: org-standard queue
scripts/verify-github-project.sh /path/to/repository      # local-checkout audit

No editorializing

State what a change does, not how good it is.

References

TopicReference
Repo bootstrapreferences/repo-bootstrap.md
Repository file layoutreferences/repository-structure.md
Branch migrationreferences/branch-migration.md
Repository retirement, Packagist abandonreferences/repo-retirement.md
Dependabot/Renovatereferences/dependency-management.md
Auto-approve + auto-mergereferences/auto-merge-guide.md
Merge strategyreferences/merge-strategy.md
Sub-issuesreferences/sub-issues.md
Release labelingreferences/release-labeling.md
gh CLI commandsreferences/gh-cli-reference.md
Polyglot CI checklistsreferences/repo-setup-guide.md
Scorecard, CodeQL, securityreferences/security-config.md
actionlintreferences/actionlint-guide.md
Actions upgrades, Node-runtime wavereferences/actions-upgrade-guide.md
Workflow bash pitfallsreferences/workflow-bash-patterns.md
Runner capacity, concurrency groups (schedule vs push)references/ci-runner-capacity.md
No editorializingreferences/no-editorializing.md
Fork merge basereferences/pr-commit-cleanup.md
Multi-repo batch opsreferences/multi-repo-operations.md
Private copy of a public repo (mirror push)references/multi-repo-operations.md
Cross-repo references, code permalinksreferences/cross-repo-references.md
Foreign-repo contributionsreferences/upstream-contributions.md
Reusable workflow securityreferences/reusable-workflow-security.md
Reusable workflow pitfallsreferences/reusable-workflow-pitfalls.md
Org security settingsreferences/org-security-settings.md
Tag validationreferences/tag-validation.md
AI reviewer pushbackreferences/ai-reviewer-pushback.md
Agentic workflowsreferences/agentic-workflows.md
Pages + data collectorsreferences/pages-and-collector-workflows.md

Contributing: https://github.com/netresearch/github-project-skill

Comments

Markdown supported