Skip to content
Join 7,000+ leaders following Alastair's work on LinkedIn.

Skill

Safe Defaults Review

Four questions to ask of any default value, so the path most users take fails loudly instead of silently costing money.

  • Works in
  • Claude Code

Download the skill or copy it below

---name: safe-defaults-reviewdescription: The four-question review to run on any default value - what it is, its worst silent failure, why it is safe, and the loud escape hatch - and where to record the answers. Use when adding or changing a command-line flag default, a configuration default, or a function parameter default, or when auditing existing defaults in a security or correctness pass.license: "CC BY 4.0. Credit: Safe Defaults Review, a free skill from HumanSpark.ai (https://humanspark.ai/safe-defaults-review/)"---# Safe Defaults ReviewDefaults are policy: the silent path is the one most users take, so make it the safe one. Loud failures arerecoverable. Silent ones cost money, trust and weeks of diagnosis.**Noticing is the hard part.** The usual cause of a bad default is that the author never realised they weremaking a decision. Whenever a change adds a command-line flag, a configuration option or a function parameterwith a default, ask: **what is this default's worst silent failure?****The failure this prevents:** an import tool's default input mode silently dropped duplicate rows within a

When to use it

You're adding a command-line flag with a default.

review this default

A configuration setting is getting a new default value.

is this default safe?

You're auditing the defaults in a codebase.

check the defaults in this code

The default touches money, data or anything a client sees.

what's the worst silent failure here?

New to skills? A skill is a saved set of instructions your AI assistant reads whenever the job comes up, so you set it up once and it works the same way every time. AI Skills for Teams explains how they work.

More than a sanity check

A sanity check catches obvious problems. Safe Defaults Review asks the question that surfaces silent failures: what does this default do if it's wrong for the user's case? Because loud failures are recoverable. Silent ones cost money and trust.

What it does

It runs four questions on every new default or changed default. First, what is the default itself - name it explicitly. Second, what's the worst silent failure? Walk through it end to end. If the answer includes "and they don't notice for weeks", that's the answer you're looking for.

Third, why is it safe? Not because "most users want this" - that's not evidence. What matters is whether it degrades towards correctness or a loud failure, never towards silent data loss. An import tool's default input mode silently dropped duplicate rows within each batch, hiding hundreds of euros of accounting drift for five months before anyone noticed there was a problem.

Fourth, what's the loud escape hatch? The flag or option that switches to more conservative behaviour, and what makes it discoverable. If the worst silent failure is anything more serious than "the user gets a warning and re-runs", the default is wrong. Flip it. Argue from the worst plausible case, not what users usually expect.

What it won't do

It won't put a throwaway script through the full review. That's saved for defaults whose worst silent failure touches money, data, security or anything a client sees.

And it's not for guessing. The whole point is walking through the worst case end to end so you know what can actually go wrong.

More free skills

For decisions involving multiple options, Comparison Integrity helps you choose honestly between candidates. To speed up code once it's in place, Performance Pass finds the 80:20 wins. The full set is on the skills page.

How to install it

It's one file with no code in it, so read it first: you'll see exactly what it tells your assistant to do.

Claude Code

  1. Download the skill and unzip it.
  2. Put the folder in ~/.claude/skills/ to use it in every project, or in .claude/skills/ inside one project.
  3. Start a new session. It loads by itself when the job comes up.

Commit a project's .claude/skills/ folder and your whole team gets the skill.

The skill

Download the zip and upload it wherever your assistant takes skills. Or copy the whole block below into any AI assistant: the first lines ask it to save the rest as a skill, so you only do this once.

The skill
Please install the skill below for me.

Save everything between the BEGIN SKILL and END SKILL lines as a new skill called "safe-defaults-review", exactly as written. If you can't create skills, save it as custom instructions or as a project instead. When it's saved, tell me in one line how to use it.

===== BEGIN SKILL =====
---
name: safe-defaults-review
description: The four-question review to run on any default value - what it is, its worst silent failure, why it is safe, and the loud escape hatch - and where to record the answers. Use when adding or changing a command-line flag default, a configuration default, or a function parameter default, or when auditing existing defaults in a security or correctness pass.
license: "CC BY 4.0. Credit: Safe Defaults Review, a free skill from HumanSpark.ai (https://humanspark.ai/safe-defaults-review/)"
---

# Safe Defaults Review

Defaults are policy: the silent path is the one most users take, so make it the safe one. Loud failures are
recoverable. Silent ones cost money, trust and weeks of diagnosis.

**Noticing is the hard part.** The usual cause of a bad default is that the author never realised they were
making a decision. Whenever a change adds a command-line flag, a configuration option or a function parameter
with a default, ask: **what is this default's worst silent failure?**

**The failure this prevents:** an import tool's default input mode silently dropped duplicate rows within a
batch. It hid several hundred euro of accounting drift for five months, because nothing ever failed loudly.

## When it applies

- A new flag, configuration field or function parameter with a default.
- Changing an existing default.
- Reviewing existing defaults during a security or correctness audit.

It earns the full review when the worst silent failure touches money, data loss, security, a live service or
anything a client sees. A default in a throwaway script does not.

## The four questions

For each default added or changed:

1. **The default:** state it explicitly, `name = value`.
2. **Worst silent failure:** what does it do *silently* if it is wrong for the user's case? Walk through it end to
   end, not in the abstract. If the answer includes "and they don't notice for weeks", that is the answer.
3. **Why it is safe:** evidence that the default degrades towards correctness or a loud failure, not towards
   silent data loss. "Most users want this" is not evidence. "The alternative breaks the balance check, which
   raises an error" is.
4. **The loud escape hatch:** the flag or option that switches to the more conservative behaviour, and what makes
   it discoverable (help text, an error message, the docs).

## The rule for deciding

If the worst silent failure is anything more serious than *the user gets a warning and re-runs*, the default is
wrong. **Flip it.** Argue from the worst plausible case, not from what users usually expect.

## Where to record the answers

- **New specs:** in the spec itself, so it is obvious which defaults were reviewed.
- **Ad hoc changes:** in the pull request description or commit message. The audit trail matters more than where
  it lives.
- **Existing defaults found during a review:** a dated audit document in the project, one entry per default, so
  the reasoning survives people moving on.
===== END SKILL =====

Let's explore what AI can do for you and your team

  • Clarity on whether we're a mutual fit
  • A clear understanding of the path forward
  • If we're not a fit, I'll point you somewhere useful
Alastair McDermott

25 mins · Free · No obligation

Book a Focus Call