tasks-explain-diff

bởi notion

Tạo một tài liệu Notion chi tiết giải thích các thay đổi mã nguồn. Tạo tài liệu toàn diện với bối cảnh, trực quan, hướng dẫn mã nguồn và xác minh…

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

Thêm skills từ notion

database-query
notion
Truy vấn cơ sở dữ liệu Notion theo tên hoặc ID và trả về kết quả có cấu trúc, dễ đọc với bộ lọc và sắp xếp tùy chọn.
official
find
notion
Nhanh chóng tìm kiếm các trang hoặc cơ sở dữ liệu trong Notion theo từ khóa tiêu đề. Trả về kết quả khớp chính xác thay vì kết quả toàn diện.
official
create-database-row
notion
Chèn một hàng mới vào cơ sở dữ liệu Notion đã chỉ định bằng cách sử dụng giá trị thuộc tính ngôn ngữ tự nhiên. Xử lý việc khớp và xác thực tên thuộc tính.
official
create-page
notion
Tạo một trang Notion mới, tùy chọn đặt dưới một trang cha cụ thể. Tự động cấu trúc nội dung dựa trên loại trang (ghi chú cuộc họp, trang dự án, v.v.).
official
create-task
notion
Tạo một tác vụ mới trong cơ sở dữ liệu tác vụ Notion của người dùng với các giá trị mặc định hợp lý cho ngày đến hạn, trạng thái, người sở hữu và dự án.
official
knowledge-capture
notion
Chuyển đổi các cuộc trò chuyện và thảo luận thành các trang tài liệu có cấu trúc trong Notion. Ghi lại những hiểu biết, quyết định và kiến thức từ ngữ cảnh trò chuyện với…
official
meeting-intelligence
notion
Chuẩn bị tài liệu cuộc họp bằng cách thu thập ngữ cảnh từ Notion, bổ sung thông tin nghiên cứu, và tạo cả bản đọc trước nội bộ lẫn chương trình họp bên ngoài, lưu vào Notion.
official
research-documentation
notion
Tìm kiếm trong không gian làm việc Notion của bạn, tổng hợp các phát hiện từ nhiều trang, và tạo tài liệu nghiên cứu toàn diện với trích dẫn phù hợp và…
official