跳到正文
Skillpedia
写作280k · #324

growth-log

它能做什么

这份指南教你如何记录学习心得,让知识在以后还能重复使用。与其只记下发生了什么,不如找出事件背后的规律、根本原因,以及如何识别类似的情况。

适用场景

  • ✓完成一项复杂任务之后。
  • ✓犯了错或者出了问题之后。
  • ✓定期回顾一段时间内学到了什么的时候。

技能链接

https://github.com/affaan-m/ECC/blob/main/skills/growth-log/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

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

可以这样问 AI

“「我的代码因为浏览器更新而出错,怎么把这次的学习记录下来?」”

每周 5 个新技能,1 分钟读完。

工作原理

AI 会帮你把具体事件整理成可以复用的规律。它会引导你找出根本原因、能应用到其他场景的规则,以及一个信号,用来识别这种规律以后何时可能再次出现。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Growth Log Skill

The problem: Most people write "fixed a bug in X" as a learning log. That's a diary entry, not a learning artifact. A real growth log extracts the pattern so you recognize it next time.

This skill teaches: How to write learning entries that compound across sessions. Works with any note-taking system — Markdown files, Notion, Obsidian, plain text. Templates are generic; adapt to your setup.

When to Activate

  • After completing a complex task (multi-file, new feature, architecture change)
  • After a failure, mistake, or "that was harder than expected" moment
  • When you want to review what you've learned over a period

When NOT to activate: Trivial changes (typo fixes, single-line tweaks, config value changes with no debugging). The threshold: did this task involve debugging, redoing, rollback, or a non-obvious decision? If yes → write an entry. If no → skip.

The Three Rules

Rule 1: Failures > Achievements

A failure is nutritionally denser than a success. One bug that took 2 hours to find teaches more than 3 features that worked first try.

Bad: "Successfully implemented the login flow." Good (web dev): "Login flow: session token wasn't persisting because the cookie SameSite defaulted to Lax in Chrome 128+. Pattern: always explicitly set SameSite=None; Secure when cross-origin. Signal to recognize: auth breaks after browser upgrade or when crossing origin boundaries." Good (data pipeline): "CSV import failed silently on empty rows because pandas.read_csv(dropna=False) keeps zero-width rows that len() counts as valid. Pattern: always df.dropna(how='all', inplace=True) before row-count validation."

Rule 2: The Bole Principle (伯乐原则)

Before writing a new entry, ask: "Is this fundamentally the same as something I already recorded?"

Same root cause, different symptom → merge, don't duplicate. New root cause → new entry.

How to check: Search existing entries for keywords from your root cause before writing. If you find a match, add your new symptom as an additional example under the existing entry rather than creating a duplicate.

Example: "Forgot to update the output index after creating a file" and "Forgot to update skill ratings after a task" — same root cause (no automatic capture trigger). Merge into one entry about "post-task capture gaps."

Rule 3: Must Be Transferable

Every entry must answer: "Next time I face a similar situation, what do I do differently?"

If you can't write that sentence, you haven't extracted the pattern yet.

How to extract a pattern from a concrete event:

  1. State what happened in one sentence
  2. Ask "why?" iteratively until you reach root cause (usually 3-5 whys)
  3. Generalize: "What class of problem is this?" (not "Chrome 128 bug" but "browser default change breaking existing behavior")
  4. Formulate as: "Next time I see [signal], I will [action]."
  5. Name the signal: what specific observable tells you this pattern is active?

Entry Template

Scope: One entry per distinct root cause. Typical length: 4-8 sentences. If it takes >2 minutes to write, you're narrating events. If <30 seconds, you haven't gone deep enough.

## [Title: the pattern, not the event]

### Context
- What was I trying to do?
- What went wrong / what worked surprisingly well?

### Root Cause / Core Insight
- The underlying mechanism, not just the symptom

### The Pattern (transferable)
- Next time [similar situation], I will [specific action].
- Signal to recognize: [what observable tells me this pattern is active?]

### Related
- [entry-name](../path/to/related-entry.md)

Entry Types

All four types use the template above. The type determines which sections carry the most weight:

Type When to Use Emphasis Example Title
Failure Something broke, needed debugging, or required rework Root Cause "Config inheritance ≠ behavior inheritance across sessions"
Methodology A repeatable process emerged from the work Context / Pattern "PPT → open-book exam study guide: three-layer structure"
Pattern Discovery A reusable insight about tools, systems, or thinking Pattern section "PR description template: describe the gap, not the feature"
Capability Change A measurable skill improvement Context (before vs after) "Git: from clone/push to independent PR with 12 commits"

Quality Checklist

…

常见问题

为什么要更关注失败,而不是成功?

失败通常更有价值,因为它需要你去排查,还会暴露一些在顺利时看不到的隐藏机制。

什么是「伯乐原则」?

这是一个提醒:先检查新的学习内容是不是某个已记录问题的另一种表现。如果是,就更新已有条目,而不是新建一条重复的记录。

怎样让我的记录对将来有用?

一定要写上这样一句话:「下次遇到[类似情况],我会[具体做法]。」这样这条学习才能迁移到其他场景。

详情

作者的原始描述

Write growth log entries that extract reusable patterns from completed work — root cause, transferable rule, and a recognizable signal — instead of diary-style event narration, with a 4-8 sentence template and merge-duplicates discipline. Use when capturing what was learned after a complex task, debugging session, failure, or rollback, when reviewing progress over a period, or when a delivery gate

repo: affaan-m/ECC

热度

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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能