.claude/skills/learner/SKILL.md
Extracts reusable patterns, preferences, and lessons from the current session and saves them to .claude/memory/ for future use. Use at the end of a session or when the user wants to save patterns for future sessions.
npx skillsauth add tranhieutt/software_development_department learnerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill helps Claude Code to automatically distill experiences after solving complex problems and transform them into reusable principles and decision-making heuristics for future use.
It consists of two main sections:
Before deciding to extract a new Skill, ALL of the following criteria must be met:
A saved Skill SHOULD NOT be a trivial, copy-paste code snippet. It must be a Mental model / Heuristic that teaches Claude HOW TO THINK when encountering similar errors.
Only trigger the skill extraction process after:
When the user asks to extract a lesson (e.g., by typing learner or requesting a lesson extraction), execute the following steps in order:
["TypeError", "auth_controller.ts", "session undefined"]).{topic_name}-expertise.md{topic_name}-workflow.md.claude/skills/Any new Skill generated by the Learner must strictly follow this Markdown structure:
---
name: [Short Skill Name]
description: "Extracts reusable patterns, preferences, and lessons from the current session and saves them to .claude/memory/ for future use. Use at the end of a session or when the user wants to save patterns for future sessions."
triggers: ["keyword 1", "keyword 2"]
---
# The Insight
What underlying principle did you just discover? (Focus on the "Mental Model", not merely the line of code).
# Why This Matters
If this experience is neglected, what errors will the system encounter? What symptoms lead to these errors?
# Recognition Pattern
How do you know when to apply this experience in practice? What are the signs or triggers?
# The Approach
How should Claude THINK about this problem? Outline the specific resolution direction.
# Example Code (Recommended)
Display code snippet strictly to illustrate the principle, not as a blind copy-paste solution.
testing
Generates high-fidelity architecture diagrams, sequence flows, and component maps for SDD projects. Use when finalizing a design phase, documenting system architecture, or visualizing agentic workflows. Default style: Style 6 (Claude Official).
data-ai
Provides vector database and semantic search patterns for Pinecone, Weaviate, Qdrant, Milvus, and pgvector in RAG and recommendation systems. Use when implementing vector search or when the user mentions vector database, semantic search, embeddings, or similarity search.
development
Updates docs/technical/CODEMAP.md by scanning the current codebase structure. Run after a significant feature merge, refactor, or when CODEMAP feels stale.
development
Unlocks the codebase after a release freeze or incident freeze period to resume normal development. Use when a freeze period ends or when the user mentions unfreezing or lifting the code freeze.