Tool/everything-claude-code/docs/ja-JP/skills/continuous-learning/SKILL.md
Claude Codeセッションから再利用可能なパターンを自動的に抽出し、将来の使用のために学習済みスキルとして保存します。
npx skillsauth add lyxjack/toolbox continuous-learningInstall 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.
Claude Codeセッションを終了時に自動的に評価し、学習済みスキルとして保存できる再利用可能なパターンを抽出します。
このスキルは各セッション終了時にStopフックとして実行されます:
~/.claude/skills/learned/に保存config.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 | プロジェクト固有の規約 |
~/.claude/settings.jsonに追加:
{
"hooks": {
"Stop": [{
"matcher": "*",
"hooks": [{
"type": "command",
"command": "~/.claude/skills/continuous-learning/evaluate-session.sh"
}]
}]
}
}
/learnコマンド - セッション中の手動パターン抽出Homunculus v2はより洗練されたアプローチを採用:
| 機能 | このアプローチ | Homunculus v2 | |---------|--------------|---------------| | 観察 | Stopフック(セッション終了時) | PreToolUse/PostToolUseフック(100%信頼性) | | 分析 | メインコンテキスト | バックグラウンドエージェント(Haiku) | | 粒度 | 完全なスキル | 原子的な「本能」 | | 信頼度 | なし | 0.3-0.9の重み付け | | 進化 | 直接スキルへ | 本能 → クラスタ → スキル/コマンド/エージェント | | 共有 | なし | 本能のエクスポート/インポート |
homunculusからの重要な洞察:
"v1はスキルに観察を依存していました。スキルは確率的で、発火率は約50-80%です。v2は観察にフック(100%信頼性)を使用し、学習された振る舞いの原子単位として本能を使用します。"
詳細: docs/continuous-learning-v2-spec.mdを参照。
development
React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.
development
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.
data-ai
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
development
X/Twitter API integration for posting tweets, threads, reading timelines, search, and analytics. Covers OAuth auth patterns, rate limits, and platform-native content posting. Use when the user wants to interact with X programmatically.