Best-practice research workflow

Collects practice from four channels (community posts, official docs, research, precedents) with the original text attached.

#Claude Code#best practices#Hacker News#Reddit#primary sources
Four-channel research skill

WorkflowFour-channel research skill

Research Claude Code skill

Researches the best practices for a topic through four channels at once: community complaints, official docs, academic evidence and precedents. Original Hacker News and Reddit threads are archived verbatim in a searchable form, and the write-up flags where sources contradict each other.

Challenge

  • Web search alone mostly turns up blogs quoting blogs, with the concrete details from people who actually failed polished away
  • When sources disagree, the summary smooths them into one tidy conclusion, hiding the differing assumptions behind each

Approach

  • First check which channels are working, then turn the topic into three sets of English search terms: the jargon, the words people use when complaining, and the shapes of failure
  • Search the community, official, academic and precedent channels in parallel, and always look for counter-evidence
  • Original Hacker News and Reddit threads are saved as whole pages, turned into verbatim Markdown with an index, and kept greppable for later

Outcome

  • Every conclusion carries a confidence tag: agreed by several sources, single source, contradictory, or title only, with verbatim quotes and links
  • The archived threads stay on disk, so later research can go back to the original wording

When you want to know how others do something, the most useful evidence is the line someone wrote right after things went wrong. You find it in Hacker News comments and Reddit threads, not in tidy summary posts.

This skill puts the community channel first and makes keeping the original wording a hard rule. The write-up lays out evidence and disagreements; the judgement is left to the reader.

The full workflow

TaskWhoInputsOutputs
1. Pose topicAuthorhuman—Topic
2. Probe channelsHN searchhackernews MCPTopicChannel status
3. Build termsMain sessionTopic, Refers to Channel statusSearch terms ×3
4. Docs + researchDocs searchcc-doc-searchSearch terms ×3Docs + papers
5. Find threadsArchive scriptcommunity_archive.pySearch terms ×3Thread links
6. Archive threadsArchive script + Page grabbercommunity_archive.py + grab.sh (SingleFile)Thread linksVerbatim archive
7. Write reportMain sessionVerbatim archive, Docs + papersResearch report
Four-channel research skill

7 steps · 4 channels · 104 threads kept verbatim over 3 studies so far · 1,315 Reddit comments

Bring back, word for word, what people wrote right after things went wrong; lay out evidence and disagreements, not a verdict.

  • The person only supplies the topic; steps 2–7 run inside the skill, in the main session
  • Searches of official docs and papers run in parallel with the HN and Reddit searches
  • A script saves each community thread as a whole page and turns it into greppable verbatim Markdown
  • No report is finished without counter-evidence; searching stops after two rounds on a channel bring nothing new

Project folders involved (3)

This workflow does not live in one folder: it runs across projects.

~/.claude/skills/best-practice-research
The core: the procedure and the archive script
~/.claude/skills/singlefile-mirror
A separate skill that saves a page as one file; the archive script calls it
(private) research folders x3
Three private project folders (equipment, video work, code as a knowledge base), each keeping the archive next to its report
Pose topic

Step 1 · Author

Pose topictopic

State the topic in one line.

  • When in a hurry it can be narrowed to the community and official channels
  • Topics English sources cannot answer (local regulation, publishing) add Chinese-language communities
  • It promises no verdict; the judgement stays with the reader
OutputsTopic
Probe channels

Step 2 · HN search

Probe channelschannel probe

Before searching, run a tiny probe to see which channels work today.

  • Channel status changes; the old Reddit interface started requiring a login partway through
  • A dead channel is written at the top of the report, so found nothing is never read as nobody discussed it
  • When the HN MCP is not loaded, the same script fetches through the public search API instead
InputsTopic
OutputsChannel status
Build terms

Step 3 · Main session

Build termsterms

Turn the topic into three sets of English search terms.

  • Jargon, the words people use when complaining, and the shapes of failure
  • X best practices returns marketing; X mistakes, regret or postmortem return real experience
  • The terms are written into the report so the search can be repeated
InputsTopic
OutputsSearch terms ×3
Refers toChannel status
Docs + research

Step 4 · Docs search

Docs + researchWebSearch

Search official docs, research and precedents in parallel.

  • For product behaviour only the official docs count, and the local mirror of them is searched first
  • Teaching and learning topics always get one pass through cognitive-science literature, which does not go stale
  • Precedents mean repositories and book contents that already exist
InputsSearch terms ×3
OutputsDocs + papers
Find threads

Step 5 · Archive script

Find threadssearch

Find the threads where HN and Reddit actually discuss it.

  • Reddit is searched without its API: the results page itself is saved and the links pulled out
  • When the site's own search is blocked it switches automatically to an outside search engine restricted to the site
  • HN is searched again for comments alone, because that is where the experience is

Common misconceptionA blocked search is not a reason to stop: individual thread pages can still be fetched

InputsSearch terms ×3
OutputsThread links
Archive threads

Step 6 · Archive script + Page grabber

Archive threadsgrab

Save each thread as a whole page, then turn it into verbatim Markdown and an index.

  • Each comment keeps its author, score, depth, time and permanent link
  • One study produced 300MB of HTML, so the raw pages stay out of Git and only Markdown and the index go in
  • Collapsed replies cannot be fetched, and the report says so
InputsThread links
OutputsVerbatim archive
Write report

Step 7 · Main session

Write reportreport

Write a report that lays out the evidence and the disagreements.

  • Quote blocks are verbatim, body text is the author's judgement; anything known only from a snippet is marked as a paraphrase
  • Each conclusion carries a confidence tag: agreed, single source, contradictory or title only
  • What failures have in common always gets its own anti-pattern section

Common misconceptionBlend disagreements into one tidy conclusion and the most valuable finding, the hidden assumption, disappears

InputsVerbatim archive, Docs + papers
OutputsResearch report

Loops and rework

  • Not enough counter-evidence, or new information still appearing → step 5: Search again with failure words; stop after two rounds on a channel bring nothing new

Key points

Check the channels before searching. Their status changes over time, so each run starts with a small probe. If a channel is down, the write-up says so at the top, so that found nothing is never mistaken for nobody discussed it.

Search with the words of complaint. X best practices returns marketing; X mistakes, regret using X or postmortem returns real experience. What the failures have in common always goes into a list of anti-patterns.

Never blend disagreements. When sources contradict each other they are not merged; the write-up names who disagrees with whom and on what assumptions, because that assumption is often the real finding.