All skills
cursor avatar
by cursorcursor/plugins9.1k stars
857

Use for 'why does X work this way', 'why we picked Y', design rationale, regressions, postmortems, or data-backed thresholds. Discovers available MCPs and queries each evidence category (source control, issue tracker, long-form docs, real-time chat, infrastructure observability, error tracking, product analytics warehouse) in parallel, then returns a cited read on decisions and tradeoffs. Use how for runtime behavior.

Use this Skill: https://skilld.dev/gh/cursor/plugins/why

This session only. Nothing lands on disk.

referencessourcesnotion.md

≈714 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Notion Docs

What this source contains

  • PRDs (product requirement documents)
  • Technical specs and RFCs
  • Architectural decision records (ADRs)
  • Meeting notes from design reviews
  • Team pages with domain context
  • Postmortems from incidents
  • Runbooks that may explain defensive code
  • Strategy documents that set priorities

Notion is where "why" often lives in long-form before it becomes code. A significant feature usually has a doc.

How to search it

Use the Notion MCP.

  1. Keyword searches with notion-search. Try:
    • The feature name
    • Key symbols / class names from the target code
    • Author handles (design docs are often authored before the code lands)
    • Error strings or user-visible terms
    • Time-bounded queries if you know when the code shipped
  2. Fetch candidate pages with notion-fetch. Read the full content, not the preview. Rationale is often buried mid-document.
  3. Follow backlinks and child pages. Design docs often have sub-pages for alternatives considered, appendices, or implementation notes.
  4. Check related databases. notion-query-data-sources and notion-query-meeting-notes can surface meeting notes that discussed the decision.
  5. Search author-specific spaces. If the PR author has a personal notebook (common at some companies), it may hold exploratory thinking that preceded the code.

What good evidence looks like here

  • A PRD with a "Problem statement" or "Motivation" section that matches the target code's purpose
  • An "Alternatives considered" or "Rejected approaches" section
  • A postmortem that names the target code as the fix for a specific incident
  • Meeting notes that record "we decided X because Y" and tie to the same author/date range as the PR
  • An ADR template filled out non-trivially (status, context, decision, consequences)

Common pitfalls

  • Outdated docs. Specs are often written before implementation and not updated. The doc may describe a plan that changed. Cross-check against the actual PR.
  • Doc vs. reality drift. A spec may say "we'll do X" but the code actually does Y. Flag the divergence. The synthesizer will surface the contradiction.
  • Boilerplate templates. Some orgs require a "Why" section that gets filled with fluff. Look for specificity.
  • Unlinked docs. The most relevant doc may not be linked from anywhere. Broad keyword searches help.
  • Multiple drafts. If a topic has multiple docs, find the one that was finalized or most recently updated. Check dates.
  • Access-restricted pages. If you can't access a page, note it as a gap.

What to return

For each relevant doc:

  • Title and URL
  • Authors and last-updated date
  • The motivation text (verbatim quote), with page/section location
  • Relevant linked pages (so the synthesizer can cite them)
  • Whether the doc was finalized or draft

Source: SKILL.md on GitHub

1 warning7d3 checks · Risk SAFE
  • Gen Agent Trust Hub7d

    The skill is a professional investigative tool designed to analyze the rationale behind code by aggregating data from various engineering tools. It is categorized as low risk due to the potential for indirect prompt injection from the diverse data sources it processes.

  • Socket7d

    No alerts

  • Snyk7d

    Risk: MEDIUM · 1 issue

Signed by skilld at 12d587d. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated last week
disable-model-invocation
true

README badge

README badge for cursor/plugins/why