Community研究与数据分析github.com

steipete/github-author-context

为 PR 作者或 GitHub 用户构建简洁的维护者档案,包含身份、活动、信任度和公司/团队信号。

github-author-context 是什么?

该技能专为 PR 审核者设计,自动为每个 PR 作者(除非是 Peter 本人)生成一个精简的维护者档案。它按优先级从多个来源收集信息:首先检查本地 OpenClaw 贡献者数据库中的身份、信号和备注等关键字段;如果找不到最新数据,则回退到旧的维护者记录;然后实时查询 GitHub 公开资料(如公司、地点、关注者等);接着搜索目标仓库中该用户的合并/开放 PR 和 Issue,并检查其权限等级;最后在有帮助时提取本地的 Git 提交历史。输出是一个可插入到 PR 审核顶部的摘要块,包含作者身份、活动统计、OpenClaw 信号(如维护者、路过者、供应商)和风险评估(如审核负担、公司控制)。审核完成后,该技能提供命令行工具来添加简短、事实性的贡献者备注,以增强未来审核的价值。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/steipete/agent-scripts/tree/main/skills/github-author-context

Installed? Explore more 研究与数据分析 skills: affaan-m/uspto-database, affaan-m/scholar-evaluation, affaan-m/literature-review · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

GitHub 作者上下文

为 PR 作者或 GitHub 用户构建一个简洁的维护者档案。在 PR 审核期间默认使用此技能,除非作者是 Peter(steipete、Peter Steinberger 或明显的 Peter 拥有的机器人/账号)。

输入

优先使用 GitHub 登录名。从 PR 中获取:

gh pr view <n> --json author,url,headRepository,baseRepository -q '{author:.author.login,url:.url,repo:.baseRepository.nameWithOwner}'

跳过对 steipete 的档案分析,除非用户明确要求。

数据来源顺序

  1. OpenClaw 贡献者备注:
~/Projects/maintainers/scripts/clawtributors find github <login>

如果 ~/Projects/maintainers/contributors/people 中存在对应的贡献者文件,仅读取:

  • 身份
  • 信号
  • 上下文
  • 证据
  • 备注

仅当新的贡献者文件缺失且旧的维护者上下文可能有帮助时,才回退到:

rg -n -i "<login>|<name>|<discord>" ~/Projects/openclaw-maintainers/people ~/Projects/openclaw-maintainers/data

如果找到旧的人员文件,仅读取相关部分:

  • 结论
  • 身份
  • 公司隶属关系
  • 指标
  • Discord 通信
  • 证据
  • 风险 / 关注点 / 建议(若存在)
  1. 实时的 GitHub 公开资料:
gh api "users/<login>" --jq '{login,name,company,location,bio,blog,twitter_username,created_at,followers,following,public_repos}'
  1. 目标仓库活动:
gh search prs --repo <owner/repo> --author <login> --state merged --limit 20 --json number,title,mergedAt,url
gh search prs --repo <owner/repo> --author <login> --state open --limit 20 --json number,title,updatedAt,url
gh search issues --repo <owner/repo> --author <login> --state open --limit 20 --json number,title,updatedAt,url
gh api "repos/<owner>/<repo>/collaborators/<login>/permission" --jq '{permission,user:.user.login}' 2>/dev/null || true

对于 OpenClaw,优先使用新的 openclaw/maintainers 贡献者文件,而不是重新计算活动,除非时效性明显更重要。

  1. 本地 Git 证据(当有用时):
git log --all --author="<login>" --since="90 days ago" --oneline --decorate --no-merges | head -40
git shortlog -sne --all | rg -i "<login>|<name>|<email>"

输出

保持简短。将以下块添加到 PR 审核的顶部附近:

作者上下文:@login
- 身份:<姓名/公司/地点/角色,置信度>
- 活动:<已合并 PR/开放 PR/Issue/评论/提交(若已知)>
- OpenClaw 信号:<维护者/候选人/路过者/供应商/安全/未知>
- 风险:<审核负担/宽泛 PR/历史短/公司管控/无明显风险>

不要引用私人电话号码/电子邮件/联系细节,除非 Peter 要求。将雇主与公司导向的 OpenClaw 工作分开;几乎每个人都有雇主。

贡献者备注

在合并/拒绝/关闭/审核之后,仅当它能为未来审核创造价值时才添加备注:首次良好合并、异常出色的工作、重复的质量问题、敷衍提交、无法复现的反复、出色的响应速度、缺乏跟进、或身份确认。

使用维护者仓库助手以保持 Markdown 格式一致:

~/Projects/maintainers/scripts/clawtributors note github <login> --kind merged --pr <n> --summary "定位明确的 bug 修复。测试可信。审核顺利。"
~/Projects/maintainers/scripts/clawtributors note github <login> --kind rejected --pr <n> --summary "大范围生成的代码重构;无法复现的 bug;要求拆分。"
~/Projects/maintainers/scripts/clawtributors link github <login> discord <id> --username <discord> --confidence high --evidence "在 #clawtributors 中自链接了撰写的 PR。"

保持备注简洁、基于事实、注明日期并附上链接。不要记录普通的噪音。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

steipete/agent-transcript

GitHub PR/issue agent transcripts: redact, preview, and insert safely.

steipete/beeper

Beeper cache: contact hints, room lookup, WhatsApp/iMessage traces, FTS.

steipete/browser-use

Existing Chrome automation: Chrome plugin first, mcporter fallback.

steipete/clawsweeper-status

ClawSweeper status: URLs, workflow health, active workers, ops snapshot.

steipete/clickclack

ClickClack ops: chat app, Hetzner deploy, DNS/docs/app, Docker rollout.

steipete/cloudflare-registrar

Cloudflare Registrar: domain availability, prices, registration via mcporter.

steipete/codex-debugging

Codex debugging: codex-rs core/tui/exec/cli/app-server/config.

steipete/create-cli

CLI UX/spec: args, flags, help, output, errors, config, dry-run.

steipete/discord-clawd

Discord-backed OpenClaw agent/session relay; not archive search.

steipete/domain-dns-ops

DNS/domain ops: registrars, zones, redirects, DNS/HTTP verify, manager truth.

steipete/frontend-design

Frontend UI: pages, apps, components, polished non-generic design.

steipete/github-cache-hygiene

GitHub quota/cache hygiene: gh, ghx, xcache, gitcrawl, mirrors, limits.

steipete/github-deep-review

GitHub deep review: bugs, PRs, best fix, stale-or-real, read code first.

steipete/github-project-triage

GitHub issue/PR triage: queues, CI, blockers, risk, proof, next actions.

steipete/hopper-debugger

Hopper debugging: macOS/iOS binaries, ObjC/Swift symbols, dyld, LLDB.

steipete/instruments-profiling

Instruments/xctrace profiling: macOS/iOS traces, binaries, args, exports.

steipete/mac-maintenance

Mac upkeep: brew update/upgrade, pull clean repos, empty Trash.

steipete/maintainer-orchestrator

Open-source maintainer orchestration: Codex app workers, work recovery, dependencies, vision, releases.

steipete/markdown-converter

Markdown conversion: PDF, Office, HTML, data, OCR, audio, ZIP, YouTube.

steipete/nano-banana-pro

Nano Banana/Gemini image gen/edit: text/image input, 512-4K workflows.

相关技能