{"meta":{"title":"分类整理并汇总存储库活动","intro":"Copilot 可以从你关注的存储库中提取关键信息，帮助你及时了解最近的活动。","product":"GitHub Copilot","breadcrumbs":[{"href":"/zh/copilot","title":"GitHub Copilot"},{"href":"/zh/copilot/tutorials","title":"教程"},{"href":"/zh/copilot/tutorials/copilot-cookbook","title":"GitHub Copilot 指南"},{"href":"/zh/copilot/tutorials/copilot-cookbook/communicate-effectively","title":"有效沟通"},{"href":"/zh/copilot/tutorials/copilot-cookbook/communicate-effectively/summarize-repository-activity","title":"汇总存储库活动"}],"documentType":"article"},"body":"# 分类整理并汇总存储库活动\n\nCopilot 可以从你关注的存储库中提取关键信息，帮助你及时了解最近的活动。\n\nGitHub Copilot CLI 可帮助你汇总存储库中的所有最近活动。               Copilot CLI 将查找有关问题、拉取请求、提交、CI 运行状况和安全通知的信息，你可以要求它在报告中汇总这些信息。\n\n## 示例方案\n\n你离开一周后继续使用存储库，需要跟进最新进展。 需要一个报告，其中包含最近的活动和项目的当前运行状况，以便你可以确定工作优先级。\n\n## 示例提示\n\n```text copy\nSummarize activity in this repository over the past week. Highlight anything that looks blocked or urgent, and suggest what I should prioritize.\n```\n\n## 示例响应\n\n> \\[!NOTE] 以下响应是示例。 Copilot Chat 的回答是不确定的，因此你可能会得到与这里所显示的不同的回答。\n\n```text\nRepository activity summary (past 7 days)\n\nP1 — Urgent\n- CI failing on `main`: the `build-and-test` workflow has been red since commit a1b2c3d (\"Refactor auth middleware\"). Three subsequent PRs are blocked from merging.\n- Security alert: a high-severity Dependabot alert for `lodash` (CVE-2025-12345) is open and unassigned.\n\nP2 — Needs attention soon\n- PR #482 (\"Add OAuth device flow support\") has 2 approvals and passing checks, but has been waiting 4 days for a final sign-off from a code owner.\n- Issue #475 (\"Crash on startup with empty config file\") was reopened after a regression; 5 new comments and a reproduction case were added yesterday.\n\nP3 — Routine\n- 4 new issues opened, mostly minor UI bugs and documentation requests. None are labeled `bug:critical`.\n- 12 commits merged to `main` across 6 PRs, primarily dependency bumps and test cleanup.\n\nSuggested next steps:\n1. Investigate and fix the failing `build-and-test` workflow to unblock merges.\n2. Triage the Dependabot alert and assign an owner.\n3. Review PR #482 so it can ship.\n```\n\n## 延伸阅读\n\n* [GitHub Copilot CLI](/zh/copilot/how-tos/copilot-cli)"}