Turn a recurring fix or pattern into a portable skill with SKILL.md, reference docs, and examples.

CCM score
68 of 100
skills.sh installs
1.6K
GitHub stars
30.3K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the extraction workflow: pattern identification, scope questions, naming, file generation, quality gates, and reporting
  • Includes a SKILL.md template with frontmatter, quick reference, solutions, trade-offs, and edge-case sections
  • Enforces naming rules that reject claude and anthropic fragments and substitute a cc- prefix for Claude Code skills
  • Designed for turning debugging fixes and workflow lessons into reusable skills for use across projects

Install

$ npx -y skills add alirezarezvani/claude-skills --skill extract -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

/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

/si:extract <pattern description>                  # Interactive extraction
/si:extract <pattern> --name docker-m1-fixes       # Specify skill name
/si:extract <pattern> --output ./skills/            # Custom output directory
/si:extract <pattern> --dry-run                     # Preview without creating files

When to Extract

A learning qualifies for skill extraction when ANY of these are true:

CriterionSignal
RecurringSame issue across 2+ projects
Non-obviousRequired real debugging to discover
Broadly applicableNot tied to one specific codebase
Complex solutionMulti-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:

MEMORY_DIR="$HOME/.claude/projects/$(pwd | sed 's|/|%2F|g; s|%2F|/|; s|^/||')/memory"
grep -rni "<keywords>" "$MEMORY_DIR/"

Details

Repository
github.com/alirezarezvani/claude-skills
Category
Skill & Plugin Building
First seen
May 16, 2026

More from alirezarezvani/claude-skills

All 259