daily-digest
Note: If you have
mcporterinstalled locally, you should usemcporterto invoke the MCP tool instead of directly calling the MCP tool. ThemcporterCLI provides a more convenient interface and better error handling.
Daily Digest via Gitee MCP
Aggregate unread notifications, pending PRs, and open Issues from Gitee to generate a daily work summary.
Prerequisites
- Gitee MCP Server configured (tools:
list_user_notifications,list_repo_pulls,list_repo_issues,get_user_info) - Optional: user can provide a list of repositories to focus on (otherwise inferred from notifications)
Steps
Step 1: Get Current User Info
Use get_user_info to retrieve the currently authenticated user's information, used for filtering (e.g., only show tasks assigned to me).
Step 2: Fetch Unread Notifications
Use list_user_notifications to get recent notifications:
- Filter for unread notifications
- Categorize by type: PR-related, Issue-related, @mentions, comment replies
Step 3: Fetch Pending PRs
For repositories the user cares about (extracted from notifications or specified by the user), use list_repo_pulls:
- Filter for
state=openPRs - Focus on:
- PRs assigned to me for review
- My own PRs waiting for review
- PRs with new comments that need a reply
Step 4: Fetch Open Issues
Use list_repo_issues:
- Filter for
state=openIssues assigned to me - Filter for open Issues I created
Step 5: Generate Daily Digest
# Daily Work Digest
📅 [date] 👤 [username]
---
## 📬 Unread Notifications ([N])
### @Mentions
- [repo] [Issue/PR title] - [notification summary]
### PR Comments
- [repo] PR #N [title] - [comment summary]
### Issue Updates
- [repo] Issue #N [title] - [update summary]
---
## 🔀 Pending PRs
### Needs My Review
| Repo | PR | Author | Updated |
|------|----|--------|---------|
| [repo] | #N [title] | [@author] | [time] |
### My PRs Awaiting Review
| Repo | PR | Status | Updated |
|------|----|--------|---------|
| [repo] | #N [title] | [Awaiting review / Has new comments] | [time] |
---
## 📋 My Open Issues
| Repo | Issue | Priority | Status |
|------|-------|----------|--------|
| [repo] | #N [title] | P1 | In progress |
---
## Today's Suggestions
**Handle first:**
1. [Most urgent item, e.g., a review request blocking someone else]
2. [Second priority item]
**Can defer:**
- [Low priority items]
If there is nothing pending:
# Daily Work Digest
📅 [date]
All clear! No pending PRs, Issues, or unread notifications.
Notes
- The digest focuses on information aggregation, not deep analysis
- If there are many repositories, prioritize time-sensitive items
- Notifications may span multiple repositories — group them clearly
More from oschina/gitee-agent-skills
repo-explorer
Use this skill when the user asks to explore a repository, get familiar with a project, "repo explorer", "tell me about this repo", "repo-explorer", "what does this repository do", or wants an overview of a Gitee repository. Requires Gitee MCP Server to be configured.
71review-pr
Use this skill when the user asks to review a PR, do a code review, check a pull request, "review this PR", "review-pr", or "look at this pull request". Requires Gitee MCP Server to be configured.
61create-pr
Use this skill when the user asks to create a PR, open a pull request, "create-pr", "submit a pull request", or "open a merge request". Requires Gitee MCP Server to be configured.
57close-issue-flow
Use this skill when the user asks to close an issue, wrap up an issue, "close issue", "close-issue-flow", or finish up after a fix has been merged. Requires Gitee MCP Server to be configured.
55search-and-fork
Use this skill when the user asks to search for and fork an open source repository, "find me an open source project", "search and fork", "search-and-fork", "find a similar project on Gitee", or "fork a repository". Requires Gitee MCP Server to be configured.
54merge-pr-check
Use this skill when the user asks to merge a PR, check if a PR is ready to merge, "merge PR", "can this PR be merged", "merge-pr-check". Requires Gitee MCP Server to be configured.
44