跳到主要内容
知仓学习社ZHICANG

save-learning

Saves user instructions as persistent learnings for future sessions. Use when the user says 'remember this', 'always do X', 'from now on', 'never do…

不碰外部(只输出文字)无严重或高危命中caliber-ai-org/ai-setup

它会碰到什么

扫了多少1 个文本文件,2 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

Save Learning

Save a user's instruction or preference as a persistent learning that

will be applied in all future sessions on this project.

Instructions

  1. Detect when the user gives an instruction to remember, such as:
  • "remember this", "save this", "always do X", "never do Y"
  • "from now on", "going forward", "in this project we..."
  • Any stated convention, preference, or rule
  1. Refine the instruction into a clean, actionable learning bullet with

an appropriate type prefix:

  • [convention] — coding style, workflow, git conventions
  • [pattern] — reusable code patterns
  • [anti-pattern] — things to avoid
  • [preference] — personal/team preferences
  • [context] — project-specific context
  1. Show the refined learning to the user and ask for confirmation
  2. If confirmed, run:
   caliber learn add "<refined learning>"

For personal preferences (not project-level), add --personal:

   caliber learn add --personal "<refined learning>"
  1. Stage the learnings file for the next commit:
   git add CALIBER_LEARNINGS.md

Examples

User: "when developing features, push to next branch not master, remember it"

-> Refine: [convention] Push feature commits to the \next\ branch, not \master\``

-> "I'll save this as a project learning:

[convention] Push feature commits to the \next\ branch, not \master\

Save for future sessions?"

-> If yes: run caliber learn add "[convention] Push feature commits to the next branch, not master"

-> Run git add CALIBER_LEARNINGS.md

User: "always use bun instead of npm"

-> Refine: [preference] Use \bun\ instead of \npm\ for package management

-> Confirm and save

User: "never use any in TypeScript, use unknown instead"

-> Refine: [convention] Use \unknown\ instead of \any\ in TypeScript

-> Confirm and save

When NOT to trigger

  • The user is giving a one-time instruction for the current task only
  • The instruction is too vague to be actionable
  • The user explicitly says "just for now" or "only this time"

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。

它属于哪个仓库

星标★ 1,273
本站分层T1
该仓技能数32
原文件路径.cursor/skills/save-learning/SKILL.md

同一个仓库里的其他技能

看这个仓库的全部 32 个技能

同名技能的其他版本

有 4 个不同仓库或目录里都有叫 save-learning 的技能。它们内容并不相同,别混用:

  • caliber-ai-org/ai-setup — Saves user instructions as persistent learnings for future sessions. Use when the user say
  • caliber-ai-org/ai-setup — Saves user instructions as persistent learnings for future sessions. Use when the user say
  • caliber-ai-org/ai-setup — Saves user instructions as persistent learnings for future sessions. Use when the user say