← 返回
未分类 中文

Learning Capture

Capture user corrections, failed tool runs, recurring gotchas, and useful lessons as short structured notes. Use when a mistake or workflow learning should b...
将用户纠正、失败的工具运行、反复出现的陷阱和有用的经验记录为简短的、结构化的笔记。在出现错误或工作流学习时使用。
brasco05
未分类 clawhub v1.0.2 2 版本 100000 Key: 无需
★ 0
Stars
📥 396
下载
💾 0
安装
2
版本
#latest

概述

Learning Capture

Use this skill to turn mistakes and corrections into small reusable notes.

The goal is simple: if the same issue appears again, the agent can check the note before repeating the mistake.

Core Rules

  • Write short notes, not raw transcripts.
  • Redact credentials, auth tokens, private messages, customer data, and full command output.
  • Prefer project-scoped .learnings/ files.
  • Do not edit AGENTS.md, SOUL.md, CLAUDE.md, hooks, or config unless the user explicitly approves.
  • Treat every promotion to long-term instructions as a proposal first.

When To Use

SituationAction
------
User corrects the agentAdd a correction note
Tool/command fails unexpectedlyAdd an error note with redacted summary
A project gotcha is discoveredAdd a learning note
Same issue repeatsLink the related notes and propose a durable rule
User requests a missing capabilityAdd a feature-request note

Setup

Create these files in the project root if they do not exist:

.learnings/LEARNINGS.md
.learnings/ERRORS.md
.learnings/FEATURE_REQUESTS.md

Use normal file-writing tools. Never overwrite existing notes.

Learning Note Format

## LRN-YYYYMMDD-001 — short-title

**Logged:** ISO timestamp
**Priority:** low | medium | high
**Status:** pending | resolved | proposed
**Area:** frontend | backend | infra | tests | docs | workflow

### Summary
One sentence.

### What happened
Short redacted context.

### Better next time
Concrete behavior to apply in future.

### Tags
- tag-one
- tag-two

Error Note Format

## ERR-YYYYMMDD-001 — short-title

**Logged:** ISO timestamp
**Priority:** low | medium | high
**Status:** pending | resolved

### Summary
What failed, in one sentence.

### Redacted Evidence
Minimal safe excerpt. No credentials, tokens, private data, or full logs.

### Likely Cause
If known.

### Fix / Next Step
Concrete action.

Feature Request Format

## FEAT-YYYYMMDD-001 — short-title

**Logged:** ISO timestamp
**Status:** proposed

### Requested Capability
What the user wanted.

### Why It Matters
What problem it solves.

### Possible Implementation
Short option list, if useful.

Promotion Rule

If a note is broadly useful:

  1. Propose the distilled rule to the user.
  2. Wait for approval.
  3. Only then update durable project or agent instructions.
  4. Mark the original note as proposed or resolved with a link to the approved location.

Output

When done, respond briefly:

Logged: .learnings/LEARNINGS.md#LRN-YYYYMMDD-001

If no durable learning exists, do nothing.

版本历史

共 2 个版本

  • v1.0.2 当前
    2026-05-08 13:00 安全 安全
  • v1.0.0
    2026-05-07 13:14 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

knowledge-management

Summarize

paudyyin
智能摘要工具,自动为长文本、文档、网页生成摘要,提取要点与关键词,支持自定义摘要长度。
★ 966 📥 522,309
knowledge-management

Obsidian

steipete
操作 Obsidian 仓库(纯 Markdown 笔记)并通过 obsidian-cli 自动化。
★ 449 📥 105,713
dev-programming

Deep Debugging

brasco05
证据优先的调试与事件分诊,适用于不明、反复、类生产或高风险的软件缺陷。在用户要求进行根本原因分析时使用。
★ 0 📥 852