# 分类整理并汇总存储库活动

Copilot 可以从你关注的存储库中提取关键信息，帮助你及时了解最近的活动。

GitHub Copilot CLI 可帮助你汇总存储库中的所有最近活动。               Copilot CLI 将查找有关问题、拉取请求、提交、CI 运行状况和安全通知的信息，你可以要求它在报告中汇总这些信息。

## 示例方案

你离开一周后继续使用存储库，需要跟进最新进展。 需要一个报告，其中包含最近的活动和项目的当前运行状况，以便你可以确定工作优先级。

## 示例提示

```text copy
Summarize activity in this repository over the past week. Highlight anything that looks blocked or urgent, and suggest what I should prioritize.
```

## 示例响应

> \[!NOTE] 以下响应是示例。 Copilot Chat 的回答是不确定的，因此你可能会得到与这里所显示的不同的回答。

```text
Repository activity summary (past 7 days)

P1 — Urgent
- 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.
- Security alert: a high-severity Dependabot alert for `lodash` (CVE-2025-12345) is open and unassigned.

P2 — Needs attention soon
- 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.
- Issue #475 ("Crash on startup with empty config file") was reopened after a regression; 5 new comments and a reproduction case were added yesterday.

P3 — Routine
- 4 new issues opened, mostly minor UI bugs and documentation requests. None are labeled `bug:critical`.
- 12 commits merged to `main` across 6 PRs, primarily dependency bumps and test cleanup.

Suggested next steps:
1. Investigate and fix the failing `build-and-test` workflow to unblock merges.
2. Triage the Dependabot alert and assign an owner.
3. Review PR #482 so it can ship.
```

## 延伸阅读

* [GitHub Copilot CLI](/zh/copilot/how-tos/copilot-cli)