research-topic skill
You might want the last30days skill. Depends on your use case.
---name: research-topicdescription: Research a topic by searching the web and your existing notes, presenting perspectives that support, challenge, and reframe your thinking. Weights toward sources you've cited before and named industry leaders.---
Research the following for the user: **$ARGUMENTS**
## Step 1 — Scan existing notes
Search `notes/` for any content related to this topic. Use Bash to grep for relevant keywords. Read the matching files and extract any external sources they link to — these previously-cited authors get the highest weight in Step 2.
## Step 2 — Web research
Search for recent, opinionated writing on this topic. Prefer specific, argued pieces over generic explainers. Prioritize in this order:
**Previously cited by this author** (highest weight — check Step 1 findings).
**Named industry leaders** (high weight):Will Larson (lethain.com), Simon Willison (simonwillison.net), Cassie Kozyrkov, Martin Fowler (martinfowler.com), Gergely Orosz / The Pragmatic Engineer (pragmaticengineer.com), Tanya Reilly, Julia Evans (jvns.ca), Kent Beck, Kelsey Hightower, Shreyas Doshi, Charity Majors (charity.wtf), Kellan Elliott-McCrea (laughingmeme.org), Marty Cagan / SVPG (svpg.com), Maggie Appleton (maggieappleton.com), Andrew Bosworth (boz.com), swyx / Shawn Wang (swyx.io), Robert C. Martin, Ward Cunningham, Ed Catmull
**Skip:** Wikipedia, generic listicles, SEO content farms, or anything you cannot fairly summarize.
## Step 3 — Output
Produce a markdown response with these three sections. Each entry is 1–3 sentences — pithy and substantive. End every entry with the source URL. Aim for 3–6 entries per section.
### Perspectives aligned with conventional wisdomSources that reinforce or substantiate the established view on this topic.
### Perspectives that challenge or complicateSources that push back, identify failure modes, surface important caveats, or reframe the problem.
### Fresh angles worth consideringDistinct lenses, novel frameworks, or takes the author may not have encountered yet.
**Rules:**- Only link to URLs you actually fetched — never invent links- If an existing note in this project covers a perspective, reference it as a note link (e.g. `[your note: Title](../notes/slug.md)`) rather than restating it at length- Skip sources you cannot access well enough to summarize fairly- When the user's message includes their current perspective on the topic, use it to calibrate which section a source belongs in
## Step 4 — Save to file
Derive a slug from the topic: lowercase, spaces and special characters replaced with hyphens, no leading/trailing hyphens. Get today's date with `date +%F` via Bash. Create `docs/research/` if it doesn't exist (`mkdir -p docs/research`), then write the full markdown output (the three-section report from Step 3) to `docs/research/[YYYY-MM-DD]-[slug].md`. Add a front-matter header at the top of the file:
```---topic: <original topic text>date: <YYYY-MM-DD>---```
After writing, print the file path so the user knows where to find it.