Generalize

Generalize a concrete fix, example, correction, or recurring failure into evidence-backed broader solutions and durable prevention. Use when explicitly asked to broaden, systematize, or extract transferable lessons.

201 stars 12 forksOther

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add swyxio/skills --skill generalize
Manual install
git clone --depth 1 https://github.com/swyxio/skills.git /tmp/skills
mkdir -p ~/.claude/skills
cp -r /tmp/skills/generalize ~/.claude/skills/generalize

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Generalize

Surface meaningful improvements at multiple levels and recommend the option that best fits the user's intent and impact-versus-effort tradeoff.

1. Establish the user's actual goal, authorized scope, observed examples, and underlying failure mechanism.
2. Inspect the current conversation, established workflow, and relevant code, data, tests, or logs. Reuse existing parsers, contracts, and resume mechanisms before proposing another path. Search available agent session history only when past decisions or recurrence could change the conclusion; target exact repository names, errors, or phrases, bound the search, and avoid secrets or unrelated private content.
3. Find sibling cases and counterexamples. Generalize only the verified cause; do not turn a local defect into new policy, requirements, or architecture without supporting evidence. Distinguish a one-off symptom, repeated pattern, missing invariant, unreliable input, and architectural constraint; quantify affected cases when practical.
4. Offer only useful levels of intervention:
   - Fix the immediate instance.
   - Repair other cases sharing the same verified cause.
   - Correct the shared data, contract, abstraction, or workflow.
   - Add a test, guardrail, monitoring, or safe automation.
   - Capture a reusable process, skill, or architectural improvement.
Read the full skill on GitHub

Details

Skill name
generalize
Repository
swyxio/skills
Path
generalize/SKILL.md
License
MIT
Repo updated
16 November 2026

FAQ

What does the Generalize skill do?

Generalize a concrete fix, example, correction, or recurring failure into evidence-backed broader solutions and durable prevention. Use when explicitly asked to broaden, systematize, or extract transferable lessons.

How do I install the Generalize skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add swyxio/skills --skill generalize. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Generalize popular?

It lives in swyxio/skills, which has 201 GitHub stars and 12 forks.

Related skills

Accelevents API

201

swyxio/skills

Use when reading or updating AI Engineer Europe speaker records through the Accelevents REST API, especially for full-record PUT updates, auth header quirks, and preserving existing speaker fields.

Software Development12

Accelevents Speaker Sync

201

swyxio/skills

Use when website speaker, session, schedule, room, track, or headshot changes must be synchronized back to Accelevents for AI Engineer Europe 2026.

AI, LLMs & Agents12

Agents SDK

201

swyxio/skills

Build or debug stateful applications that specifically use Cloudflare's `agents` package, including Agent classes, routing, callable methods, synchronized state, scheduling, AIChatAgent, durable execution, or Agents SDK client hooks. Do not trigger for generic AI-agent design, the OpenAI Agents SDK, or ordinary Durable Object work that does not use the Cloudflare Agents SDK.

AI, LLMs & Agents12

Good Thinking

191

jwynia/agent-skills

Diagnose thinking failures and maintain process-sovereignty by auditing cognitive orientation and operation balance.

Other24

Endings

191

jwynia/agent-skills

Diagnose weak endings, rushed resolutions, and arbitrary conclusions. Use when stories build well but end disappointingly, when climax feels unearned, or when resolution doesn't complete character arcs.

Other24

Governance Systems

191

jwynia/agent-skills

Design political entities and governance systems for fictional worlds. Use when creating kingdoms, empires, federations, or any political structures that need realistic internal complexity and external relationships.

Other24

Browse the most popular Claude skills, all other skills, or write your own with the skills generator.