work-github
Fetch GitHub commits and PRs (authored + reviewed) for a given work day. Usable standalone or as a subagent from work-daily.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Fetch GitHub commits and PRs (authored + reviewed) for a given work day. Usable standalone or as a subagent from work-daily.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | work-github |
| description | Fetch GitHub commits and PRs (authored + reviewed) for a given work day. Usable standalone or as a subagent from work-daily. |
| argument-hint | ['today' | 'yesterday' | 'YYYY-MM-DD' | empty → last working day] |
| user-invocable | false |
Fetch GitHub activity for: $ARGUMENTS
Date: Use the Skill tool to invoke work-date-resolver with args $ARGUMENTS.
Parse DATE from the output.
GitHub user: If GITHUB_USER is provided in context, use it directly. Otherwise run:
gh api user --jq '.login'
Store as GITHUB_USER.
GitHub org: If GITHUB_ORG is provided in context, use it directly. Otherwise read info.md from the current working directory and parse github_organization. Store as GITHUB_ORG.
Commits:
gh api "search/commits?q=author:GITHUB_USER+org:GITHUB_ORG+committer-date:DATE..DATE&per_page=30" \
--jq '[.items[] | {sha: .sha[0:7], repo: .repository.full_name, message: (.commit.message | split("\n")[0]), url: .html_url}]'
Authored PRs:
gh api "search/issues?q=author:GITHUB_USER+org:GITHUB_ORG+type:pr+updated:DATE..DATE&per_page=20&sort=updated" \
--jq '[.items[] | {number: .number, title: .title, state: .state, repo: (.repository_url | split("/") | .[-2:] | join("/")), url: .html_url}]'
Reviewed PRs:
gh api "search/issues?q=reviewed-by:GITHUB_USER+org:GITHUB_ORG+type:pr+updated:DATE..DATE&per_page=20&sort=updated" \
--jq '[.items[] | {number: .number, title: .title, state: .state, repo: (.repository_url | split("/") | .[-2:] | join("/")), url: .html_url}]'
De-duplicate between authored and reviewed lists by PR number. A PR that appears in both is listed under Authored only.
Emit exactly in this format:
GITHUB_RESULT
DATE: <DATE>
COMMITS (N):
- `repo` — message `sha`
AUTHORED_PRS (N):
| # | Title | Repo | State |
|---|-------|------|-------|
| [#N](url) | Title | repo | state |
REVIEWED_PRS (N):
| # | Title | Repo | State |
|---|-------|------|-------|
| [#N](url) | Title | repo | state |
If a section is empty, still emit the header and write (none) on the next line.
Generate a personal daily work summary. Aggregates calendar meetings, Fathom recordings, GitHub commits and PRs, Jira tickets, Slack highlights, and key emails into one structured digest for any given day.
Fetch Google Calendar events for a given work day. Usable standalone or as a subagent from work-daily.
Fetch Fathom meeting recordings with AI summaries and action items for a given work day. Usable standalone or as a subagent from work-daily.
Fetch key Gmail emails (sent and received important) for a given work day. Usable standalone or as a subagent from work-daily.
Resolve the authenticated user's identity for all work integrations. Reads from info.md when available, resolves remaining fields dynamically, caches results back to info.md. Returns a structured IDENTITY_RESULT block. Usable standalone or called in parallel from work-daily.
Fetch Jira tickets updated on a given work day for the current user in the Guidde Atlassian workspace. Usable standalone or as a subagent from work-daily.