Structured peer-review of academic papers.
中文简介正在准备中。当前显示原文说明。
HezaoHezao/poirot2512026年7月29日 更新
Create, triage, label, assign GitHub issues via gh or REST.
中文简介正在准备中。当前显示原文说明。
安装前可以查看交给 AI 代理的指令内容。
Create, search, triage, and manage GitHub issues. Each section shows gh first,
then curl fallback.
github-auth skill)if command -v gh &>/dev/null && gh auth status &>/dev/null; then
AUTH="gh"
else
AUTH="curl"
fi
REMOTE_URL=$(git remote get-url origin)
OWNER_REPO=$(echo "$REMOTE_URL" | sed -E 's|.*github\.com[:/]||; s|\.git$||')
OWNER=$(echo "$OWNER_REPO" | cut -d/ -f1)
REPO=$(echo "$OWNER_REPO" | cut -d/ -f2)
# With gh
gh issue list --state open --limit 20
gh issue view 42
# With curl
curl -s "https://api.github.com/repos/$OWNER/$REPO/issues?state=open&per_page=20" | python3 -c "
import sys, json
for i in json.load(sys.stdin):
print(f'#{i[\"number\"]:4d} [{i[\"state\"]:6s}] {i[\"title\"][:60]}')
"
# With gh (interactive editor)
gh issue create
# With gh (inline)
gh issue create --title "Bug: login fails on Safari" --body "Description..."
# With curl
curl -s -X POST \
-H "Authorization: token $GITHUB_TOKEN" \
https://api.github.com/repos/$OWNER/$REPO/issues \
-d '{"title":"Bug: login fails","body":"Description","labels":["bug"]}'
# Search within repo
gh issue list --search "login error" --state all
# Search across GitHub
gh search issues "is:issue is:open repo:$OWNER/$REPO label:bug"
# With curl (GitHub Search API)
curl -s "https://api.github.com/search/issues?q=repo:$OWNER/$REPO+label:bug+state:open" | python3 -c "
import sys, json
r = json.load(sys.stdin)
print(f'Total: {r[\"total_count\"]}')
for i in r['items']:
print(f'#{i[\"number\"]:4d} {i[\"title\"][:60]}')
"
# List labels
gh label list
# Create label
gh label create "priority-high" --color "D73A4A" --description "High priority"
# Add label to issue
gh issue edit 42 --add-label "priority-high"
# With curl
curl -s -X POST \
-H "Authorization: token $GITHUB_TOKEN" \
https://api.github.com/repos/$OWNER/$REPO/issues/42/labels \
-d '{"labels":["priority-high"]}'
# With gh
gh issue edit 42 --add-assignee username
# With curl
curl -s -X POST \
-H "Authorization: token $GITHUB_TOKEN" \
https://api.github.com/repos/$OWNER/$REPO/issues/42/assignees \
-d '{"assignees":["username"]}'
# With gh
gh issue comment 42 --body "Can you reproduce with the latest version?"
# With curl
curl -s -X POST \
-H "Authorization: token $GITHUB_TOKEN" \
https://api.github.com/repos/$OWNER/$REPO/issues/42/comments \
-d '{"body":"Can you reproduce with the latest version?"}'
# With gh
gh issue close 42
gh issue reopen 42
# With curl
curl -s -X PATCH \
-H "Authorization: token $GITHUB_TOKEN" \
https://api.github.com/repos/$OWNER/$REPO/issues/42 \
-d '{"state":"closed"}'
# List untriaged issues (no labels)
gh issue list --state open --search "no:label"
# Bulk add labels
for num in 10 11 12 13; do
gh issue edit $num --add-label "triaged"
done
# List issues assigned to you
gh issue list --assignee @me --state open
pull_request field: if 'pull_request' not in i.# (e.g. D73A4A).还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Structured peer-review of academic papers.
中文简介正在准备中。当前显示原文说明。
Dark-themed SVG architecture/cloud/infra diagrams as HTML.
中文简介正在准备中。当前显示原文说明。
Search arXiv papers by keyword, author, category, or ID.
中文简介正在准备中。当前显示原文说明。
Monitor blogs and RSS/Atom feeds via blogwatcher-cli.
中文简介正在准备中。当前显示原文说明。
Onboarding conversation to generate a user profile.
中文简介正在准备中。当前显示原文说明。
Generate charts: select type, extract data, render image.
中文简介正在准备中。当前显示原文说明。