tasks-explain-diff

作成者: notion

コード変更を説明するリッチなNotionドキュメントを生成します。背景、直感、コードウォークスルー、検証を含む包括的なドキュメントを作成します…

npx skills add https://github.com/makenotion/cursor-notion-plugin --skill tasks-explain-diff

Explain Code Changes

Create a rich explanation of code changes as a new Notion page.

Input

The user will point to code changes to explain. If not explicitly specified, explain the most recent batch of changes made in the conversation.

Document Sections

Background

Explain the existing system relevant to this change:

  • Broadly explore surrounding code for context
  • Include deep background for beginners (can be skipped by familiar readers)
  • Provide narrow background directly relevant to the change

Intuition

Explain the core intuition for the code change:

  • Focus on the essence, not full details
  • Use concrete examples with toy data
  • Use figures and mermaid diagrams liberally

Code

High-level walkthrough of the changes:

  • Group and order changes in an understandable way
  • Explain the purpose of each significant change
  • Link to specific files and line numbers

Verification

Explain how the code change was verified:

  • Unit tests, integration tests, etc.
  • Step-by-step guide for manual QA

Alternatives

Describe 1-2 alternative approaches (if identifiable):

  • Each alternative includes pros and cons
  • Layout pros/cons in 2 columns
  • Only include if it represents an orthogonal approach
  • Omit this section if no meaningful alternatives exist

Quiz

5 questions testing reader's knowledge:

  • Medium difficulty - requires understanding the substance
  • Multiple choice with explanations
  • Use toggle blocks for answers:
1. Question
   > Option 1
     - Explanation for why incorrect
   > Option 2
     - Explanation for why correct

Formatting Guidelines

  • Use the Notion MCP to create the page and return its URL
  • Write with clarity and flow - engaging, classic style
  • Smooth transitions between sections
  • Use consistent diagram families throughout
  • Include callouts for key concepts, definitions, and edge cases

notionのその他のスキル

database-query
notion
Notionデータベースを名前またはIDでクエリし、オプションのフィルターと並べ替えを適用して、構造化された読みやすい結果を返します。
official
find
notion
Notion内のページやデータベースをタイトルのキーワードで素早く検索します。包括的な結果ではなく、正確な一致を返します。
official
create-database-row
notion
指定されたNotionデータベースに、自然言語のプロパティ値を使用して新しい行を挿入します。プロパティ名のマッチングと検証を処理します。
official
create-page
notion
新しいNotionページを作成します。必要に応じて特定の親ページの下に作成します。ページタイプ(ミーティングノート、プロジェクトページなど)に基づいて自動的にコンテンツを構成します。
official
create-task
notion
ユーザーのNotionタスクデータベースに、期日、ステータス、担当者、プロジェクトの適切なデフォルト値で新しいタスクを作成します。
official
knowledge-capture
notion
会話や議論をNotionの構造化されたドキュメントページに変換します。チャットコンテキストから洞察、決定、知識をキャプチャします…
official
meeting-intelligence
notion
Notionからコンテキストを収集し、リサーチで補完して、社内用の事前読み物と社外用のアジェンダを作成し、Notionに保存することで、会議資料を準備します。
official
research-documentation
notion
Notionワークスペース全体を検索し、複数ページからの調査結果を統合して、適切な引用を含む包括的な研究ドキュメントを作成します…
official