用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill github-activity命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | github-activity |
| description | Recent repository activity summary Use when this capability is needed. |
| metadata | {"author":"dtsong"} |
owner/repo format with alphanumeric characters and hyphens only.Show recent activity in the repository including commits, PRs, issues, and releases.
/gh-activity # Activity in last 24 hours
/gh-activity --week # Activity in last 7 days
/gh-activity --month # Activity in last 30 days
/gh-activity --since 2025-01-01 # Since specific date
/gh-activity --author @user # Activity by specific user
# Default: last 24 hours
SINCE=$(date -v-1d +%Y-%m-%dT%H:%M:%SZ)
# Or week
SINCE=$(date -v-7d +%Y-%m-%dT%H:%M:%SZ)
# Or month
SINCE=$(date -v-30d +%Y-%m-%dT%H:%M:%SZ)
# Recent commits
git log --since="$SINCE" --format="%h %s (%an, %ar)"
# Merged PRs
gh pr list --state merged --json number,title,author,mergedAt \
--jq ".[] | select(.mergedAt > \"$SINCE\")"
# Opened issues
gh issue list --state all --json number,title,author,createdAt,state \
--jq ".[] | select(.createdAt > \"$SINCE\")"
# New releases
gh release list --json tagName,publishedAt,name \
--jq ".[] | select(.publishedAt > \"$SINCE\")"
Sort all events by time and present.
Repository Activity Summary
Repository: owner/repo
Period: Last 24 hours
Generated: 2025-01-25 10:30 AM
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Quick Stats
Commits: 15
PRs merged: 4
PRs opened: 3
Issues opened: 5
Issues closed: 3
Releases: 1
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📝 Recent Commits (15)
main branch:
abc1234 feat: Add dark mode toggle (@user1, 2 hours ago)
def5678 fix: Login validation (@user2, 3 hours ago)
ghi9012 docs: Update README (@user3, 5 hours ago)
jkl3456 refactor: Clean up auth (@user1, 8 hours ago)
... and 11 more
Active feature branches:
feat/api-v2: 3 commits by @user4
fix/mobile-layout: 2 commits by @user5
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔀 Pull Requests
Merged (4):
#345 Add dark mode support (@user1, 2 hours ago)
#347 Fix login validation (@user2, 4 hours ago)
#348 Update dependencies (@dependabot, 6 hours ago)
#350 Improve error handling (@user3, 10 hours ago)
Opened (3):
#352 Add keyboard shortcuts (@user4, 1 hour ago)
#353 Refactor API client (@user5, 3 hours ago)
#354 Add accessibility features (@user6, 8 hours ago)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🐛 Issues
Opened (5):
#460 Bug: Login fails on Safari (@reporter1, 1 hour ago)
#461 Feature: Add export function (@reporter2, 3 hours ago)
#462 Question: API rate limiting (@reporter3, 5 hours ago)
#463 Bug: Memory leak detected (@reporter4, 8 hours ago)
#464 Feature: Dark mode request (@reporter5, 12 hours ago)
Closed (3):
#455 Bug: Form submission error - fixed in #345
#456 Feature: Theme toggle - implemented in #345
#457 Docs: Missing API examples - fixed in #350
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📦 Releases
v1.2.0 - Dark Mode Release (4 hours ago)
Major features:
- Dark mode support
- Theme persistence
- System preference detection
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
👥 Most Active Contributors
@user1: 5 commits, 2 PRs merged
@user2: 3 commits, 1 PR merged
@user3: 2 commits, 1 PR merged
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 Notifications
@you were mentioned in:
#460 Bug report (@reporter1 asked for your input)
Reviews completed on your PRs:
#340 approved by @reviewer1
Activity Timeline (Last 24 Hours)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1 hour ago
🐛 Issue #460 opened: Bug: Login fails on Safari
🔀 PR #352 opened: Add keyboard shortcuts
2 hours ago
✅ PR #345 merged: Add dark mode support
📝 Commit abc1234: feat: Add dark mode toggle
3 hours ago
💬 Comment on #460 by @maintainer
🔀 PR #353 opened: Refactor API client
4 hours ago
📦 Release v1.2.0 published
✅ PR #347 merged: Fix login validation
...
23 hours ago
🐛 Issue #458 opened: Security report
📝 First commit of the day
Activity by @user1 (Last 7 Days)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Commits: 12
PRs merged: 3
PRs opened: 4
Issues closed: 5
Reviews given: 8
Contributions:
Mon: ████████ 8 commits
Tue: ████ 4 commits
Wed: ██ 2 commits
Thu: ██████ 6 commits
Fri: ████████████ 12 commits
Sat: ██ 2 commits
Sun: 0 commits
Key accomplishments:
- Implemented dark mode feature (#345)
- Fixed critical login bug (#347)
- Reviewed 8 PRs from teammates
~/.claude/skills/github-workflow/scripts/activity-summary.sh
/gh-health for overall repo health/gh-mine to see your specific items/gh-triage to address new issuesConverted and distributed by TomeVault — claim your Tome and manage your conversions.