cc-skill-continuous-learning
できること
このツールは、デバッグ(不具合の原因調査と修正)の作業で得た学びを、わかりやすく再利用できる手順に変換するのに役立ちます。修正した内容をもとに、特定の問題をどう解決したかを文書化します。
使う場面
- ✓繰り返し起きるエラーを修正したあと。
- ✓ユーザーが学んだ教訓を保存するよう明示的に依頼したとき。
- ✓プロジェクトでの失敗を解決したあと。
スキルのリンク
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/cc-skill-continuous-learning/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“負荷の高いときにユーザーが殺到してもクラッシュしないよう、Webサーバーを設定した際に学んだことを保存してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
このツールは、正確な問題、見つかった解決策、そして修正を検証する方法を特定します。他の人が使えるように、個人情報を含まない簡単なステップごとのガイドを作成します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Continuous Learning from a Completed Session
Capture one reusable lesson whose trigger, fix and verification can be explained without preserving a private conversation. The output is a reviewed procedure, not an automatic memory update.
When to Use
Use after a resolved failure, a repeated project-specific correction, or an explicit request to save what was learned. Skip one-off typos, unresolved guesses, transient provider outages and lessons already covered by project documentation. A long session alone does not make a lesson reusable.
Inputs and prerequisites
- An authorized session summary or transcript, affected code or configuration, and the command or observation that confirmed the fix.
- The scope of the lesson: this repository, this tool version, or a more general procedure.
- An existing authorized documentation destination. If saving was not requested, return a draft in the conversation; do not update user memory, install skills, or modify agent configuration automatically.
- The optional session-length helper requires Bash and Python 3. Its only setting is
min_session_lengthin config.json.
Procedure
- Identify the failed assumption and final observed behavior. Keep unsuccessful hypotheses separate from the verified cause.
- Check the current source and test result. A remembered fix that was never exercised stays an open hypothesis.
- State a narrow trigger and prerequisites. Include the runtime or tool version when the fix depends on it.
- Write the smallest sequence that reproduces the diagnosis and verifies the repair. Include an expected result and a counterexample where the procedure should not be used.
- Remove secrets, user names, absolute personal paths, private messages and unrelated repository details. Prefer a minimal synthetic example to copying a transcript.
- Compare with existing instructions. Amend an existing project note when authorized instead of creating another overlapping skill. Preserve provenance and distinguish the original observation from later generalization.
- Present the draft and its evidence. Save only within the scope already authorized by the user, then read back the saved result.
Worked example
Illustrative input: a React test observed an old success message after the input changed, before new asynchronous validation completed. The fix associates each result with the exact current input; the regression changes the input and asserts that stale success disappears immediately.
Trigger: asynchronous validation results can outlive the input they describe.
Prerequisites: the component stores input and an async validation result.
Procedure: bind the result to its input; display pending state until that binding
matches; ignore results from superseded requests.
Verify: change a valid input to an invalid one while validation is pending.
Expected: no previous success is displayed; the final error belongs to the new input.
Limit: this does not establish the semantic correctness of the validation itself.
Use actual project paths and test output when recording a real lesson. This is an illustrative pattern, not a claim that a particular user's test passed.
Optional session-length reminder
bash skills/cc-skill-continuous-learning/evaluate-session.sh /absolute/path/to/session.jsonl
The helper counts JSONL objects whose top-level type equals user. It prints a count and review reminder to stderr after the configured threshold. It does not extract patterns, invoke a model, create directories, or save anything. CLAUDE_TRANSCRIPT_PATH is an optional caller-supplied fallback; no host is assumed to populate it. Automatic hook integration is not configured by this skill.
Limitations
- Transcript formats differ across clients. Other message schemas need an explicit adapter; zero messages does not prove that no useful work occurred.
- The helper rejects links, non-regular files, invalid JSONL, files above 16 MiB and lines above 1 MiB. It never prints transcript contents.
- A successful length check is not a semantic review, privacy review or authorization to persist a lesson.
- Recheck version-specific lessons before reuse. Do not promote a project workaround into a universal instruction without additional evidence.
よくある質問
このツールは私の個人的な会話を保存しますか?
いいえ。学んだ教訓だけに焦点を当て、個人的な情報や無関係な情報は取り除きます。
このツールは「スキル」を自動的に作成しますか?
いいえ。下書きの教訓を作成するか、許可があれば既存のドキュメントを更新します。設定やメモリを自動的に変更することはありません。
「再利用できる手順」とは何ですか?
問題とその解決策を説明する、シンプルで明確な手順のことです。将来ふたたび使えるようになっています。
詳細
作者による元の説明
Turn a completed debugging session or repeated user correction into a small, evidence-backed procedure. Use for explicit requests to capture reusable lessons; does not automatically extract or save memories.
人気
- GitHubのスター
- 48k
- ランキング
- #4114
- ライセンス
- MIT
- 更新日
- 2026/10/15
コメント
- …
このリポジトリの他のスキル
00-andruia-consultant
48kエージェントがAIプロジェクトの立ち上げや改善を支援します。コードを分析し、ツールを提案し、スペイン語で行動計画を作成します。
007
48kエージェントがセキュリティ監査と脅威モデリングを行えるようにします。攻撃や脆弱性からプロジェクトを守るのに役立ちます。
10-andruia-skill-smith
48kエージェントがAIツールの作成や改善を支援します。ツールの動作を定義し、ドキュメントを書き、構造を検証します。
20-andruia-niche-intelligence
48kエージェントが特定の業界に関する要約を作成できるようにします。信頼できる情報源を使って、プロジェクトの背景、ルール、利用パターン、リスクを把握するのに役立ちます。