Pattern Capture

Capture reusable patterns from successful implementations for future reference. Analyzes code to extract templates, conventions, and best practices.

Pamacea Updated

File contents

Pattern Capture Skill

Lazy-loaded skill - Captures patterns after successful implementations

Mission

Extract and document reusable patterns from working code.

When to Use

  • After successful feature: "Capture this pattern"
  • After solving complex problem: "Save this solution"
  • After establishing convention: "Document this pattern"

Pattern Types

Type Description
Architecture Module structure, layering
Implementation Code patterns, idioms
Configuration Setup, conventions
Testing Test patterns, fixtures

Examples

/studio capture "auth flow pattern"
/studio capture "API error handling"
/studio capture "state management pattern"

Output Structure

## Pattern: [Name]

### Context
When to use this pattern

### Implementation
Code example

### Files Found
- src/feature/example.ts

### Related Patterns
- @memory/other-pattern

Version: 1.0.0 | Lazy Load: Enabled

Pamacea/smite commit eb79535b68

Frequently asked questions

npx get-skill add pamacea/pattern-capture