跳到正文
Skillpedia
自动化48k · #4114

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。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/cc-skill-continuous-learning/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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_length in config.json.

Procedure

  1. Identify the failed assumption and final observed behavior. Keep unsuccessful hypotheses separate from the verified cause.
  2. Check the current source and test result. A remembered fix that was never exercised stays an open hypothesis.
  3. State a narrow trigger and prerequisites. Include the runtime or tool version when the fix depends on it.
  4. 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.
  5. Remove secrets, user names, absolute personal paths, private messages and unrelated repository details. Prefer a minimal synthetic example to copying a transcript.
  6. 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.
  7. 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.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#4114
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能