Resources
3Install
npx skillscat add proompteng/lab/github Install via the SkillsCat registry.
SKILL.md
GitHub
Overview
Use the GitHub CLI to create PRs, review checks, and inspect CI logs. Follow the repo conventions for commits and PR titles.
Commit conventions
Use Conventional Commits:
fix(bumba): stabilize workflowsExample:
fix(bumba): stabilize workflowsCreate a PR
- Copy
.github/PULL_REQUEST_TEMPLATE.mdto a temp file. - Fill it out.
- Create the PR with
gh pr create.
cp .github/PULL_REQUEST_TEMPLATE.md /tmp/pr.md
$EDITOR /tmp/pr.md
gh pr create --body-file /tmp/pr.mdCheck CI
gh pr checks 2259
gh run view 123456789 --logMerge
Use squash merge, do not delete the branch via CLI:
gh pr merge 2202 --squash -R proompteng/labResources
- Reference:
references/github-pr-guide.md - Helper:
scripts/create-pr.sh - Sample PR body:
assets/pr-body-template.md