Identify and extract reusable patterns from repeated behaviors, workflows, and outcomes. Use when recognizing recurring themes, codifying best practices, extracting workflows from experience, or when pattern, recurring, repeated, or --pattern are mentioned. Micro-skill loaded by codebase-analysis, patternify, and other investigation skills.
/plugin marketplace add outfitter-dev/agents/plugin install baselayer@outfitterThis skill inherits all available tools. When active, it can use any tool Claude has access to.
Identify signals → classify patterns → validate with evidence → document for reuse.
<when_to_use>
NOT for: single occurrences, unvalidated hunches, premature abstraction </when_to_use>
<signal_identification>
Look for:
Watch for:
Identify:
<pattern_classification>
Characteristics:
Characteristics:
Characteristics:
Characteristics:
<evidence_thresholds>
Don't codify after first occurrence. Require:
Strong patterns show:
Weak patterns show:
<quality_criteria_extraction>
Analyze what made successful outcomes work:
Learn from unsuccessful attempts:
When multiple approaches exist:
<pattern_documentation>
Capture:
Add:
<progressive_formalization> Observation (1–2 instances):
Hypothesis (3+ instances):
Codification (validated pattern):
Refinement (ongoing):
NEVER:
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.