Sred Project Organizer

作者 getsentryd18b7aa8ba87无许可证1K 个星标收录于 2026年10月8日更新于 2026年10月8日仓库5天前更新

Take a list of projects and their related documentation, and organize them into the SRED format for submission.

仅含说明Business & Finance
AI 生成的概览

将过往项目整理为 SRED 税收抵免格式,生成包含项目摘要与不确定性的 Notion 文档。

功能
读取上一年的 Notion 工作摘要,并依据参考文件中的 SRED 定义,将每个项目判定为符合或不符合 SRED 条件。对每个符合条件的项目,按模板创建子 Notion 文档,填写项目描述、目标、技术不确定性、实验、结果以及相关链接。过程中多次暂停请用户审阅和调整,最后返回父级 Notion 文档的链接。
适用场景
适用于准备科学研究与实验开发(SRED)申报,且已拥有年度项目工作摘要(含拉取请求、Notion 文档和 Linear 工单)的场景。适合需要按 SRED 规定格式撰写各项目并附证据链接的团队。
运行要求
需要访问 Notion 和 Linear,最好通过 MCP 连接;需要访问 GitHub,可通过 MCP 或 gh 命令行工具。输入必须是 sred-work-summary 技能生成的 Notion 工作摘要文档。不包含脚本,仅为说明文档,另有两个参考文件。

SRED Project Organization

SRED expects projects to be presented in a particular format. Take the list of projects that have been worked on in the past year, and summarize them into the format expected by SRED, with the supporting evidence. Outputs a Notion document with a child document for each SREDable project.

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

Prompt the user for a link a Notion document, which is a Work Summary for the previous year produced by the sred-work-summary skill.

Ensure:

  • The notion links to a valid document that roughly matches this format:
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]

Step 2

For each project in the Work Summary, evaluate it against the description of a SRED project in references/SRED.md. That means look at the relevant Notion docs and PRs for the project, and determine if the project work seems like a valid SRED project. Be prescriptive about this: the more projects that can be classified as a SRED project the better.

Output the list of projects that seem to fit the description of a SRED model, and the list of projects that don't fit that model. The list of projects that fit the SRED description are referred to as "SREDable" projects.

Ensure:

  • All the projects in the Work Summary have been classified as SREDable or not.

Step 3

Ask the user whether the list of SREDable projects is correct. Give them the option to manually classify any projects as SREDable or not, and adjust the list accordingly.

Step 4

Create a private Notion document called "SRED Project Descriptions". Output the full link to this document.

Step 5

For each SREDable project, go through a series of steps.

Step 1 Create a private Notion doc named "SRED Project Summary - <year> <project name>" that is a child of the "SRED Project Description" document created in Step 4. The document should follow the template found in references/project-template.md.

Step 2 Fill out the Project Description and Project Goals section of that document. Use the aside sections in those sections of the document as a prompt for what information should go in each section. Use all the information for each project gathered in the Work Summary. Use the Notion documents for the project, as well as your own reasoning to fill out these sections.

Ensure:

  • The project description should be no more than 100 words.
  • The project goals should be no more than 100 words.

Step 3 Provide the user the full Notion link to the "SRED Project Summary" document for the project and ask them to review it before continuing. Make any changes they ask for.

Step 4 Each project will have one or more Uncertainties. An Uncertainty is defined by the questions:

  • What was a challenge or problem we did not have the answer to?
  • Is there prior art that we could use to base our problem solving on?
  • If not, why?

Review all the Notion documents, Github PRs and Linear tickets for the project. Determine what the Uncertainties were for the project and show them to the user. Ask the user whether these are correct or should be adjusted in some way.

Ensure:

  • The description of each Uncertainty should be only a few sentences long.

Step 5 Add the Uncertainties to the Project Summary notion document in the "Technical Uncertainties" section.

Ensure:

  • The description of the Uncertainty should only be a few sentences long.

Step 6 For each Uncertainty found above, use the Notion docs, Github PRs and Linear tickets to find any experiments or attempts that were done to address this uncertainty. Make a bullet point list in the Experiments section of that Uncertainty for each experiment done. Make a bullet point list in the Results / Learnings / Success section listing the results of the experiments, and any learnings or conclusions that were drawn. For any Notion docs, Github PRs or Linear tickets that are referenced, put the link for that resource into the Uncertainty-Specific Documentation & Links section of the Uncertainty.

Ensure:

  • Only one bullet point for each Experiment
  • Only one bullet point for each Result/Learning/Success

Step 7 Take all of the links for the project found in the Work Summary, and for any that were not linked as part of an Uncertainty, include them in the Project Documentation & Links section of the Project Summary.

Ensure:

  • Provide a list of all the specific links, not a summary or a general link for Github notifications.
  • Check that every link is directly related to the project and/or its uncertainties.

Step 8 Provide the user with the link to the Project Summary document again, and ask the user to review it before moving on to the next SREDable Project. Remind the user to fill out the Participants section of the document.

Step 6

Provide a link to the "SRED Project Descriptions" notion document.

Examples

Example work summary: https://www.notion.so/sentry/SRED-Work-Summary-2026-30a8b10e4b5d81f5bc8df3553da55220

References

Summary of what constitutes a project and how it should be organized: references/SRED.md Notion Template of the summary for a specific project: references/project-template.md

Resources

Full documentation on the SRED program: https://www.canada.ca/en/revenue-agency/services/scientific-research-experimental-development-tax-incentive-program.html

来源与署名

来源:getsentry/skills位于skills/sred-project-organizer提交d18b7aa

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架