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。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“把我关于配置网页服务器、使其在用户大量访问时不会崩溃的经验保存下来。”
每周 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让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。