For Sure — Best Practice Finder
Find the current, recognized best practice for a given subject — backed by real sources.
How It Works
-
Identify the subject: Use the argument provided (e.g.
/for-sure error handling in TypeScript). If no argument, look at the current conversation context. -
Search for the best practice: Use WebSearch to find what authoritative sources recommend right now:
- Official documentation (React docs, MDN, language specs)
- Reputable engineering blogs (Vercel, Google, Netflix, Airbnb engineering)
- Conference talks from recognized experts
- Well-known books or style guides
- RFCs or design documents
-
Prefer recent sources: Best practices change. Prioritize sources from the last 1-2 years over older ones. If the best practice has recently shifted, mention what changed and why.
-
Respond with a structured answer:
Response Format
Subject: [the topic]
Best Practice: [clear, actionable description of what to do]
Why: [1-2 sentences on why this is the recommended approach]
Sources:
- Source 1 title — brief note
- Source 2 title — brief note
- Source 3 title — brief note
Watch out: [common mistakes or outdated advice people still follow for this topic]