🎯

learn

🎯Skill

from duc01226/easyplatform

VibeIndex|
What it does

Teaches Claude new patterns, preferences, and conventions to remember across coding sessions using explicit learning commands.

learn

Installation

Install skill:
npx skills add https://github.com/duc01226/easyplatform --skill learn
11
AddedJan 27, 2026

Skill Details

SKILL.md

Teach Claude a new pattern, preference, or convention explicitly. Use when you want to save a correction, preference, or coding pattern for future sessions. Triggers on keywords like "remember this", "always do", "never do", "learn this pattern", "/learn".

Overview

# Pattern Learning Skill

Explicitly teach Claude patterns, preferences, or conventions to remember across sessions.

Quick Usage

```

/learn always use PlatformValidationResult instead of throwing ValidationException

/learn [wrong] var x = 1 [right] const x = 1 - always prefer const

/learn backend: DTO mapping should be in the DTO class, not in command handlers

```

Teaching Formats

Format 1: Natural Language

```

/learn always use IGrowthRootRepository instead of generic IPlatformRootRepository

```

Detected patterns: "always use X instead of Y", "prefer X over Y", "never do X"

Format 2: Explicit Wrong/Right

```

/learn [wrong] throw new ValidationException("Invalid") [right] return PlatformValidationResult.Invalid("Invalid")

```

Format 3: Category-Specific

```

/learn backend: always add [ComputedEntityProperty] with empty setter

/learn frontend: extend AppBaseComponent instead of raw Component

/learn workflow: always use TodoWrite before multi-step tasks

```

How It Works

  1. Detection: pattern-learner.cjs hook detects teaching input
  2. Extraction: Extracts wrong/right pair, keywords, context
  3. Storage: Saves to .claude/learned-patterns/{category}/{slug}.yaml
  4. Injection: Future sessions auto-inject relevant patterns (max 5, ~400 tokens)

Pattern Categories

| Category | Use For |

| ---------- | ---------------------------------------------- |

| backend | C#, .NET, API, Entity, Repository patterns |

| frontend | Angular, TypeScript, Component, Store patterns |

| workflow | Development process, git, planning patterns |

| general | Cross-cutting concerns |

Confidence System

  • Explicit teaching: starts at 80%
  • Implicit corrections: starts at 40%
  • Increases on: user confirmation, pattern followed
  • Decreases on: pattern conflicts, 30 days unused (decay)
  • Below 20%: auto-archived

Conflicts with docs/claude/*.md are blocked to prevent inconsistencies.

Storage

```

.claude/learned-patterns/

β”œβ”€β”€ index.yaml # Pattern lookup index

β”œβ”€β”€ backend/ # Backend patterns

β”œβ”€β”€ frontend/ # Frontend patterns

β”œβ”€β”€ workflow/ # Workflow patterns

β”œβ”€β”€ general/ # General patterns

└── archive/ # Archived patterns

```

Related

For lifecycle management (list, view, archive, boost, penalize): use /learned-patterns skill.

IMPORTANT Task Planning Notes

  • Always plan and break many small todo tasks
  • Always add a final review todo task to review the works done at the end to find any fix or enhancement needed

More from this repository10

🎯
qa-engineer🎯Skill

Generates comprehensive test plans, test cases, and coverage analysis to support QA engineers in systematic software testing and quality assurance.

🎯
product-owner🎯Skill

Helps Product Owners prioritize ideas, manage backlogs, and communicate product vision through structured decision-making frameworks.

🎯
pdf-to-markdown🎯Skill

pdf-to-markdown skill from duc01226/easyplatform

🎯
business-feature-docs🎯Skill

Generates comprehensive enterprise module documentation with a 26-section structure, creating detailed specs and folder hierarchy for business features.

🎯
frontend-angular-form🎯Skill

Generates Angular reactive forms with advanced validation, async validators, dependent validation, and FormArrays using platform-specific design patterns.

🎯
learned-patterns🎯Skill

Manages Claude's learned patterns by listing, viewing, archiving, and dynamically adjusting pattern confidence levels.

🎯
arch-performance-optimization🎯Skill

Optimizes system performance by triaging and routing to specific strategies for database, frontend, API, jobs, and cross-service bottlenecks.

🎯
shadcn-tailwind🎯Skill

Rapidly build accessible React UI with shadcn/ui components, Radix primitives, and Tailwind CSS utility styling for modern web applications.

🎯
plan-analysis🎯Skill

Analyzes implementation plans by extracting features, assessing change impacts, mapping specifications, and preparing comprehensive technical and business impact reports.

🎯
easyplatform-backend🎯Skill

Develops comprehensive backend components for .NET microservices using EasyPlatform's CQRS, domain-driven design, and modular architecture patterns.