agent-doc-discipline
Writing-time discipline for documents agents consume (the five surfaces, specs, tickets, .omc/skills/) — every rule checkable and…
Design a rigorous bespoke playbook for a task no bundled skill fits — steps that each end in a check, verification commands, failure branches — stored where the checker validates and anchor-validated. For recurring unusual task shapes.
Claude Code
$ npx -y skills add Yeachan-Heo/oh-my-claudecode --skill figure-it-out --agent claude-code
Codex
$ npx skills add Yeachan-Heo/oh-my-claudecode --skill figure-it-out -a codex -y
Cursor
$ npx skills add Yeachan-Heo/oh-my-claudecode --skill figure-it-out -a cursor -y
Gemini CLI
$ npx skills add Yeachan-Heo/oh-my-claudecode --skill figure-it-out -a gemini-cli -y
GitHub Copilot
$ npx skills add Yeachan-Heo/oh-my-claudecode --skill figure-it-out -a github-copilot -y
OpenCode
$ npx skills add Yeachan-Heo/oh-my-claudecode --skill figure-it-out -a opencode -y
Windsurf
$ npx skills add Yeachan-Heo/oh-my-claudecode --skill figure-it-out -a windsurf -y
name: figure-it-out
description: "Design a rigorous bespoke playbook for a task no bundled skill fits — steps that each end in a check, verification commands, failure branches — stored where the checker validates and anchor-validated. For recurring unusual task shapes."
aliases: []
metadata:
credits:
bespoke-playbook: 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"No bundled skill fits every task. This skill designs the playbook that does fit — once, rigorously — and leaves it behind as a validated, rerunnable artifact.
unusual monorepo, a compliance sweep, a data backfill dance)
rather than improvisation
1. **Objective**: one sentence, executable by a stranger with no chat access. Name the deliverable and the done-check. 2. **Steps**: decompose until each step ends in a check a command can verify. A step whose exit cannot be checked is two steps, or a guess. 3. **Verification**: for each step, the exact command and the expected observable. For the whole playbook, the final evidence that says done. 4. **Failure handling**: for each step, what to do when its check fails — retry, rollback, or stop-and-report. Improvisation under failure is where playbooks die; write the branch. 5. **Dry-run** the playbook once end to end on the real task, fixing the playbook where reality disagreed, not the other way around.
Resolve the checker and the playbooks directory it validates first — from a target project the script does not exist at `./scripts/`, ordinary launches may leave both plugin-root variables unset, and `OMC_STATE_DIR` or a parent `.omc-workspace` can redirect OMC state away from the checkout's literal `.omc/`:
checker="${CLAUDE_PLUGIN_ROOT:-${OMC_PLUGIN_ROOT:-}}/scripts/check-omc-playbooks.mjs"
if [ ! -f "$checker" ] && omc_bin="$(command -v omc 2>/dev/null)"; then
# Portable realpath: BSD readlink has no -f, so resolve through cd/pwd -P.
bin_dir="$(dirname "$omc_bin")"
bin_dir="$(cd "$bin_dir" && pwd -P)"
for d in "$bin_dir" "$bin_dir/.." "$bin_dir/../.." "$bin_dir/../../.."; do
if [ -f "$d/scripts/check-omc-playbooks.mjs" ]; then checker="$d/scripts/check-omc-playbooks.mjs"; break; fi
done
fi
playbooks_dir="$(node "$checker" "$PWD" --print-playbooks-dir)"Standalone installs reach the script by walking up from the `omc` binary to the package root that ships `scripts/`. If the checker still cannot be found, report the resolution failure instead of skipping validation.
Store the result at `$playbooks_dir/<name>.md` with frontmatter:
--- extends: <bundled-skill-name> when: <one sentence naming the requests this playbook serves> ---
Anchor every modification of a bundled step with `**After** "<quoted step text>"` / `**Before**` / `**Replace**` / `**In**`, quoting the bundled skill verbatim. Then run `node "$checker" .` to validate.
It fails when an OMC upgrade rewrites a step you anchored to. Report what it prints; never guess where an unanchored change belongs.
for.
root (`state/verification-ledger.tsv` under the resolved state root) before the playbook is declared done.
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