Skip to main content
skill CX Codex

sred-work-summary — Claude Code skill for Notion summaries

Collects GitHub PRs, Notion pages, and Linear issues from a work period, then groups their links into projects in a private Notion document. Useful for preparing an SRED work summary.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add getsentry/skills --skill sred-work-summary -a claude-code
Open on GitHub

What sred-work-summary does

The skill gathers PRs by a GitHub user from selected repositories in the getsentry organization, Notion pages they created, and Linear issues assigned to them. It creates a private Notion page titled “SRED Work Summary [current year]” and sorts the collected links into projects. PR and issue titles and descriptions, along with the full text of Notion pages, inform the grouping.

GitHub, Notion, and Linear access must be available first. Notion and Linear use MCP connections; GitHub can use MCP or the gh CLI. The skill asks for a GitHub username, repositories, and whether to include incident documents. Its search window runs from February 1 of the previous year through January 31 of the current year. If a page with the target title already exists, the process stops until it is renamed. Every found link is kept in the document rather than replaced with a shortened list.

What it helps with

  • gather a user’s PRs from selected getsentry repositories for a work period
  • combine Notion pages and Linear issues in one project summary
  • organize work links by project in a private Notion page
  • include relevant Notion pages created by other users

Example prompts for the agent

  • Create my SRED work summary in Notion for the specified work period.
  • Find my PRs in these getsentry repositories and group them with Linear issues by project.
  • Include incident documents and look for related Notion pages created by other users.

How to install sred-work-summary

1Skills CLI (Vercel)

npx skills add getsentry/skills --skill sred-work-summary -a claude-code

2Manually: put the files in place

~/.claude/skills/sred-work-summary/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/sred-work-summary/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about sred-work-summary

How do I install sred-work-summary in Claude Code?

Run npx skills add getsentry/skills --skill sred-work-summary -a claude-code. The skill file is at ~/.claude/skills/sred-work-summary/SKILL.md.

What does sred-work-summary do?

It collects links to GitHub PRs, Notion pages, and Linear issues for a work period, groups them by project, and creates a private Notion summary.

Which services need access for sred-work-summary?

The skill needs GitHub, Notion, and Linear access. Notion and Linear connect through MCP; GitHub can use MCP or the gh CLI.

Source text

SKILL.md · Apache-2.0
---
name: sred-work-summary
description: 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.
---

# 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.

## 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

```bash
# 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:

```bash
# 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.

```markdown
# 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]
- [link] - [Creation date]

### Linear Tickets [X]
- [link] - [Creation date]
```

For Github PRs, use both the title of the PR and the description of the PR for grouping.
For Notion documents, use the full document for grouping.
For Linear tickets use the title of the ticket and the description of the ticket.

Ensure:
- All the links in the file are assigned to a project.
- The file follows the format specified above.
- 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 7

Search for notion documents created by the "other users". Take any that are relevant to the projects in the Work Summary and add links to those Notion documents into the Work Summary in the appropriate project.

### Step 8

Return a link to the Work Summary Notion doc to the user.

Ensure:
- The actual Notion document link is in the final output.

## Resources

This is an example Working Summary document for the year 2025: https://www.notion.so/sentry/Work-Summary-Feb-2025-Jan-2026-3068b10e4b5d81d3a40cfa6ad3fe1078?source=copy_link

© getsentry · Apache-2.0 · getsentry/skills

Similar skills

All skills for Notes, tasks and projects →

From the same set23

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor