Skip to main content

github-author-context

GitHub contributor context: identity, activity, trust, company/team signal.

来源信息

仓库
steipete/agent-scripts
最近来源活动
2026年5月23日 08:13
检测到的 SKILL.md 语言
英语
星标
7,411
Forks
646

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
2 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
github-author-context
description
GitHub contributor context: identity, activity, trust, company/team signal.
# GitHub Author Context Build a compact maintainer-facing profile for a PR author or GitHub user. Use this by default during PR review unless the author is Peter (`steipete`, `Peter Steinberger`, or an obvious Peter-owned bot/account). ## Inputs Prefer a GitHub login. From a PR: ```bash gh pr view <n> --json author,url,headRepository,baseRepository -q '{author:.author.login,url:.url,repo:.baseRepository.nameWithOwner}' ``` Skip the profile pass for `steipete` unless the user explicitly asks. ## Source Order 1. OpenClaw contributor notes: ```bash ~/Projects/maintainers/scripts/clawtributors find github <login> ``` If a contributor file matches in `~/Projects/maintainers/contributors/people`, read only: - `Identity` - `Signals` - `Context` - `Evidence` - `Notes` Fallback only when the new contributor file is missing and old maintainer context might help: ```bash rg -n -i "<login>|<name>|<discord>" ~/Projects/openclaw-maintainers/people ~/Projects/openclaw-maintainers/data ``` If an old person file matches, read only the relevant sections: - `Verdict` - `Identity` - `Company Affiliation` - `Metrics` - `Discord Communication` - `Evidence` - `Risks` / `Concerns` / `Recommendation` when present 2. Live GitHub public profile: ```bash gh api "users/<login>" --jq '{login,name,company,location,bio,blog,twitter_username,created_at,followers,following,public_repos}' ``` 3. Target-repo activity: ```bash 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 ``` For OpenClaw, prefer the new `openclaw/maintainers` contributor file over recomputing activity unless freshness clearly matters. 4. Local git evidence when useful: ```bash git log --all --author="<login>" --since="90 days ago" --oneline --decorate --no-merges | head -40 git shortlog -sne --all | rg -i "<login>|<name>|<email>" ``` ## Output Keep it short. Add this block near the top of a PR review: ```text Author context: @login - Who: <name/company/location/role, confidence> - Activity: <merged/open PRs, issues, reviews/commits if known> - OpenClaw signal: <maintainer/candidate/drive-by/vendor/security/unknown> - Risk: <review-load, broad PRs, low history, company-governance, none obvious> ``` Do not quote private phone/email/contact details unless Peter asks. Separate employer from company-directed OpenClaw work; almost everyone has an employer. ## Contributor Notes After a merge/rejection/close/review, add a note only if it creates future review value: first good merge, unusually strong work, repeated quality problems, slop, no-repro churn, exceptional responsiveness, lack of follow-through, or identity confirmation. Use the maintainer repo helper so Markdown stays consistent: ```bash ~/Projects/maintainers/scripts/clawtributors note github <login> --kind merged --pr <n> --summary "Focused bug fix. Tests credible. Smooth review." ~/Projects/maintainers/scripts/clawtributors note github <login> --kind rejected --pr <n> --summary "Broad generated refactor; no reproducible bug; asked to split." ~/Projects/maintainers/scripts/clawtributors link github <login> discord <id> --username <discord> --confidence high --evidence "Self-linked authored PRs in #clawtributors." ``` Keep notes terse, factual, dated, and linked. Do not record ordinary noise.
在 GitHub 查看