AGENT SKILL

continuous-learning

Claude Code oturumlarından yeniden kullanılabilir kalıpları otomatik olarak çıkarın ve gelecekte kullanmak üzere öğrenilmiş skill'ler olarak kaydedin.

License 许可
MIT
最近更新
2026-11-10
Stars
★ 1
Forks
0

01 前言 Front Matter

name
continuous-learning
origin
ECC
description
Claude Code oturumlarından yeniden kullanılabilir kalıpları otomatik olarak çıkarın ve gelecekte kullanmak üzere öğrenilmiş skill'ler olarak kaydedin.

03 SKILL.md 正文

Sürekli Öğrenme Skill'i

Claude Code oturumlarını sonunda otomatik olarak değerlendirir ve öğrenilmiş skill'ler olarak kaydedilebilecek yeniden kullanılabilir kalıpları çıkarır.

Ne Zaman Aktifleştirmelisiniz

  • Claude Code oturumlarından otomatik kalıp çıkarma ayarlarken
  • Oturum değerlendirmesi için Stop hook'u yapılandırırken
  • ~/.claude/skills/learned/ içindeki öğrenilmiş skill'leri incelerken veya düzenlerken
  • Çıkarma eşiklerini veya kalıp kategorilerini ayarlarken
  • v1 (bu) ile v2 (instinct tabanlı) yaklaşımlarını karşılaştırırken

Nasıl Çalışır

Bu skill her oturumun sonunda Stop hook olarak çalışır:

  1. Oturum Değerlendirmesi: Oturumun yeterli mesaja sahip olup olmadığını kontrol eder (varsayılan: 10+)
  2. Kalıp Tespiti: Oturumdan çıkarılabilir kalıpları tanımlar
  3. Skill Çıkarma: Yararlı kalıpları ~/.claude/skills/learned/ dizinine kaydeder

Konfigürasyon

Özelleştirmek için config.json dosyasını düzenleyin:

{
  "min_session_length": 10,
  "extraction_threshold": "medium",
  "auto_approve": false,
  "learned_skills_path": "~/.claude/skills/learned/",
  "patterns_to_detect": [
    "error_resolution",
    "user_corrections",
    "workarounds",
    "debugging_techniques",
    "project_specific"
  ],
  "ignore_patterns": [
    "simple_typos",
    "one_time_fixes",
    "external_api_issues"
  ]
}

Kalıp Tipleri

Kalıp Açıklama
error_resolution Belirli hataların nasıl çözüldüğü
user_corrections Kullanıcı düzeltmelerinden kalıplar
workarounds Framework/kütüphane tuhaflıklarına çözümler
debugging_techniques Etkili hata ayıklama yaklaşımları
project_specific Projeye özgü kurallar

Hook Kurulumu

~/.claude/settings.json dosyanıza ekleyin:

{
  "hooks": {
    "Stop": [{
      "matcher": "*",
      "hooks": [{
        "type": "command",
        "command": "~/.claude/skills/continuous-learning/evaluate-session.sh"
      }]
    }]
  }
}

Neden Stop Hook?

  • Hafif: Oturum sonunda bir kez çalışır
  • Bloke Etmeyen: Her mesaja gecikme eklemez
  • Tam Bağlam: Tam oturum kaydına erişimi vardır

İlgili

  • The Longform Guide - Sürekli öğrenme bölümü
  • /learn komutu - Oturum ortasında manuel kalıp çıkarma

Karşılaştırma Notları (Araştırma: Ocak 2025)

vs Homunculus

Homunculus v2 daha sofistike bir yaklaşım benimsiyor:

Özellik Bizim Yaklaşım Homunculus v2
Gözlem Stop hook (oturum sonu) PreToolUse/PostToolUse hooks (%100 güvenilir)
Analiz Ana bağlam Arka plan agent'ı (Haiku)
Granülerlik Tam skill'ler Atomik "instinct'ler"
Güven Yok 0.3-0.9 ağırlıklı
Evrim Doğrudan skill'e Instinct'ler → kümeleme → skill/command/agent
Paylaşım Yok Instinct'leri dışa/içe aktar

Homunculus'tan temel içgörü:

"v1 gözlem için skill'lere güveniyordu. Skill'ler olasılıksaldır—zamanın ~%50-80'inde tetiklenirler. v2 gözlem için hook'ları kullanır (%100 güvenilir) ve öğrenilmiş davranışın atomik birimi olarak instinct'leri kullanır."

Potansiyel v2 İyileştirmeleri

  1. Instinct tabanlı öğrenme - Güven skorlaması ile daha küçük, atomik davranışlar
  2. Arka plan gözlemcisi - Paralel analiz yapan Haiku agent'ı
  3. Güven azalması - Çelişkiye uğrarsa instinct'ler güven kaybeder
  4. Alan etiketleme - code-style, testing, git, debugging, vb.
  5. Evrim yolu - İlgili instinct'leri skill/command'lara kümeleme

Bkz: Tam spec için docs/continuous-learning-v2-spec.md.

04 同仓库更多 Skills

YYC-Cube
YYC-Cube/YYC3-Knowledge-Base

vercel-sandbox

Run agent-browser + Chrome inside Vercel Sandbox microVMs for browser automation from any Vercel-deployed app. Use when the user needs browser automation in a Vercel app (Next.js, SvelteKit, Nuxt, Remix, Astro, etc.), wants to run headless Chrome without binary size limits, needs persistent browser sessions across commands, or wants ephemeral isolated browser environments. Triggers include "Vercel Sandbox browser", "microVM Chrome", "agent-browser in sandbox", "browser automation on Vercel", or any task requiring Chrome in a Vercel Sandbox.

★ 1
YYC-Cube
YYC-Cube/YYC3-Knowledge-Base

slack

Interact with Slack workspaces using browser automation. Use when the user needs to check unread channels, navigate Slack, send messages, extract data, find information, search conversations, or automate any Slack task. Triggers include "check my Slack", "what channels have unreads", "send a message to", "search Slack for", "extract from Slack", "find who said", or any task requiring programmatic Slack interaction.

★ 1
YYC-Cube
YYC-Cube/YYC3-Knowledge-Base

electron

Automate Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify, etc.) using agent-browser via Chrome DevTools Protocol. Use when the user needs to interact with an Electron app, automate a desktop app, connect to a running app, control a native app, or test an Electron application. Triggers include "automate Slack app", "control VS Code", "interact with Discord app", "test this Electron app", "connect to desktop app", or any task requiring automation of a native Electron application.

★ 1
YYC-Cube
YYC-Cube/YYC3-Knowledge-Base

dogfood

Systematically explore and test a web application to find bugs, UX issues, and other problems. Use when asked to "dogfood", "QA", "exploratory test", "find issues", "bug hunt", "test this app/site/platform", or review the quality of a web application. Produces a structured report with full reproduction evidence -- step-by-step screenshots, repro videos, and detailed repro steps for every issue -- so findings can be handed directly to the responsible teams.

★ 1
YYC-Cube
YYC-Cube/YYC3-Knowledge-Base

agent-browser

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction.

★ 1
YYC-Cube
YYC-Cube/YYC3-Knowledge-Base

shadcn

Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI, including chat interfaces. Provides project context, component docs, and usage examples. Applies when working with shadcn/ui, component registries, presets, --preset codes, or any project with a components.json file. Also triggers for "shadcn init", "create an app with --preset", "switch to --preset", and for building a design system or applying a DESIGN.md or brand spec to shadcn/ui.

★ 1