Skip to content

28 eval-informed mental models and critical-thinking skills for Claude Code, GitHub Copilot, Codex, Cursor, and other Agent Skills-compatible tools

7.8 KB
Raw Blame
{
  "skill": "thinking-scientific-method",
  "problems": [
    {
      "id": "scientific-method-1",
      "prompt": "Since a release last Thursday, about 4% of users intermittently see a blank screen on our dashboard's main chart; a hard refresh usually fixes it. Our senior frontend dev is confident it's a race condition in the new data-fetching hook and has already opened a PR adding a 500ms delay before render plus a retry. The blank screens are hard to reproduce locally. The release also bumped our charting library two major versions, changed our CDN cache headers, and migrated the API to a new gateway. Before we merge this fix, tell me how to be sure we're actually addressing the cause.",
      "failure_mode": "Latches onto the first plausible explanation (the race condition) and validates the fix by whether blank screens drop, with no way to distinguish the hypothesized cause from the three other simultaneous changes — instead of enumerating competing hypotheses, stating what each predicts versus what would rule it out, and designing a test (e.g., canary/feature-flag isolation) that could prove the favored hypothesis wrong before committing the masking timeout."
    },
    {
      "id": "scientific-method-2",
      "prompt": "We want to redesign our onboarding to lift activation (defined as 'completed first project within 7 days'), currently 22%. The design team proposes replacing the 5-step wizard with a single AI-guided setup chat, and wants to ship it to 100% of new users next sprint because they're confident it's better and 'we'll see activation go up.' Activation naturally varies a few points week to week, and we get about 1,200 new signups a week. Help us design how to roll this out so we actually learn whether the new flow works.",
      "failure_mode": "Treats a confident redesign as self-evidently better and ships to everyone, then reads any uptick as proof — failing to set it up as a controlled comparison with a clear success/failure threshold that beats normal week-to-week noise, a control group, guardrail metrics, and a pre-committed sample size/duration, so the team can't actually tell signal from variance or be proven wrong."
    },
    {
      "id": "scientific-method-3",
      "prompt": "Our nightly batch job that aggregates analytics has started failing roughly every other night with an out-of-memory kill. The data engineer's read is 'the dataset is just getting too big' and the proposed fix is to double the container's memory from 8GB to 16GB. But the data volume has only grown about 6% this month, the job ran fine on 8GB until ~10 days ago, and the failures don't correlate with the nights that have the most data. We can afford a couple of nights of investigation before committing infra changes. How should we figure out the real cause?",
      "failure_mode": "Accepts the intuitive 'data too big → add memory' story and bumps the limit, ignoring evidence that directly contradicts it (only 6% growth, a clean break ~10 days ago, no correlation with data size) — rather than treating 'dataset too big' as a falsifiable hypothesis the existing data already undermines, and investigating what actually changed ~10 days ago (a deploy, dependency, leak, or skew) before spending on infra that may not fix it."
    },
    {
      "id": "scientific-method-4",
      "prompt": "Roughly 0.5% of card transactions have been charged twice since a release that bumped the payment SDK, added a client-side retry on request timeouts, and changed the format of our idempotency keys. A senior engineer is convinced it's the SDK and wants to roll it back tonight, but the rollback is disruptive and we can't reproduce the double charge in staging. What should we do before committing to that rollback?",
      "failure_mode": "Rolls back the SDK on a hunch and treats any drop in duplicates as confirmation, without laying out the retry and idempotency-key changes as rival explanations, naming a single observation from data already in hand that would separate them (for example, whether the two charges in a duplicate carry identical or differing idempotency keys, which points at the retry versus the key-format change), and stating what evidence would clear the SDK."
    },
    {
      "id": "scientific-method-5",
      "prompt": "Our search API's p99 latency roughly doubled after a sprint that shipped a new ranking model, resized the database connection pool, and swapped the logging framework. The platform team wants to revert the pool resize first because 'it's always the pool.' We have production traces and can add targeted timing around any span. Where should we start?",
      "failure_mode": "Reverts the pool change based on a prior belief and treats the sprint's timing as proof of cause, instead of reading the traces to find which span actually grew, tying each candidate cause to one of the three changes, and choosing the timing measurement that best discriminates among them before reverting anything."
    },
    {
      "id": "scientific-method-6",
      "prompt": "One integration test fails about one in eight CI runs but never fails when we run it locally. A teammate suggests wrapping it in an automatic retry so the pipeline goes green. We can run the test in a loop on CI hardware and add logging anywhere. What should we do before masking it?",
      "failure_mode": "Adds the retry and calls a green pipeline success, treating the flake as noise rather than a symptom with several possible sources such as shared fixture state, test-ordering dependence, async timing, or an external clock, and skips reproducing it under a loop and using logs or deliberate ordering changes as observations that would confirm or eliminate each candidate."
    },
    {
      "id": "scientific-method-7",
      "prompt": "Finance's revenue dashboard and the product-analytics dashboard disagree by three to seven percent on the same days. Each team insists the other's pipeline is wrong. Both read from the same warehouse but through different transformations. How should we settle which figures to trust?",
      "failure_mode": "Picks a side or splits the difference to move on, rather than listing concrete reasons the two pipelines could diverge (timezone bucketing, refund and test-account filters, deduplication, late-arriving events) and reconciling on one small shared slice where each transformation can be traced back to the raw source to pinpoint where the gap is introduced."
    },
    {
      "id": "scientific-method-8",
      "prompt": "Sensors deployed in the field report physically implausible spikes a handful of times a day. The vendor attributes it to electrical noise and recommends a costly hardware swap across the whole fleet. We already have raw timestamped readings and firmware logs for every unit. Before approving the fleet-wide swap, how should we investigate?",
      "failure_mode": "Accepts the vendor's noise story and approves the expensive swap, without first checking whether the spikes cluster by firmware version, time of day, or a specific value transition in the data on hand — checks that would separate a firmware or numeric-overflow defect from genuine electrical interference and might avoid the swap entirely."
    },
    {
      "id": "scientific-method-9",
      "prompt": "Signups dropped 12% week over week. Marketing blames the new pricing page, product blames seasonality, and the paid team quietly paused a campaign midweek. Leadership wants a single cause named by tomorrow morning. How should we approach attributing the decline?",
      "failure_mode": "Names one cause to satisfy the deadline and ignores the paused campaign and normal seasonal variation, instead of breaking the drop down by channel and cohort, comparing against a prior-year baseline to gauge seasonality, and lining up the campaign-pause timing so each factor's contribution can be estimated rather than asserting a single convenient story."
    }
  ]
}