Communitygithub.com

自更新技能(Learn from Errors)

讓 Agent 從錯誤中學習,持續改進。記錄用戶反饋、更新方法論和規則。觸發詞:更新規則、記錄反饋、改進 skill。

自更新技能(Learn from Errors) 是什麼?

這個技能(自更新)是一個後設技能,讓 AI Agent 可以從過往的錯誤和用戶反饋中自動學習,並更新其行為規則或知識庫文件(例如 CLAUDE.md 或 tips/*.md)。它不僅僅是簡單地在文件末尾添加筆記,而是透過閱讀現有文件結構,將新的規則或教訓整合到正確的章節中,確保知識是有效組織且可重複使用的。此技能主要用於支援 CLAUDE.md 和 tips/*.md 等文件的自動維護,適合各類需要從互動經驗中持續進化的開發或寫作場景。其核心流程是:用戶觸發(例如“記錄一下剛才的問題”)、AI 回溯上下文、讀取目標文件、分析並將反饋整合至適當地點,同時回報修改摘要。

相容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/ComeOnOliver/skillshub/tree/HEAD/skills/Ceeon/videocut-skills/%E8%87%AA%E8%BF%9B%E5%8C%96

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

自更新

讓 Agent 從錯誤中學習,持續改進

快速使用

用戶: 記錄一下剛才的問題
用戶: 更新口誤識別的規則
用戶: 這個教訓要記下來

更新位置

內容類型目標文件範例
用戶畫像CLAUDE.md偏好、習慣
方法論 + 反饋*/tips/*.md規則、教訓

流程

用戶觸發("剛才失敗了"、"記錄一下")
    ↓
【自動】回溯上下文,找出問題點
    ↓
【自動】讀目標文件全文,理解現有結構
    ↓
【自動】整合到正文相應位置(不是只往末尾加!)
    ↓
【自動】反饋記錄只記事件,不重複規則
    ↓
彙報更新結果

關鍵:不要問"什麼問題",直接從上下文分析!

更新原則

❌ 錯誤做法:往末尾加

## 反饋記錄
### 2026-01-14
- 教訓:審查稿末尾必須生成刪除任務清單
- 教訓:用戶確認時要分別確認口誤和靜音

只加到反饋記錄 = 規則散落在末尾,下次還會犯錯

✅ 正確做法:整合到正文

  1. 讀全文,理解章節結構
  2. 找到相應位置,把規則整合進去
  3. 反饋記錄只記事件:- 審查稿標記了靜音,但剪輯時漏刪
## 四、審查稿格式
(新增刪除任務清單模板)

## 五、確認與執行流程  ← 缺這個章節就新增
(新增分別確認口誤和靜音的流程)

## 反饋記錄
### 2026-01-14
- 審查稿標記了靜音,但剪輯時漏刪(只刪了口誤)

觸發條件

  • 用戶糾正 AI 錯誤
  • 用戶說"記住這個"、"以後注意"
  • 發現新的通用規律

反例

2026-01-13

❌ 錯誤:
用戶: 剛才失敗了,更新到skills
AI: 請告訴你我發現了什麼問題?  ← 不該問!

✅ 正確:
AI: [自動回溯上下文,找到失敗點]
AI: [執行更新]

2026-01-14

❌ 錯誤:
AI: 已更新,在反饋記錄新增3條教訓  ← 只加末尾!

✅ 正確:
AI: [讀全文,理解結構]
AI: [整合到正文相應位置]
AI: [反饋記錄只記事件]
AI: 已更新:新增第五章"確認與執行流程",更新第四章模板

原則:規則要整合到正文,反饋記錄只是事件日誌

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

ComeOnOliver/skillshub

Create stunning, animation-rich HTML presentations from scratch or by converting PowerPoint files. Use when the user wants to build a presentation, convert a PPT/PPTX to web, or create slides for a talk/pitch. Helps non-designers discover their aesthetic through visual exploration rather than abstract choices.

ComeOnOliver/skillshub

Next.js 16+ 和 Turbopack — 增量打包、文件系统缓存、开发速度,以及何时使用 Turbopack 与 webpack。

ComeOnOliver/skillshub

SwiftUI architecture patterns, state management with @Observable, view composition, navigation, performance optimization, and modern iOS/macOS UI best practices.

ComeOnOliver/skillshub

See, Understand, Act on video and audio. See- ingest from local files, URLs, RTSP/live feeds, or live record desktop; return realtime context and playable stream links. Understand- extract frames, build visual/semantic/temporal indexes, and search moments with timestamps and auto-clips. Act- transcode and normalize (codec, fps, resolution, aspect ratio), perform timeline edits (subtitles, text/image overlays, branding, audio overlays, dubbing, translation), generate media assets (image, audio, video), and create real time alerts for events from live streams or desktop capture.

ComeOnOliver/skillshub

AI-assisted video editing workflows for cutting, structuring, and augmenting real footage. Covers the full pipeline from raw capture through FFmpeg, Remotion, ElevenLabs, fal.ai, and final polish in Descript or CapCut. Use when the user wants to edit video, cut footage, create vlogs, or build video content.

ComeOnOliver/skillshub

Next.js 15 애플리케이션을 위한 프론트엔드 개발 가이드라인. React 19, TypeScript, Shadcn/ui, Tailwind CSS를 사용한 모던 패턴. Server Components, Client Components, App Router, 파일 구조, Shadcn/ui 컴포넌트, 성능 최적화, TypeScript 모범 사례 포함. 컴포넌트, 페이지, 기능 생성, 데이터 페칭, 스타일링, 라우팅, 프론트엔드 코드 작업 시 사용.

ComeOnOliver/skillshub

Provides Tamagui patterns for config v4, compiler optimization, styled context, and cross-platform styling. Must use when working with Tamagui projects (tamagui.config.ts, @tamagui imports).

ComeOnOliver/skillshub

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.

ComeOnOliver/skillshub

Create high-converting, visually distinctive landing pages. Use when building marketing pages, product launches, SaaS homepages, or any single-page conversion-focused website. Guides section-by-section composition with anti-AI-slop principles.

ComeOnOliver/skillshub

Auto-loaded context for Portfolio Buddy 2 development. Use for ANY task involving: React 19 development, TypeScript, portfolio analysis features, metrics calculations, trading strategy comparison, or working with the Portfolio Buddy 2 codebase. Contains tech stack, known issues, and architectural constraints.

ComeOnOliver/skillshub

Next.js development tooling via MCP. Inspect routes, components, build info, and debug Next.js apps. Use when working on Next.js applications, debugging routing, or inspecting app structure. NOT for general React or non-Next.js projects.

ComeOnOliver/skillshub

Implement UI using Shadcn MCP (atoms/theme) and 21st.dev MCP (complex sections). Use when adding buttons, layouts, or generating landing pages.

ComeOnOliver/skillshub

A conceptual skill for building an API client in Next.js that handles JWT tokens

ComeOnOliver/skillshub

Best practices and patterns for Next.js App Router, Server Actions, and Routing in this project.

ComeOnOliver/skillshub

The Design System, Theme, and UX rules for the Physical AI Hub.

ComeOnOliver/skillshub

Comprehensive frontend development skill for building modern, performant web applications using ReactJS, NextJS, TypeScript, Tailwind CSS. Includes component scaffolding, performance optimization, bundle analysis, and UI best practices. Use when developing frontend features, optimizing performance, implementing UI/UX designs, managing state, or reviewing frontend code.

ComeOnOliver/skillshub

This document captures learnings from fixing keyboard navigation issues when floating components (Select, DropdownMenu, Popover) have CSS open/close animations.

ComeOnOliver/skillshub

Build Next.js 16 applications with correct patterns and distinctive design. Use when creating pages, layouts, dynamic routes, upgrading from Next.js 15, or implementing proxy.ts. Covers breaking changes (async params/searchParams, Turbopack, cacheComponents) and frontend aesthetics. NOT when building non-React or backend-only applications.

ComeOnOliver/skillshub

Comprehensive Framer Motion animation library for React. Covers motion components, variants, gestures, page transitions, and scroll animations. Use when adding animations to React/Next.js applications.

ComeOnOliver/skillshub

Build interfaces that resonate, not just render. This skill enforces bold, intentional

相關技能