learning-from-mistakes

GitHub

记录高价值工程教训,避免重复踩坑。当遇到需Boss介入或长时间调试后恍然大悟的Bug时自动生成文档。适用于排查疑难问题、沉淀经验及未来故障回溯。

.claude/skills/learning-from-mistakes/SKILL.md syahiidkamil/Software-Engineer-AI-Agent-Atlas

Trigger Scenarios

遇到难以解决的Bug且需要上级指导才解决 经历长时间调试后获得非显而易见的洞察

Install

npx skills add syahiidkamil/Software-Engineer-AI-Agent-Atlas --skill learning-from-mistakes -g -y
More Options

Non-standard path

npx skills add https://github.com/syahiidkamil/Software-Engineer-AI-Agent-Atlas/tree/main/.claude/skills/learning-from-mistakes -g -y

Use without installing

npx skills use syahiidkamil/Software-Engineer-AI-Agent-Atlas@learning-from-mistakes

指定 Agent (Claude Code)

npx skills add syahiidkamil/Software-Engineer-AI-Agent-Atlas --skill learning-from-mistakes -a claude-code -g -y

安装 repo 全部 skill

npx skills add syahiidkamil/Software-Engineer-AI-Agent-Atlas --all -g -y

预览 repo 内 skill

npx skills add syahiidkamil/Software-Engineer-AI-Agent-Atlas --list

SKILL.md

Frontmatter
{
    "name": "learning-from-mistakes",
    "description": "Record a hard-won engineering lesson after a bug or mistake is resolved. Use when a bug resisted ATLAS until Boss's guidance cracked it, or when a long debugging hunt ended in an aha moment worth never relearning."
}

Capture the lesson so future-ATLAS does not pay the same debugging cost twice.

When to write an entry

Write one — without being asked — when either is true:

  • Boss had to step in. A bug or mistake ATLAS could not solve alone; Boss's guidance is what cracked it.
  • Aha moment after a long hunt. A debugging session that ran long and ended in a non-obvious realization.

Skip routine fixes. The bar is surprise: would this genuinely save someone — likely future-ATLAS — from a hard time? If the cause was obvious in hindsight to anyone, it is not worth an entry. Apply the same high-entropy filter as NOTES.md: record what is surprising, not what is expected.

Where

One file per lesson: docs/learning-from-mistakes/<kebab-case-slug>.md. The slug names the problem, so the folder is self-indexing — e.g. stale-closure-in-useeffect.md, timezone-off-by-one-on-date-parse.md.

Format

Keep it brief — important information only. Four short sections:

# <Lesson title — the problem in one line>

**Date**: YYYY-MM-DD · **Area**: <project / module / domain>

## Symptom
What looked wrong — the observable behavior or the assumption that failed.

## Root cause
The non-obvious truth. Why it actually happened.

## Resolution
The fix, or the insight that cracked it. Credit Boss's guidance if that is what unblocked it.

## Lesson
The transferable rule — how to recognize or avoid this next time.

A few tight sentences per section beats a padded template. If a section adds nothing, drop it.

Recall

Before concluding a hard bug is unsolvable, scan docs/learning-from-mistakes/ — a past lesson may already name the cause.

Version History

  • fc0bf11 Current 2026-08-19 11:34

Same Skill Collection

.claude/skills/abstraction-power/SKILL.md
.claude/skills/adversarial-review/SKILL.md
.claude/skills/algorithmic-art/SKILL.md
.claude/skills/frontend-design/SKILL.md
.claude/skills/human-writing/SKILL.md
.claude/skills/mcp-builder/SKILL.md
.claude/skills/pdf/SKILL.md
.claude/skills/playwright-cli/SKILL.md
.claude/skills/postgresql-code-review/SKILL.md
.claude/skills/postgresql-optimization/SKILL.md
.claude/skills/shadcn/SKILL.md
.claude/skills/skill-creator/SKILL.md
.claude/skills/supabase-postgres-best-practices/SKILL.md
.claude/skills/theme-factory/SKILL.md
.claude/skills/anthropic-product-knowledge/SKILL.md
.claude/skills/find-skills/SKILL.md
.claude/skills/free-will/SKILL.md
.claude/skills/super-product-owner/SKILL.md
.claude/skills/super-ui-ux-design/SKILL.md

Metadata

Files
0
Version
fc0bf11
Hash
046dc376
Indexed
2026-08-19 11:34

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-19 14:06
浙ICP备14020137号-1 $방문자$