UNPKG

major-ai-skills

Version:

Installable agentic skills / AI agent skills (SKILL.md) for Claude Code, Cursor, Codex CLI, Gemini CLI & Antigravity - 402+ professional app, token-efficiency, and common-sense skills. SEO/GEO ready.

87 lines (65 loc) 4.42 kB
--- name: use-simple-analogies description: "Explain an unfamiliar concept through a familiar example and identify where the analogy stops applying." category: common-sense risk: safe source: self source_type: self date_added: "2026-08-26" tags: ["analogies", "mental-models", "isomorphism", "learning", "simplification", "prompt-engineering"] tools: ["claude", "cursor", "gemini", "codex", "chatgpt"] --- # Explain Using Simple Analogies (Structural Isomorphism) (AI Skill) ## Overview Human working memory struggles with abstract, multi-variable systems (such as *distributed database sharding, asynchronous message queues, or derivative options trading*). Attempting to learn these concepts through raw technical definitions creates cognitive overload. The **Structural Analogy Protocol** maps unfamiliar, abstract technical architectures to familiar, tangible physical systems - instantly transferring your pre-existing real-world intuition into the new domain. --- ## The 4 Universal Analogy Domains ``` ┌─────────────────────────────────────────────────────────────┐ Universal Analogy Mappings 1. RESTAURANT KITCHEN ──► Concurrency, Threads, Queues 2. HIGHWAY SYSTEM ──► Network Bandwidth & Latency 3. WAREHOUSE & DESK ──► RAM, Caching, & SSD Storage 4. POST OFFICE ──► Asymmetric Keys & Packets └─────────────────────────────────────────────────────────────┘ ``` --- ## Master Analogy Prompt Templates ### Pattern 1: The Single Physical System Anchor Use when trying to understand a complex technical tool: ```markdown Explain [ABSTRACT CONCEPT: e.g. Redis In-Memory Cache vs. PostgreSQL Disk Database]. Instructions: 1. Ground the entire explanation in a **Single Physical Analogy** (e.g. A Chef's Kitchen / A Carpenter's Workshop). 2. Explicitly map every technical component to a physical object: - Component A $\rightarrow$ Physical Object A - Component B $\rightarrow$ Physical Object B 3. Explain what happens during a bottleneck or crash in terms of that analogy. 4. Keep under 150 words. ``` --- ### Pattern 2: The Multi-Perspective Analogy Comparison Use when preparing client or non-technical stakeholder presentations: ```markdown I need to explain [CONCEPT: e.g. API Rate Limiting] to non-technical executive leadership. - Provide 2 distinct real-world analogies (e.g. Amusement park turnstiles vs. Highway toll booths). - Highlight why rate limiting prevents server crashes without sounding like an obstacle to business growth. ``` --- ## Real-World Case Study ### Scenario: Explaining Redis Caching vs. PostgreSQL Database #### Abstract Technical Definition (Hard to Picture) > *"Redis is an in-memory key-value data store offering sub-millisecond retrieval by keeping datasets in volatile RAM, whereas PostgreSQL is an ACID-compliant relational DBMS that persists tables to non-volatile block storage with sequential disk writes..."* #### Kitchen Analogy Output (Instant Comprehension) > Imagine a high-end **Restaurant Kitchen**: > > 1. **PostgreSQL is the Walk-In Freezer downstairs**: It holds 10,000 lbs of ingredients safely for years (persistent disk storage). But walking downstairs to fetch a tomato takes 3 minutes (slow disk read latency). > 2. **Redis is the Chef's Cutting Board right in front of them**: It holds only the 5 ingredients needed for the orders being cooked right now (in-memory RAM). Grabbing an ingredient takes 1 second (sub-millisecond cache hit). > > *The rule*: You always check the cutting board (Redis) first. If it's not there, you make the trip downstairs to the freezer (Database) and put a portion on the cutting board for next time! --- ## Summary Best Practices - **Stick to ONE analogy per explanation**: Mixing a car metaphor with a kitchen metaphor creates confusion. - **Demand Component Mapping**: Force the AI to explicitly list what each technical term represents in the analogy.