mrgoonie

inversion-exercise

@mrgoonie/inversion-exercise
mrgoonie
1,108
227 forks
Updated 1/6/2026
View on GitHub

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

Installation

$skills install @mrgoonie/inversion-exercise
Claude Code
Cursor
Copilot
Codex
Antigravity

Details

Path.claude/skills/problem-solving/inversion-exercise/SKILL.md
Branchmain
Scoped Name@mrgoonie/inversion-exercise

Usage

After installing, this skill will be available to your AI coding assistant.

Verify installation:

skills list

Skill Instructions


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 occurMake errors impossibleType systems, contracts
Build features users wantRemove features users don't needSimplicity >> addition
Optimize for common caseOptimize for worst caseResilience patterns

Process

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

Example

Problem: Users complain app is slow

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

Inverted: Make things intentionally slower in some places

  • Debounce search (add latency → enable better results)
  • Rate limit requests (add friction → prevent abuse)
  • Lazy load content (delay → reduce initial load)

Insight: Strategic slowness can improve UX

Red Flags You Need This

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

Remember

  • Not all inversions work (test boundaries)
  • Valid inversions reveal context-dependence
  • Sometimes opposite is the answer
  • Question "must be" statements

More by mrgoonie

View all
ai-multimodal
1,108

Process and generate multimedia content using Google Gemini API. Capabilities include analyze audio files (transcription with timestamps, summarization, speech understanding, music/sound analysis up to 9.5 hours), understand images (captioning, object detection, OCR, visual Q&A, segmentation), process videos (scene detection, Q&A, temporal analysis, YouTube URLs, up to 6 hours), extract from documents (PDF tables, forms, charts, diagrams, multi-page), generate images (text-to-image, editing, composition, refinement). Use when working with audio/video files, analyzing images or screenshots, processing PDF documents, extracting structured data from media, creating images from text prompts, or implementing multimodal AI features. Supports multiple models (Gemini 2.5/2.0) with context windows up to 2M tokens.

root-cause-tracing
1,108

Systematically trace bugs backward through call stack to find original trigger

databases
1,108

Work with MongoDB (document database, BSON documents, aggregation pipelines, Atlas cloud) and PostgreSQL (relational database, SQL queries, psql CLI, pgAdmin). Use when designing database schemas, writing queries and aggregations, optimizing indexes for performance, performing database migrations, configuring replication and sharding, implementing backup and restore strategies, managing database users and permissions, analyzing query performance, or administering production databases.

chrome-devtools
1,108

Browser automation, debugging, and performance analysis using Puppeteer CLI scripts. Use for automating browsers, taking screenshots, analyzing performance, monitoring network traffic, web scraping, form automation, and JavaScript debugging.