Continuous Learning
Automatically extract reusable patterns from Claude Code sessions and save them as learned skills for future use.
Install
/plugin marketplace add xu-xiang/everything-claude-code-zhThe repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.
npx skills add xu-xiang/everything-claude-code-zh --skill continuous-learninggit clone --depth 1 https://github.com/xu-xiang/everything-claude-code-zh.git /tmp/everything-claude-code-zh
mkdir -p ~/.claude/skills
cp -r /tmp/everything-claude-code-zh/docs/zh-TW/skills/continuous-learning ~/.claude/skills/continuous-learningPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# 持續學習技能
自動評估 Claude Code 工作階段結束時的內容,提取可重用模式並儲存為學習技能。
## 運作方式
此技能作為 **Stop hook** 在每個工作階段結束時執行:
1. **工作階段評估**:檢查工作階段是否有足夠訊息(預設:10+ 則)
2. **模式偵測**:從工作階段識別可提取的模式
3. **技能提取**:將有用模式儲存到 `~/.claude/skills/learned/`
## 設定
編輯 `config.json` 以自訂:
```json
{
"min_session_length": 10,
"extraction_threshold": "medium",
"auto_approve": false,
"learned_skills_path": "~/.claude/skills/learned/",
"patterns_to_detect": [
"error_resolution",
"user_corrections",
"workarounds",
"debugging_techniques",
"project_specific"
],
"ignore_patterns": [
"simple_typos",
"one_time_fixes",
"external_api_issues"
]
}
```
## 模式類型
| 模式 | 描述 |
|------|------|
| `error_resolution` | 特定錯誤如何被解決 |
| `user_corrections` | 來自使用者修正的模式 |
| `workarounds` | 框架/函式庫怪異問題的解決方案 |
| `debugging_techniques` | 有效的除錯方法 |
| `project_specific` | 專案特定慣例 |
## Hook 設定
新增到你的 `~/.claude/settings.json`:
```json
{
"hooks": {
"Stop": [{
"matcher": "*",
"hooks": [{
"type": "command",
"command": "~/.claude/skills/continuous-learning/evaluate-session.sh"
}]
}]
}
}
```
## 為什麼用 Stop Hook?
- **輕量**:工作階段結束時只執行一次
- **非阻塞**:不會為每則訊息增加延遲
- **完整上下文**:可存取完整工作階段記錄
## 相關
- [Longform Guide](https://x.com/affaanmustafa/status/2014040193557471352) - 持續學習章節
- `/learn` 指令 - 工作階段中手動提取模式
---
## 比較筆記(研究:2025 年 1 月)
### vs Homunculus
Homunculus v2 採用更複雜的方法:
| 功能 | 我們的方法 | Homunculus v2 |
|------|----------|---------------|Details
- Skill name
continuous-learning- Repository
- xu-xiang/everything-claude-code-zh
- Path
docs/zh-TW/skills/continuous-learning/SKILL.md- License
- MIT
- Repo updated
- 5 March 2026
FAQ
What does the Continuous Learning skill do?
Automatically extract reusable patterns from Claude Code sessions and save them as learned skills for future use.
How do I install the Continuous Learning skill?
Claude Code plugin: /plugin marketplace add xu-xiang/everything-claude-code-zh. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Continuous Learning popular?
It lives in xu-xiang/everything-claude-code-zh, which has 2,037 GitHub stars and 332 forks.
Related skills
Backend Patterns
2kxu-xiang/everything-claude-code-zh
Backend architecture patterns, API design, database optimization, and server-side best practices for Node.js, Express, and Next.js API routes.
Coding Standards
2kxu-xiang/everything-claude-code-zh
Universal coding standards, best practices, and patterns for TypeScript, JavaScript, React, and Node.js development.
Frontend Patterns
2kxu-xiang/everything-claude-code-zh
Frontend development patterns for React, Next.js, state management, performance optimization, and UI best practices.
Continuous Learning V2
2kxu-xiang/everything-claude-code-zh
一种基于本能(Instinct)的训练系统,通过钩子(Hooks)观察会话,创建带有置信度评分的原子化本能,并将其进化为技能(Skills)、命令(Commands)或智能体(Agents)。
Continuous Learning
2kxu-xiang/everything-claude-code-zh
自动从 Claude Code 会话(Session)中提取可重用的模式(Pattern),并将其作为已学习的技能(Skill)保存以备将来使用。
Continuous Learning V2
2kxu-xiang/everything-claude-code-zh
基于本能(Instinct)的学习系统,通过钩子(hooks)观察会话,创建带有置信度评分的原子本能,并将其演化为技能(Skills)、命令(Commands)或智能体(Agents)。v2.1 版本增加了项目作用域(project-scoped)的本能,以防止跨项目污染。
Browse the most popular Claude skills, all learning & education skills, or write your own with the skills generator.