Agent skill · software engineering · alirezarezvani
extract
Turn a fix or pattern that keeps coming up into a reusable skill with SKILL.md, reference docs and examples. Use whenever the user runs /si:extract or wants to package a recurring solution or lesson as a skill.
Why this skill is useful
Creates a structured skill extraction process that generates reusable skills with documentation and examples, which the AI wouldn't reliably generate on its own.
What it needs
About 3k tokens when loaded. Last updated 2026-08-05. 23,939 stars on the source repository.
What this skill does
/si:extract — Create Skills from Patterns Transforms a recurring pattern or debugging solution into a standalone, portable skill that can be installed in any project. Usage When to Extract A learning qualifies for skill extraction when ANY of these are true: Criterion Signal --- --- Recurring Same issue across 2+ projects Non-obvious Required real debugging to discover Broadly applicable Not tied to one specific codebase Complex solution Multi-step fix that's easy to forget User-flagged "Save this as a skill", "I want to reuse this" Workflow Step 1: Identify the pattern Read the user's description. Search auto-memory for related entries: If found in auto-memory, use those entries as source material. If not, use the user's description directly. Step 2: Determine skill scope Ask (max 2 questions): "What problem does this solve?" (if not clear) "Should this include code examples?" (if applicable) Step 3: Generate skill name Rules for naming: Lowercase, hyphens between words Descriptive but concise (2-4 words) Examples: docker-m1-fixes, api-timeout-patterns, pnpm-workspace-setup Reserved fragments — must NOT appear in the skill name: claude anthropic For skills about Claude Code itself, use the cc- prefix instead: ❌ claude-code-settings → ✅ cc-settings ❌ claude-code-maintenance → ✅ cc-maintenance ❌ claude-mcp-tools → ✅ cc-mcp-tools ❌ claude-plugin-development → ✅ cc-plugin-development Before writing the skill directory, check the proposed name against this list. If a reserved fragment is present, transform it (drop the fragment or replace the claude/anthropic prefix with cc-) and confirm with the user. Step 4: Create the skill files Spawn the skill-extractor agent for the actual file generation. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills alirezarezvani/extract--f04c76