generalize-from-cases

Solid

Derive the general rule a request actually carries when it arrives as examples instead of a stated rule, then bound that rule before anyone acts on it. Use when the ask is carried by instances ("do it like this one", "fix these three the same way", "here is a sample of what I mean"), or when one instance is clearly standing in for a class. For ambiguity inside a stated request, use clarify; for intent exploration with no examples on the table, use askme.

AI & Automation 34 stars 0 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 82/100

Stars 20%
51
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Generalize from cases The request arrived as examples, not as a rule. Recover the rule. Two failures mirror each other: **overfit** treats the example's incidental details as requirements, so the change lands on one instance and stops; **overgeneralize** strips too much, so the change lands where it was never wanted. Both come from skipping the split between what is the point and what is circumstance. This skill edits nothing. The deliverable is a stated rule with a boundary. Whatever applies it runs afterwards, against the rule rather than the examples. ## Case set Collect every example before reading any of them as a rule. - **Positives** — instances the user pointed at approvingly or asked to have repeated. - **Negatives** — anything named as "not that", including an earlier attempt the user rejected. A rejected attempt is the most informative case in the set, because it kills hypotheses no positive can. - **Size** — one positive and no negatives is the common case and the weakest. The hypothesis space is wide and step 4 carries the whole result. State the set size in the output so the reader knows how much evidence stands behind the rule. ## Method 1. **Split each case into features.** List every observable attribute of each case: subject, location, shape, trigger, wording, scale, whatever it exhibits. Attributes, not impressions. "Returns early on nil" is a feature; "is clean" is not. 2. **Mark invariant against incidental.** An attribute present in every posit...

Details

Author
OutlineDriven
Repository
OutlineDriven/odin-claude-plugin
Created
9 months ago
Last Updated
today
Language
Python
License
Apache-2.0

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

general

Catch-all mode.

55 Updated 6 days ago
lemoncrow-lab
AI & Automation Listed

breakdown

Lay out every case in a decision exhaustively before evaluating any of them, decompose the open problem into the individual decisions only the user can answer, then stop and wait — and synthesize a recommendation only after they answer. Use it when the user wants the full ground laid out before a conclusion: 「先把所有情況攤開給我看」, 「不要先給結論,先列出所有選項和事實」, 「幫我拆解這個決定」, "lay out every case first", "don't recommend yet — decompose it", "what are all the options here, in full". Each case carries what is verified fact versus what is inference, uniform depth across cases, and an explicit excluded list. Do NOT invoke when the user wants one clickable decision surfaced right now (that is options), when the answer is genuinely unknown to both sides and needs joint exploration (that is discuss-with-me), or for a question with a settled answer that just needs looking up.

0 Updated yesterday
leoluyi
AI & Automation Listed

case-study

Route and produce evidence-backed product or design case studies from raw notes, research, screenshots, specifications, decision logs, architecture, metrics, and project artifacts. Use when the user invokes /case-study, asks to write, critique, structure, or polish a portfolio case study, needs to explain a complex design project, or needs an AI-agent case study covering autonomy, human oversight, telemetry, trust, latency, failures, and recovery.

0 Updated 3 weeks ago
jpoindexter