From thinking-frameworks-skills
Appends analogy entries to shared-context/analogy-catalog.md on post publish, extracting source-target mappings, freshness, notes, and limits from non-trivial analogies. Tracks to prevent reuse.
npx claudepluginhub lyndonkl/claude --plugin thinking-frameworks-skillsThis skill uses the workspace's default tool permissions.
- [When this fires](#when-this-fires)
Generates design tokens/docs from CSS/Tailwind/styled-components codebases, audits visual consistency across 10 dimensions, detects AI slop in UI.
Records polished WebM UI demo videos of web apps using Playwright with cursor overlay, natural pacing, and three-phase scripting. Activates for demo, walkthrough, screen recording, or tutorial requests.
Delivers idiomatic Kotlin patterns for null safety, immutability, sealed classes, coroutines, Flows, extensions, DSL builders, and Gradle DSL. Use when writing, reviewing, refactoring, or designing Kotlin code.
Related skills: Called at publish time after Distribution Translator runs (or on manual trigger). Reads the published post to extract used analogies; writes to shared-context/analogy-catalog.md. Does NOT fire on seed or draft creation.
corpus/published/{section}/).update-analogy-catalog explicitly on a published post.For a newly published post:
- [ ] Step 1: Read the published post file
- [ ] Step 2: Extract non-trivial analogies (present a source-target mapping with mechanical weight)
- [ ] Step 3: For each, determine freshness (new / reused / borrowed)
- [ ] Step 4: For each, extract where-it-breaks if named
- [ ] Step 5: Write one entry per analogy to analogy-catalog.md
- [ ] Step 6: Commit ledger-style entry with date + post reference
Trivial similes don't count ("fast as lightning"). An analogy is non-trivial if:
The writer can manually annotate analogy: true in a post's frontmatter to force inclusion, or analogy: skip to exclude.
fresh: the writer's own analogy, first use. Default.reused: the writer used this analogy in a prior published post. Auto-detected by cross-checking the catalog.borrowed: the analogy came from a named source (Hofstadter, a cited paper). Writer annotates.Append to analogy-catalog.md under the table:
| {source} | {target} | {post-title} | {fresh|reused|borrowed} | {note} |
Also in the "notes" section at the bottom:
## {post-slug} — YYYY-MM-DD
- analogy: {source} → {target}
- freshness: fresh|reused|borrowed
- why it worked: {one-sentence note from the writer or inferred from post context}
- breaks at: {the boundary the writer named in the post, if any}
Event: Writer publishes "Why your embedding search melted at 10pm" on 2026-05-20. The post uses two analogies:
2026-03-03-rag-as-prosthetic-memory (already in corpus/seeds/ earlier).Detection:
thermometer, target retrieval quality metric. Not in catalog. Freshness: fresh.prosthetic memory, target RAG. Already in catalog from a prior post. Freshness: reused. Cross-reference to the prior entry.Catalog update:
| source | target | post | freshness | note |
|---|---|---|---|---|
| thermometer | retrieval quality metric | Why your embedding search melted at 10pm | fresh | "you need to sense before you can steer" — operational framing |
| prosthetic memory (reused) | RAG | Why your embedding search melted at 10pm | reused | sibling to 2026-03-03 post; same frame, new context |
freshness: fresh but flag for writer review.analogy: skip in post frontmatter, respect it.