Skip to content
Back to skills

Learn

ASecurity

Extract reusable patterns from the current session

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 14, 2026
ai-agentsgotestingsecurityperformancedocumentation

Security analysis

A100/100

Scanned October 14, 2026

npx -y skills add peopleforrester/claude-dotfiles --skill learn --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Learn?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Learn
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/peopleforrester-learn/badge)](https://www.skillsdirectory.com/skills/peopleforrester-learn)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: learn
description: Extract reusable patterns from the current session
user-invocable: true
---
# /learn

Analyze the current session to extract reusable patterns, conventions, and
lessons learned. Save them for future reference.

## Arguments
- `$ARGUMENTS` — Optional focus area (e.g., "error handling", "testing patterns")

## Process

### 1. Session Analysis
Review the current session for:
- Patterns that were applied repeatedly
- Conventions discovered in the codebase
- Solutions to problems encountered
- Anti-patterns that were corrected
- Architecture decisions made

### 2. Pattern Extraction
For each pattern found, document:

```markdown
### Pattern: [Name]
**Context**: When to apply this pattern
**Solution**: What to do
**Example**: Code or command example
**Source**: Where this was learned (file, session context)
```

### 3. Categorization
Group patterns by type:
- **Code Style**: Naming, formatting, organization
- **Architecture**: Structure, dependencies, boundaries
- **Testing**: Test patterns, fixtures, assertions
- **Error Handling**: Exception patterns, recovery strategies
- **Performance**: Optimization techniques, caching
- **Security**: Validation patterns, auth patterns

### 4. Output
Save extracted patterns to the project's documentation or
suggest additions to CLAUDE.md for the project.

## Integration
Patterns can be promoted to:
- **Rules** (always-follow constraints)
- **Skills** (reusable workflows)
- **CLAUDE.md entries** (project conventions)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.