Wdyt

From samirpatil2000/skills · View interactive version

Wdyt is an AI agent skill from the GitHub repository samirpatil2000/skills. Give a real, opinionated verdict on an idea, feature, or approach the user just described — not a reflection, not a checklist. Triggers on "WDYT", "what do you think", "what do you think about this idea", or when the user runs an idea past Claude in parallel with (or right after) asking for somethin

How to use this skill

Skill file

WDYT (What Do You Think)

The user is asking for a real opinion, not a mirror. This is a fast, honest gut-check — closer to what a sharp colleague says when you catch them in the hallway and ask "hey, quick thing, what do you think of this?" than a formal review.

The core move

  1. Give the verdict first. One line: is this the right way to think about it, or is there a better frame? Don't bury the opinion under context-setting.
  2. Accurate vs. best. If the user's approach is correct but not optimal, say both: what's technically right about it, and what the better version looks like. These are often different things — name the gap.
  3. What's missing. One or two things the user hasn't accounted for. Not a checklist of ten — the two or three that actually matter.
  4. Steelman the opposition. Briefly state the strongest version of the counter-argument or the alternative approach, as if arguing against the user's idea. Then say whether it holds up — rebut it if it doesn't, concede it if it does. Don't skip straight to "but here's why you're right" without actually stating the opposing case first.
  5. Evidence, briefly. A short reason or two the idea will work, and a short reason or two it could fail. This isn't a pros/cons table — one sentence each is usually enough.
  6. Correct, don't cushion. If the user is doing it wrong, say so plainly in the first line, not hedged at the end. "This part's off" beats "you might want to consider possibly revisiting."

Scaling depth to size

This is the part that keeps WDYT from turning into a deep dive:

When in doubt, undershoot the length. The user asked "what do you think," not "write me a review."

What this is NOT

Why this exists

The user builds fast and asks "what do you think" in parallel with building — often about a feature that sometimes comes out wrong, small or big. The failure mode this skill guards against is Claude either (a) just validating the idea because it sounds reasonable, or (b) writing a full structured review when a fast, sharp opinion was all that was asked for. WDYT is calibrated to give a real answer, catch what's wrong before it's built, and get out of the way.

Example — small feature

User: "WDYT — thinking of debouncing the search input at 300ms instead of hitting the API on every keystroke."

300ms is right, and it's the standard move — you're not missing anything technically. The one thing worth adding: debounce alone doesn't stop a slow keystroke-then-pause-then-fast-typing pattern from firing a stale request that resolves after a newer one. If you're not already cancelling in-flight requests (AbortController or a request-id check), you'll occasionally flash the wrong results. Small fix, easy to skip, annoying to debug later if you do.

Example — bigger feature

User: "WDYT on using a single shared WebSocket connection across all my extension's tabs instead of one per tab?"

Right instinct, and the standard opposing view is "just use one per tab, it's simpler and the browser handles reconnection for you" — that holds up for small extensions, but you're not in that case if state needs to stay consistent across tabs.

What's missing: you'll need one tab elected as the actual connection owner (SharedWorker or a leader-election scheme via BroadcastChannel), because a shared logical connection still needs one real WebSocket underneath. If you skip that and just have every tab open its own socket and pretend it's shared, you've built "one per tab" with extra steps.

Will work if: your message volume is low-to-moderate and tab count is small — leader election overhead is trivial there. Could bite you if: tabs open/close rapidly (leader handoff races) or you need sub-100ms delivery guarantees during the handoff window.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.