跳到正文
Skillpedia
技术文档48k · #5852

sred-work-summary

它能做什么

这个工具用于整理你过去一年的工作内容。它会从代码(GitHub)、笔记(Notion)和任务(Linear)中收集相关链接,将它们归到各个项目下,并在 Notion 中生成一份包含全部内容的文档。

适用场景

  • ✓需要为撰写报告汇总一整年的工作内容时。
  • ✓想在描述具体项目之前,先整理好笔记和任务时。
  • ✓需要从 GitHub、Notion 和 Linear 中为某个时间段收集信息,又不想手动翻找时。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/sred-work-summary/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/sred-work-summary/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“帮我总结过去一年的工作:把我的 GitHub PR、Notion 文档和 Linear 工单按项目归类。”

每周 5 个新技能,1 分钟读完。

工作原理

工具会收集你过去一年的代码链接、笔记和任务,然后按项目分组,把所有内容放进一份私密的 Notion 文档里,并把文档链接告诉你。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

SRED Work Summary

Collect all the Github PRs, Notion docs and Linear tickets a person completed in a given year. Group the links from all of those into projects. Put everything into a private Notion document and return a link to that document.

When to Use

  • You need to gather a year's worth of PRs, Notion docs, and Linear tickets into project groupings for SRED preparation.
  • The task is to build the upstream Notion work summary before writing individual SRED project descriptions.
  • You need a repeatable collection workflow across GitHub, Notion, and Linear for a fixed time window.

Prerequisites

Before starting make sure that Github, Notion and Linear can be accessed. Notion and Linear should be connected using an MCP. Github can be connected with an MCP, but if you have access to the gh CLI tool, you can use that instead.

If any of these can't be accessed, prompt the user to grant access before proceeding.

Process

Step 1

# Get the current year
date +%Y

The output of this command is the current year. The current year minus one is the previous year.

Step 2

Collect all of the required information from the user:

Github Username: What is the github username of the user?

Github Repositories: Which Github repositories should be searched for PRs?

The user can either specify a comma separated list, or provide a directory that contains repositories. In the second case use this command in the specified directory:

# Find github repos
find . -maxdepth 2 -name ".git" -type d | sed 's/\/.git$//' | sort

Ensure:

  • All the repositories listed are in the getsentry Github organization.

The output of this is hereafter referred to as the "user repos".

Incidents: Ask if the user wants to include incident documents.

The answer is either yes or no. If the answer is no, that will exclude certain documents from the search later on.

Other Users: Ask if there are any other users who might have created Notion documents.

This should be a comma separated list of names. Remember this as the "other users".

Step 3

Create a private Notion document entitled "SRED Work Summary [current year]". This document will be referred to as the Work Summary.

If a document with this name already exists, notify the user to rename the existing document and stop executing.

Ensure:

  • If the Work Summary already exists, stop execution.

Step 4

The time window is Feb. 1 of the previous year until Jan. 31 of the current year Find all Github PRs created by the given github username in the time window for the user repos. If the user does not want to include incident documents, ignore any Github PRs with INC-X, inc-X in the title or description. Use either the Github MCP or the gh command to do this.

Find all the Notion documents the user created in the time window. If the user does not want to include incident documents, ignore any Notion Documents with INC-XXXX in the title. Use the Notion MCP to do this.

Find all the Linear tickets the user was assigned in the time window. If the user does not want to include incident documents, ignore any Linear tickets with INC-XXXX in the title. Use the Linear MCP to do this.

Ensure:

  • All the Github PRs were created or merged in the time window and was opened by the user.
  • All the Notion docs were created in the time window and were created by the user.
  • All the Linear tickets were opened or completed in the time window and were assigned to the user when they were completed.

Step 5

For each of the Github PRs, Notion documents and Linear tickets found in Step 4, put a link into the private document created in Step 3.

Ensure:

  • There is a link for all the Github PRs in the Work Summary
  • There is a link for all the Notion docs in the Work Summary
  • There is a link for all the Linear tickets in the Work Summary
  • DO NOT truncate the lists of links. DO NOT use shorteners like "...and 75 more". Make sure that the full set of all Github PRs, Notion documents and Linear tickets is visible in the document.

Step 6

Use your own intelligence to group all the Github, Notion and Linear ticket links in the Work Summary document into projects. The format of this document is shown below.

# Projects

## [Project Name]
*Summary*: [X] PRs, [X] Notion docs, [X] Linear tickets

### Pull Requests [X]
*[repository name]
[Links to all the PRs]
- [link] - [Merge date]

### Notion Docs [X]
[Links to all the Notion docs]

…
常见问题

什么是 SRED?

SRED 是科学研究与试验发展(Scientific Research and Experimental Development)的缩写。这份工作总结可以帮助记录那些可能符合税收抵免条件的项目所做的工作。

我需要先连接好 Notion、GitHub 和 Linear 吗?

需要。工具需要访问这些平台,通常通过一种叫 MCP 的连接方式实现。如果你使用 GitHub 的 `gh` 工具,也可以正常工作。

如果已经存在同名文档会怎样?

工具会提醒你先重命名已有的文档,然后再继续操作,以避免冲突。

详情

作者的原始描述

Go back through the previous year of work and create a Notion doc that groups relevant links into projects that can then be documented as SRED projects.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#5852
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能