소스 정보
- 저장소
- HezaoHezao/poirot
- 최근 소스 활동
- 2026년 7월 28일 12:58
- 감지된 SKILL.md 언어
- 영어
- 스타
- 212
- 포크
- 15
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/HezaoHezao/poirot --skill github-pr-workflow명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
| name | github-pr-workflow |
| description | GitHub PR lifecycle: branch, commit, open, CI, merge. |
| allowed-tools | ["bash","read_file"] |
| enabled | true |
| related-skills | ["github-auth","github-code-review"] |
| license | MIT |
| author | Adapted from hermes-agent (Nous Research, MIT) |
Complete guide for managing the PR lifecycle. gh first, git + curl
fallback.
github-auth skill)# Create feature branch
git checkout -b feature/add-login
# Make changes, commit
git add -A
git commit -m "feat: add login endpoint"
# Push
git push -u origin feature/add-login
# With gh (interactive)
gh pr create
# With gh (inline)
gh pr create \
--title "feat: add login endpoint" \
--body "## Changes
- Add /api/login route
- Add JWT token generation
- Add tests
## Testing
\`\`\`bash
pytest tests/test_auth.py -v
\`\`\`" \
--base main \
--head feature/add-login
# With curl
curl -s -X POST \
-H "Authorization: token $GITHUB_TOKEN" \
https://api.github.com/repos/$OWNER/$REPO/pulls \
-d '{
"title":"feat: add login endpoint",
"body":"Add /api/login route with JWT",
"head":"feature/add-login",
"base":"main"
}'
# With gh
gh pr checks 42
# With curl (check runs)
curl -s "https://api.github.com/repos/$OWNER/$REPO/commits/$HEAD_SHA/check-runs" | python3 -c "
import sys, json
for r in json.load(sys.stdin)['check_runs']:
print(f'{r[\"name\"]:30s} {r[\"conclusion\"] or r[\"status\"]}')
"
# With curl (statuses — legacy CI)
curl -s "https://api.github.com/repos/$OWNER/$REPO/commits/$HEAD_SHA/status" | python3 -c "
import sys, json
r = json.load(sys.stdin)
print(f'Overall: {r[\"state\"]}')
for s in r['statuses']:
print(f' {s[\"context\"]:30s} {s[\"state\"]}')
"
# Make more changes
git add -A
git commit --fixup HEAD # or regular commit
git push
# PR automatically updates
# Request review
gh pr edit 42 --add-reviewer username
# Approve (as reviewer)
gh pr review 42 --approve --body "LGTM!"
# Request changes
gh pr review 42 --request-changes --body "See inline comments."
# Comment
gh pr review 42 --comment --body "Some suggestions."
# With gh
gh pr merge 42 --merge # merge commit
gh pr merge 42 --squash # squash merge
gh pr merge 42 --rebase # rebase merge
gh pr merge 42 --squash --delete-branch # squash + delete branch
# With curl
curl -s -X PUT \
-H "Authorization: token $GITHUB_TOKEN" \
https://api.github.com/repos/$OWNER/$REPO/pulls/42/merge \
-d '{"merge_method":"squash"}'
# Delete local branch
git checkout main
git pull origin main
git branch -d feature/add-login
# Delete remote branch (if not auto-deleted)
git push origin --delete feature/add-login
# 1. Branch
git checkout -b fix/issue-42-login-timeout
# 2. Implement + test
# ... make changes ...
pytest tests/test_auth.py -v
# 3. Commit
git add -A
git commit -m "fix: increase login timeout to 30s (fixes #42)"
# 4. Push
git push -u origin fix/issue-42-login-timeout
# 5. Create PR
gh pr create --title "fix: increase login timeout (fixes #42)" --body "..." --base main
# 6. Check CI
gh pr checks
# 7. After CI passes + review approved
gh pr merge --squash --delete-branch
# 8. Cleanup
git checkout main && git pull
fixes #42: auto-closes issue 42 on merge. Use refs #42 to reference
without closing.git fetch origin && git rebase origin/main to resolve
before pushing.gh pr create --draft marks as WIP. Reviewers can't approve
until marked ready.git push --force-with-lease (not --force) to avoid
overwriting others' work on shared branches.SOC 직업 분류 기준