一键导入
github-workflow
GitHub development workflow — issue discipline, commit format, pre-PR conformance gate, gh CLI recipes, and PR review handling
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
GitHub development workflow — issue discipline, commit format, pre-PR conformance gate, gh CLI recipes, and PR review handling
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Resolving PR review comments and merging stacked PRs — gathering all feedback, addressing every finding, delegating to expert subagents, managing review states, and merging bottom-to-top
Stacked PR workflow with vanilla Git — creating and managing PR stacks, parallel stacks with git worktrees, propagating fixes up a stack, and safe merging bottom-to-top
Resolving PR review comments and merging stacked PRs — gathering all feedback, addressing every finding, delegating to expert subagents, managing review states, and merging bottom-to-top
Stacked PR workflow with vanilla Git — creating and managing PR stacks, parallel stacks with git worktrees, propagating fixes up a stack, and safe merging bottom-to-top
Writing well-structured GitHub issues — standard templates, removal issue discipline, design doc references, test update requirements, epic sizing, and dependency declaration
RAG data pipeline patterns — chunking strategies, vector store selection, embedding optimization, data validation, schema evolution, and evaluation metrics
| name | github-workflow |
| description | GitHub development workflow — issue discipline, commit format, pre-PR conformance gate, gh CLI recipes, and PR review handling |
Before writing any code, read the full issue — body and comments:
gh issue view <N> # title + body + acceptance criteria
gh issue view <N> --comments # full comment thread
Design decisions, option selections, and structural clarifications are often in the comments, not the body. An implementer who reads only the body may implement the wrong option.
If delegating to a subagent: pass both outputs verbatim. Do not paraphrase, summarize, or "translate" the issue into your own prompt. The issue body IS the delegation prompt. If you feel you need to explain it, that means the issue is underspecified — file a comment on the issue to clarify, then delegate.
If the acceptance criteria are abstract (e.g., "make function A consistent with function B" without specifying which structural property to match): do not implement. File a comment on the issue describing the specific structural change required — diff the two functions, identify the exact divergence, state which lines must match — then proceed.
Run this checklist before every gh pr create, without exception.
Invoke @architect-reviewer with:
docs/ for specs, ADRs, design docs — if none exist, note that in the PR body)git diff origin/main --name-only)gh issue view <N> — pass the full body)@architect-reviewer will produce a conformance table with CONFORMANT / PARTIAL / MISSING / DEAD per requirement.
| Finding | Action |
|---|---|
| All CONFORMANT | Proceed to Step 3 |
| Any PARTIAL | Fix the gap, re-run @architect-reviewer |
| Any MISSING | Fix before opening the PR — no exceptions |
| Any DEAD | Fix the broken producer→consumer chain before opening the PR |
Do not open the PR with unresolved MISSING or DEAD findings. There is no "I'll fix it in a follow-up" for items the design requires.
The PR body must contain the @architect-reviewer conformance table. A PR body without it signals the gate was skipped.
## Design Conformance
| # | Requirement | Source | Status | Evidence |
|---|---|---|---|---|
| 1 | ... | ADR-0003, §2 | CONFORMANT | src/pipeline.py:142 |
...
Reviewed by @architect-reviewer — all requirements CONFORMANT.
If the repo has no design documents, write: No design documents found — conformance review not applicable.
gh pr create --fill
For stacked PRs and parallel work across multiple stacks, load the stacked-prs skill.
# Issues
gh issue create -t "Title" -b "Body" -l bug
gh issue list --state open --label "priority:high"
gh issue close 42 -c "Fixed in #45"
gh issue edit 42 --add-label "in-progress"
# PRs
gh pr create --fill # From current branch, auto-fill
gh pr list --state open --author @me
gh pr checks 45 # CI status
gh pr review 45 --approve
gh pr merge 45 --squash --delete-branch # For non-stacked PRs only
# CI/CD
gh run list --workflow=ci.yml
gh run view <id> --log-failed
gh run rerun <id> --failed
gh workflow run release.yml -f force=minor
# Searching
gh search code "pattern" --repo owner/repo
gh search issues "label:bug is:open" --repo owner/repo
For full issue writing guidance — templates, removal discipline, design doc references,
test requirements, epic sizing — load the issue-writing skill.
If a reviewer says "you could also..." or "consider adding..." and it's out of scope:
gh issue create -t "Follow-up: ..." -b "From PR #N"bug, enhancement, documentationpriority:high, priority:lowgood-first-issue for onboardinggit diff origin/main before every push.type(scope): description
[optional body]
[optional footer: BREAKING CHANGE, Refs #issue]
Types: feat, fix, docs, refactor, test, chore, ci, perf