gh-first-workflow
Enforce gh-first GitHub investigation, pull request maintenance, and Conventional Commit output rules. Use when investigating GitHub issues or pull requests, creating or updating pull requests, summarizing investigation results, or preparing commit messages.
- License 许可
- MIT
- 所属仓库
- mryfmo/dotfiles
- 最近更新
- 2026-11-11
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- gh-first-workflow
- description
- Enforce gh-first GitHub investigation, pull request maintenance, and Conventional Commit output rules. Use when investigating GitHub issues or pull requests, creating or updating pull requests, summarizing investigation results, or preparing commit messages.
02 资源文件 2
- 参考文档agents/openai.yaml276 B
- 参考文档references/gh-git-rules.md1.2 KB
03 SKILL.md 正文
GH-First Workflow
Overview
Use this workflow to keep GitHub investigation and commit output consistent with repository policy. For pull requests, keep the description aligned with the full current PR contents, not just the latest delta.
Read Acknowledgement
- After reading this skill, say:
🐙 私は gh-first-workflow を読みました。
Workflow
- Start issue/PR investigation with
ghcommands. - Use
webonly whenghcannot provide required details. - Collect URLs for every issue/PR that was inspected.
- When creating a PR, write the PR description as a summary of the full PR.
- If additional commits are pushed after PR creation, inspect the updated commits/diff with
ghand refresh the PR description so it reflects the full current PR, not only the latest increment. - Include inspected URLs in the response.
- Write commit messages in Conventional Commit format.
- Before merging or accepting a PR in a repository that has a program store (
.orchestration/orchestrate/<program>/), follow thehcom-orchestrationSKILL's loop: a verdict row for the head sha, CI green, every bot finding fixed at root cause or dismissed with a pasted refutation, then the squash merge pinned to that head sha (--match-head-commit). In any other repository, follow that repository's own merge rules.
Output Checklist
- State that
ghwas used first. - State why
webwas used when fallback was necessary. - Include inspected issue/PR URLs.
- When commits were added after PR creation, confirm the PR description was updated to match the full current PR.
- Keep commit subject in Conventional Commit form:
<type>(<scope>): <summary>. - Before a merge in a repository with a program store: every bot finding, including any CodeRabbit review and every
failureandwarningannotation, is fixed at root cause or dismissed with a pasted refutation; a bot review is optional and not gated. Elsewhere, the repository's own merge rules apply. - Do NOT include local absolute file paths (e.g.,
/Users/.../,/home/.../) in any output. Use repository-relative paths instead.
Use gh-git-rules.md for command examples and commit-type guidance.
04 同仓库更多 Skills
x
暂无简介
y
暂无简介
status-report
Generate a status report with KPIs, risks, and action items. Use when writing a weekly or monthly update for leadership, summarizing project health with green/yellow/red status, surfacing risks and decisions that need stakeholder attention, or turning a pile of project tracker activity into a readable narrative.
runbook
Create or update an operational runbook for a recurring task or procedure. Use when documenting a task that on-call or ops needs to run repeatably, turning tribal knowledge into exact step-by-step commands, adding troubleshooting and rollback steps to an existing procedure, or writing escalation paths for when things go wrong.
risk-assessment
Identify, assess, and mitigate operational risks. Trigger with "what are the risks", "risk assessment", "risk register", "what could go wrong", or when the user is evaluating risks associated with a project, vendor, process, or decision.
change-request
Create a change management request with impact analysis and rollback plan. Use when proposing a system or process change that needs approval, preparing a change record for CAB review, documenting risk and rollback steps before a deployment, or planning stakeholder communications for a rollout.