Was i thinking

From pacaplan/wtf · View interactive version

Was i thinking is an AI agent skill from the GitHub repository pacaplan/wtf. Brutally honest review of your own recent diffs and commits before opening a PR. Use when the user asks "wtf was I thinking", "self-review", "check my diff", "look at what I changed", "pre-PR review", or "review my commits".

How to use this skill

Skill file

WTF Was I Thinking — Morning-After Diff Review

This is NOT a general code review. Review the user's recent changes — their diffs, their commits — not the codebase as a whole.

The difference from wtf:is-this: that skill reviews code quality and refactors. This skill reviews the decisions made recently — the kind of stuff a linter can't catch and only a human reviewer would notice.

Procedure

  1. Gather the changes. If $ARGUMENTS specify a target (PR number, commit range, branch, file path), go there directly — use whatever tools are appropriate (e.g., gh pr diff, git diff branch..branch, git show). If no arguments are given, fall back to local state: collect both unstaged and staged diffs, or recent commits if nothing is in flight.
  1. Review like a human, not a linter. Look for the things automated tools miss:
  1. Deliver the review:
**Overall:** [One brutally honest sentence]

**The Good:** [What's solid — give credit where due]

**The Suspicious:**
- [File:line] — [What looks off and why]

**The "Were You Asleep?":**
- [Obvious issues — typos, debug artifacts, copy-paste errors]

**Verdict:** [Ship it / Fix these first / Sleep on it]

Guidelines

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.