28 eval-informed mental models and critical-thinking skills for Claude Code, GitHub Copilot, Codex, Cursor, and other Agent Skills-compatible tools
JavaScript agent-skillsai-toolsanthropicclaudeclaude-codecritical-thinkingdecision-makingfirst-principlesmental-modelsproblem-solvingsystems-thinking
{"id":"crw-pm-01","mode":"binary-decision","prompt":"An engineer opens a one-line pull request against the company's shared database-client library: it raises the default statement timeout from 5 seconds to 30 seconds. The rationale in the PR is reasonable-sounding: \"A couple of our heavier analytics queries occasionally exceed 5s and get killed; bumping the default to 30s stops those spurious errors.\" The diff is tiny — a single constant — and the change is being fast-tracked as \"trivial, one character, low-risk.\"\n\nThe context that isn't in the diff: this library is a shared dependency vendored into roughly 40 microservices, including latency-critical request-path services, and it will roll out to all of them on their next deploy. Today, the 5-second default acts as a backstop: when a downstream database or query gets slow, connections are released after 5s, so a slow dependency causes bounded damage. With a 30s default, during a slowdown each request now holds its database connection up to 6× longer before giving up, which under load can exhaust connection pools, back up upstream request queues, blow past health-check thresholds, and turn a localized slow query into a cascading, fleet-wide outage — the classic mechanism behind several well-known large-scale incidents. Rollback means redeploying 40 services. Weigh the mismatch between the change's apparent size and its blast radius. Decide whether this change warrants a pre-mortem — deliberately surfacing plausible failure modes (pool exhaustion, cascading timeouts, coordinated fleet impact) and mitigations before committing — or whether a pre-mortem would be unnecessary ceremony for a small, reversible, low-impact change.","label":true,"decision_instruction":"Answer YES if this plan warrants a pre-mortem before commitment because plausible failure modes should be surfaced and mitigated first. Answer NO if a pre-mortem would be unnecessary ceremony for a small, reversible, or low-impact action.","skill_fit":["pre-mortem"],"domain":"infra","cluster_id":"challenging-real-world-v1-infra-shared-client-timeout-one-liner","source_family":"challenging-real-world-v1","split":"replication","cluster_basis":"domain:infra,label:yes"}
{"id":"crw-pm-02","mode":"binary-decision","prompt":"A team wants to try a new ranking model for the \"related items\" carousel that appears below product pages. The rollout plan is deliberately conservative: the new model is placed behind a feature flag and enabled for 1% of anonymous browse sessions only; it affects only the ordering of the related-items strip, not pricing, checkout, search, or any write path; a one-click kill switch reverts 100% of traffic to the existing model instantly and has been tested in staging; real-time dashboards track click-through and latency for the 1% cohort with automated alerts; and there is no data migration, no schema change, and no irreversible side effect — turning the flag off returns the system to exactly its prior state. The maximum plausible downside is that 1% of sessions briefly see slightly worse related-item suggestions until someone flips the switch.\n\nA cautious teammate suggests: \"Before we enable this, let's run a formal pre-mortem workshop and document all the ways this launch could fail.\" Weigh the reversibility, the tiny blast radius, the instant tested kill switch, and the absence of any irreversible effect against the ceremony a full pre-mortem would add. Decide whether this specific rollout warrants a pre-mortem before commitment, or whether a pre-mortem would be unnecessary ceremony for a small, easily reversible, low-impact action where fast rollback already bounds the risk.","label":false,"decision_instruction":"Answer YES if this plan warrants a pre-mortem before commitment because plausible failure modes should be surfaced and mitigated first. Answer NO if a pre-mortem would be unnecessary ceremony for a small, reversible, or low-impact action.","skill_fit":["pre-mortem"],"domain":"release","cluster_id":"challenging-real-world-v1-release-recsys-1pct-flag-kill-switch","source_family":"challenging-real-world-v1","split":"replication","cluster_basis":"domain:release,label:no"}
{"id":"crw-pm-03","mode":"binary-decision","prompt":"A backfill is planned for a 200-million-row `users` table. The stated task sounds additive and low-risk: \"populate a new `email_canonical` column by lower-casing and trimming each user's email, so we can add a case-insensitive uniqueness index and clean up duplicate-looking accounts.\" The migration will run in batches over a weekend. What elevates it: immediately after the backfill, the authentication service will be switched to look up accounts by `email_canonical` instead of the raw `email` field, and a `UNIQUE` constraint will be added on `email_canonical`. That means any two distinct existing accounts whose emails differ only by case or surrounding whitespace (`[email protected]` vs `[email protected]`) will suddenly collide: the unique index build could fail midway, or — worse — the auth lookup change could let one user authenticate into what was formerly a different person's account, or lock legitimate users out. There is no rehearsed rollback for the auth-lookup switch, and no analysis yet of how many real collisions exist in the 200M rows.\n\nA manager frames it as \"just adding a column and an index — routine, we do backfills all the time.\" Weigh the irreversibility (auth takeover / lockout, a live unique-index build on a 200M-row auth-critical table, no rehearsed rollback) against that framing. Decide whether this plan warrants a pre-mortem — surfacing failure modes like account-collision, index-build failure, and authentication cutover risk, plus mitigations — before commitment, or whether a pre-mortem is unnecessary ceremony for a small, reversible change.","label":true,"decision_instruction":"Answer YES if this plan warrants a pre-mortem before commitment because plausible failure modes should be surfaced and mitigated first. Answer NO if a pre-mortem would be unnecessary ceremony for a small, reversible, or low-impact action.","skill_fit":["pre-mortem"],"domain":"data-migration","cluster_id":"challenging-real-world-v1-data-migration-email-canonicalize-auth-key","source_family":"challenging-real-world-v1","split":"replication","cluster_basis":"domain:data-migration,label:yes"}
{"id":"crw-pm-04","mode":"binary-decision","prompt":"A developer wants to rename a private helper function from `fmtDt` to `formatDate` for readability. The function is declared and used only within a single module file; it is not exported from that module, and a project-wide search confirms there are no references to it anywhere else in the codebase, no dynamic/string-based invocations, and no public API or serialized name that depends on it. The language is statically typed with a compiler that will flag any missed reference at build time, the change is covered by the module's existing unit tests, and the entire edit is a mechanical symbol rename handled by the IDE's refactor tool. If anything were somehow wrong, reverting is a one-line git revert and a redeploy, and the build would fail before the change ever shipped.\n\nA process-minded colleague proposes: \"Let's do a quick pre-mortem to enumerate how this rename could go wrong before you merge.\" Weigh the fully local scope, the compiler-enforced safety net, the test coverage, and the trivial reversibility against the value a pre-mortem would add here. Decide whether this rename warrants a pre-mortem before commitment, or whether a pre-mortem would be unnecessary ceremony for a small, reversible, low-impact action whose failure modes are already caught mechanically by the compiler and tests.","label":false,"decision_instruction":"Answer YES if this plan warrants a pre-mortem before commitment because plausible failure modes should be surfaced and mitigated first. Answer NO if a pre-mortem would be unnecessary ceremony for a small, reversible, or low-impact action.","skill_fit":["pre-mortem"],"domain":"refactor","cluster_id":"challenging-real-world-v1-refactor-rename-private-helper-single-module","source_family":"challenging-real-world-v1","split":"replication","cluster_basis":"domain:refactor,label:no"}