AgentSkillsCN

ctx-add-learning

记录学习心得。当您发现潜在陷阱、Bug 或意外行为,而这些内容值得未来会话提前知晓时,不妨将其记录下来。

SKILL.md
--- frontmatter
name: ctx-add-learning
description: "Record a learning. Use when discovering gotchas, bugs, or unexpected behavior that future sessions should know about."
allowed-tools: Bash(ctx:*)

Record a learning in LEARNINGS.md.

When to Use

  • After discovering a gotcha or unexpected behavior
  • When a debugging session reveals root cause
  • When finding a pattern that will help future work

Execution

bash
ctx add learning "Learning text" --context "..." --lesson "..." --application "..."

Or with just the learning text (will prompt for details):

bash
ctx add learning $ARGUMENTS

Confirm the learning was added.