一键导入
weekly-report
Generate a weekly progress report based on git commits, PRs, review activity, and Linear tickets
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generate a weekly progress report based on git commits, PRs, review activity, and Linear tickets
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Multi-pass review of the current branch as a pull request against a base branch — fans out parallel specialized passes, then merges, reproduces, and reports findings by severity. Manual-only: invoke with `/review-pr [base-branch]`.
Look up how to best run a Steam game on this Linux machine via Proton — gathers local Proton/NVIDIA/gamescope/GNOME versions, queries ProtonDB (summary API + headless-Chromium scrape of community reports), and produces a recommended Proton version + gamescope/HDR launch command tailored to this system's hardware and the user's HDR/scaling preferences.
Create a pull request with a well-structured description using the repo's PR template
| name | weekly-report |
| description | Generate a weekly progress report based on git commits, PRs, review activity, and Linear tickets |
| disable-model-invocation | true |
| argument-hint | ["author-name"] |
| allowed-tools | Bash(git *), Bash(gh *), mcp__linear__list_issues, mcp__linear__list_comments, mcp__linear__get_user |
Generate a weekly progress report for the specified author (default: current git user).
Gather git commits from the past week
git config user.name # Get default author if not specified
git log --oneline --since="7 days ago" --author="$ARGUMENTS" --all | head -50
List recent PRs (open and merged)
gh pr list --author @me --state all --limit 20
gh pr list --author @me --state open --json number,title,url,createdAt
gh pr list --author @me --state merged --limit 20 --json title,number,mergedAt,url
Get detailed PR information
gh pr view {number} --json commits,files,additions,deletions,body
gh pr view {number} --json commits --jq '.commits[].messageHeadline'
Check for reviews received on own PRs
gh api "repos/{owner}/{repo}/pulls/{number}/reviews" | jq -r '.[] | "Reviewed by \(.user.login): \(.state)"'
Check for review comments made and received
gh api "repos/{owner}/{repo}/pulls/{number}/comments" | jq -r '.[] | select(.user.login == "{author}") | "- \(.path | split("/") | last): \(.body | split("\n")[0][:70])"'
gh api "repos/{owner}/{repo}/issues/{number}/comments" | jq -r '.[] | "\(.user.login) (\(.created_at | split("T")[0])): \(.body | split("\n")[0][:100])"'
Check submodules for contributions
git submodule foreach 'git log --oneline --since="7 days ago" --author="$ARGUMENTS" | head -20'
cd {submodule_path} && git log --oneline -10 --format="%h %s (%an, %ad)" --date=short
cd {submodule_path} && git show {commit_hash} --stat | head -20
Check for commit comments on submodule repositories
gh api "repos/{owner}/{submodule_repo}/commits/{commit_sha}/comments" | jq -r '.[] | "\(.user.login) (\(.created_at | split("T")[0])): \(.body | split("\n")[0][:80])"'
Gather Linear ticket activity from the past week
mcp__linear__list_issues with assignee="me", updatedAt="-P7D", limit=50
mcp__linear__list_issues with assignee="me", createdAt="-P7D", limit=50
mcp__linear__list_comments with issueId for each relevant issue
mcp__linear__get_user with query="me"
Format the report using this template
Output the final report wrapped in a markdown code block (triple backticks) for easy copy-paste:
```markdown
### [Author Name]
- **LAST WEEK**
- [Main accomplishment 1]
- [Sub-detail if relevant]
- [Main accomplishment 2]
- [Review activity - PRs reviewed with key feedback given]
- **THIS WEEK**
- [Planned work item 1]
- [Planned work item 2]
- **GITHUB**
- [PR #X: Title](url) - Status
- [PR #Y: Title](url) - Reviewed
- **LINEAR**
- [ARCH-XXX: Title](url) - Created/Moved to [Status]/Commented
- [ARCH-YYY: Title](url) - Status change: [Old] → [New]
```