agent-doc-discipline
Writing-time discipline for documents agents consume (the five surfaces, specs, tickets, .omc/skills/) — every rule checkable and…
Investigate why code is the way it is from evidence — human rulings verbatim, git archaeology, linked issues, incident records — every claim labeled evidence, inference, or guess. For 'why was this built this way'.
Claude Code
$ npx -y skills add Yeachan-Heo/oh-my-claudecode --skill why --agent claude-code
Codex
$ npx skills add Yeachan-Heo/oh-my-claudecode --skill why -a codex -y
Cursor
$ npx skills add Yeachan-Heo/oh-my-claudecode --skill why -a cursor -y
Gemini CLI
$ npx skills add Yeachan-Heo/oh-my-claudecode --skill why -a gemini-cli -y
GitHub Copilot
$ npx skills add Yeachan-Heo/oh-my-claudecode --skill why -a github-copilot -y
OpenCode
$ npx skills add Yeachan-Heo/oh-my-claudecode --skill why -a opencode -y
Windsurf
$ npx skills add Yeachan-Heo/oh-my-claudecode --skill why -a windsurf -y
name: why
description: "Investigate why code is the way it is from evidence — human rulings verbatim, git archaeology, linked issues, incident records — every claim labeled evidence, inference, or guess. For 'why was this built this way'."
aliases: []
metadata:
credits:
investigation-epistemics: pstack
author: Lauren Tan
url: "https://github.com/cursor/plugins/tree/main/pstack"
port: pstack-claude
port-author: Michael Denyer
port-url: "https://github.com/michael-denyer/pstack-claude"Answer "why is it like this?" from evidence, not vibes. The deliverable is a cited answer, not a fix; a fix that falls out of the answer goes through its own lane.
1. **Human rulings.** A decision a person made is quoted verbatim with attribution (commit message, issue comment, PR review, chat log). Never paraphrase a ruling into your own words; label agent interpretations as interpretations, and missing originals as missing. A copy of a ruling is not a new decision. 2. **Code archaeology.** `git log --follow`, `git log -S`, blame on the deciding lines, and the diff that introduced them. Name the commit and what problem its message claims to solve. 3. **Linked records.** Issues and PRs reachable from the code (references in commit messages, `gh issue list --state all --search`, PR review threads) — acceptance criteria and rejected alternatives live here. 4. **Incident and observability sources.** When configured, query them through their own tools (Sentry, Datadog, Databricks, dashboards, incident postmortems) or MCP servers (Slack, Linear, Notion). Cite the alert, thread, ticket, or postmortem. If a source needs credentials you do not have, say so and move on.
1. State the question and what would count as an answer. 2. Fan out source gathering to a read-only subagent when the history is long (`oh-my-claudecode:explore`); keep synthesis in the lead. 3. Reconcile: where sources conflict, the more authoritative source wins, and the conflict itself is reported. 4. Write the answer with three labeled tiers — **evidence** (cited), **inference** (your reasoning from evidence, marked), **guess** (marked). End with the one action the answer most supports, or "no action".
`execute` or `debug`.
For Codex users: Check out oh-my-codex — the same orchestration experience for OpenAI Codex CLI. Liked OmC but found it a bit overkill? Try gajae-code.
Writing-time discipline for documents agents consume (the five surfaces, specs, tickets, .omc/skills/) — every rule checkable and…
Clean AI-generated code slop with a regression-safe, deletion-first workflow and optional reviewer-only mode
Settle types and module shape before cross-boundary code — competing designs explored in parallel, compared on API surface and…
Periodic architecture survey — walks the module graph and reports ranked deepening candidates (shallow modules, hypothetical…
Run N parallel candidates at one brief and synthesize: rubric-first framing, isolated fan-out, a cross-judge on a different…
Shipyard's navigator — chart a foggy effort (destination unclear, questions not yet stateable) into a map of decision tickets on…
Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…
Create a new Architecture Decision Record with sequential numbering and AgentDB registration