learn-pattern

Store learned patterns as Markdown notes in .claude/sessions/learned/.

Updated Jun 23, 2025
One-click install
npx skills add https://github.com/Dayopt/app --skill learn-pattern
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: learn-pattern
Source: https://github.com/Dayopt/app/tree/main/.claude/skills/learn-pattern
Command: npx skills add https://github.com/Dayopt/app --skill learn-pattern

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manual note-taking of valuable problem-solving patterns is error-prone and hard to organize across sessions.

Core Features & Use Cases

  • Auto-saves discovered patterns to .claude/sessions/learned/ as Markdown notes.
  • Suggests kebab-case filenames and a structured Pattern format to aid quick reuse.
  • Applies during complex debugging, performance optimizations, or architecture decisions to institutionalize learnings.

Quick Start

Confirm and save the discovered pattern when prompted to store it under .claude/sessions/learned/ with a kebab-case filename.

Frequently Asked Questions about learn-pattern

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically save coding patterns and insights as Markdown notes?

To automatically save coding patterns and insights as Markdown notes, the Skill triggers when difficult problems are solved, prompting you for a pattern name and category before writing a structured file to a designated learned directory.

What is the best way to document non-obvious software engineering workarounds across sessions?

Documenting non-obvious software engineering workarounds across sessions requires capturing the Problem, Solution, and Why It Works. The Skill institutionalizes these learnings by auto-saving them into structured Markdown files with kebab-case filenames for quick reuse.

How do I structure session-tracking notes for AI memory and knowledge management?

To structure session-tracking notes for AI memory, the Skill applies a documented format capturing the Problem, Solution, and Why It Works. This standardizes knowledge management by organizing actionable insights into Markdown notes.

Can I use this pattern-learning workflow for complex debugging and architecture decisions?

Yes, you can use this pattern-learning workflow for complex debugging, performance optimizations, and architecture decisions. It captures these specific contexts automatically, institutionalizing discovered approaches into a structured learned directory.

Does saving learned patterns require manual filename formatting?

Saving learned patterns does not require manual filename formatting because the workflow suggests kebab-case filenames automatically. You simply confirm the pattern name and category when prompted, and the Markdown file is written directly.

Why does manual note-taking of problem-solving patterns fail across coding sessions?

Manual note-taking of problem-solving patterns fails across coding sessions because it is error-prone and hard to organize. Auto-saving discovered patterns to a structured learned directory eliminates these issues by institutionalizing knowledge systematically.