بنقرة واحدة
learner
Capture codebase-specific knowledge as a reusable skill — passes 3-point quality gate before writing
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Capture codebase-specific knowledge as a reusable skill — passes 3-point quality gate before writing
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Convert PDF/EPUB library to Markdown and generate Obsidian MOC notes
Hook-based compaction suggestions at logical task boundaries
Context window management — track spend, decide when to compact, preserve state
Session-start orientation — loads context, surfaces learnings, confirms registry
Quality and semantic review — catches what automated tools miss
Planner → Architect → Critic deliberation loop — produces a formally validated ADR
| name | learner |
| description | Capture codebase-specific knowledge as a reusable skill — passes 3-point quality gate before writing |
| version | 0.1.0 |
| level | 2 |
| triggers | ["add to skills","capture this","make this a skill","save as skill"] |
| context_files | ["context/learnings.md"] |
| steps | [{"name":"Identify the Insight","description":"What is the underlying principle? State the mental model, not the code."},{"name":"Quality Gate","description":"Apply all 3 points — cannot be Googled, codebase-specific, took real effort. All must be YES."},{"name":"Generalize","description":"Write the insight in its general form so it applies beyond this specific instance."},{"name":"Format","description":"Write the skill body using the Learner Template."},{"name":"Place","description":"Write to .claude/skills/learned/[skill-name]/SKILL.md"}] |
Extract a reusable skill from something discovered in this session. The output is a new SKILL.md file in .claude/skills/learned/.
A learned skill captures the mental model, not the code. The mental model is what Claude needs to reproduce the insight — not a copy-paste of what was written.
All three must be YES before writing the skill:
Reject without exception: generic programming patterns, refactoring techniques, library usage examples, type definitions, boilerplate, and anything a junior dev could find in 5 minutes.
---
name: [short-kebab-case-name]
description: [one line — specific enough to be useful]
version: 0.1.0
level: 1
triggers:
- "[phrase that activates this]"
context_files: []
steps:
- name: [Step]
description: [What to do]
---
# [Skill Name]
## The Insight
What is the underlying principle? State the mental model.
## Why This Matters
What symptom brought you here? What went wrong without this?
## Recognition Pattern
When does this skill apply? What are the signs?
## The Approach
How should Claude think through this? Decision heuristic, not code.
## Example (Optional)
Illustrate the principle. Not copy-paste material.
## Mandatory Checklist
1. Verify [condition specific to this skill]
2. Verify [another condition]
Learned skills go in .claude/skills/learned/[skill-name]/SKILL.md.
These are project-specific. Do not move them to core/ or workflow/ unless they prove general enough to apply across projects — which is rare.
Do not write a learned skill from a first occurrence. One instance is an observation. A recurring pattern is a skill.
Do not name skills generically. auth-skill is not a name. jwt-algorithm-confusion-detection is.