← Browse

@dangquangse/inversion-exercise

B

Flip core assumptions to reveal hidden constraints and alternative approaches - "what if the opposite were true?"

skillclaude

Install

agr install @dangquangse/inversion-exercise --target claude

Writes 1 file into .claude/skills/, pinned to git-a4ed3faa.

  • .claude/skills/inversion-exercise/SKILL.md

Document


name: Inversion Exercise description: Flip core assumptions to reveal hidden constraints and alternative approaches - "what if the opposite were true?" when_to_use: when stuck on unquestioned assumptions or feeling forced into "the only way" to do something version: 1.1.0

Inversion Exercise

Overview

Flip every assumption and see what still works. Sometimes the opposite reveals the truth.

Core principle: Inversion exposes hidden assumptions and alternative approaches.

Quick Reference

Normal AssumptionInvertedWhat It Reveals
Cache to reduce latencyAdd latency to enable cachingDebouncing patterns
Pull data when neededPush data before neededPrefetching, eager loading
Handle errors when they occurMake errors impossibleType systems, contracts
Build features users wantRemove features users don't needSimplicity > addition
Optimize for common caseOptimize for worst caseResilience patterns
Centralize configurationDistribute configurationFeature flags, per-tenant config
Synchronous request → responseAsync command → eventEvent-driven architecture

Process

  1. List core assumptions — What "must" be true?
  2. Invert each systematically — "What if the opposite were true?"
  3. Explore implications — What would we do differently?
  4. Find valid inversions — Which actually work somewhere?

Example

Problem: Users complain the app is slow

Normal approach: Make everything faster (caching, optimization, CDN)

Inverted: Make things intentionally slower in some places

  • Debounce search input (add latency → enable better results, fewer DB hits)
  • Rate limit requests (add friction → prevent abuse, smooth load)
  • Lazy load content (delay → reduce initial load time)

Insight: Strategic slowness can improve UX and system health

Red Flags You Need This

  • "There's only one way to do this"
  • Forcing a solution that feels wrong
  • Can't articulate why the approach is necessary
  • "This is just how it's done"
  • Every solution feels like fighting the problem

Remember

  • Not all inversions work — test boundaries
  • Valid inversions reveal context-dependence
  • Sometimes the opposite is the answer
  • Question every "must be" or "always" statement

Trustgrade B

  • passBody integrity

    Whether the stored document is plausibly the kind of file the artifact declares, rather than something fetched by mistake.

  • passType matchnot applicable to this artifact type

    Whether the artifact is really the kind of thing its metadata claims it is.

  • passFreshness

    How long since the source repository was last pushed to.

  • passPrompt injection

    Scans the artifact's own text for instructions aimed at your agent rather than at you.

  • warnLicenseno SPDX license detected

    Whether the source repository declares an SPDX license permissive enough to redistribute.

How the grade is calculated

Each check contributes 0 points when it passes, 1 when it warns, and 2 when it fails. The total maps to a letter:

  • Aevery check passed
  • Bone warning
  • Ctwo warnings
  • Dprompt injection or body integrity failed, or three warnings
  • Fone of those failed, and something else is wrong

These are automated hygiene checks, not a security audit, and not a dependency or vulnerability scan. A grade of A means nothing was flagged — not that the artifact is safe.

Versions

  • git-a4ed3faa29592026-07-31