learn-history

tarafından openshift

Bu proje için geçmiş tüm oturumları analiz et ve AGENTS.md, .claude/agents/ veya belleğe kaydedilmeye değer bilgileri çıkar. Tam oturumun derinlemesine analizi…

npx skills add https://github.com/openshift/oc --skill learn-history

Analyze the full session history for this project to extract knowledge worth persisting.

Session logs location

Session logs are JSONL files at the project config path. Find them with:

ls -lhS ~/.claude/projects/$(echo "$PWD" | tr '/' '-')/*.jsonl

Each line is a JSON object with a type field (user for user messages, others for assistant responses). User messages have .message.content with the prompt text.

Process

  1. Read the current state of AGENTS.md, .claude/agents/*.md, and the memory index for this project at ~/.claude/projects/$(echo "$PWD" | tr '/' '-')/memory/MEMORY.md (skip if absent)
  2. List all session files, sorted by size (larger sessions have more content worth mining)
  3. For each session, extract user messages and assistant text responses (skip tool results — they're too large). Focus on:
    • User corrections and redirections
    • Patterns that were discovered after expensive exploration
    • Knowledge that was needed repeatedly across sessions
  4. Cross-reference findings against what's already documented to avoid duplicates
  5. Group findings by destination:
    • AGENTS.md — brief conventions/rules (1-2 lines each)
    • .claude/agents/*.md — agent-specific knowledge
    • Memory — user preferences, project context, feedback
    • Nowhere — already documented or too specific to recur
  6. Present a summary of all proposed changes for approval. Do NOT write anything until approved.

Guidelines

  • Prioritize findings that recur across multiple sessions — those have the highest ROI
  • Keep AGENTS.md entries concise. If something needs more than 2 lines, it probably doesn't belong there.

openshift tarafından daha fazla skill

openshift-docs
openshift
OpenShift Container Platform dokümantasyonunu markdown formatında arayın ve okuyun. Kullanıcı OpenShift özellikleri, yapılandırma, kurulum hakkında soru sorduğunda kullanın,…
triage-leaked-infra
openshift
HyperShift CI'den bir AWS VPC veya altyapı setinin silinmesinin güvenli olup olmadığını değerlendirir. Kullanıcı temiz sızdırılmış çıktıyı yapıştırıp 'bunu silebilir miyim?', 'bu…' diye sorduğunda kullanın.
openshift-expert
openshift
OpenShift platform ve Kubernetes uzmanı olup, küme mimarisi, operatörler, ağ oluşturma, depolama, sorun giderme ve CI/CD boru hatları konularında derin bilgiye sahiptir. Kullan…
Konflux Archived PipelineRuns
openshift
Arşivlenmiş Konflux PipelineRun, TaskRun ve pod loglarına KubeArchive üzerinden erişir. Konflux PipelineRun sonuçlarını kontrol ederken, araştırma yaparken otomatik olarak uygulanır…
backport
openshift
Ana daldan bir sürüm dalına commit veya PR'ları geri taşıyın. Kullanıcı backport, cherry-pick veya değişiklikleri dallar arasında taşıma istediğinde veya çözümleme yaparken kullanın.
rebase
openshift
Mevcut dalı temel dalına yeniden temelle, tüm çakışmaları çöz ve lint, i18n ve derlemenin geçtiğini doğrula. Kullanıcı yeniden temelleme, güncelleme veya senkronizasyon istediğinde kullan…
Build CPO Image
openshift
Kontrol düzlemi operatörü konteyner imajını derleyin ve gönderin. Canlı bir kümeye dağıtım gerektiren CPO değişikliklerini test ederken otomatik olarak uygulanır.
find-complexity
openshift
Yüksek döngüsel karmaşıklığa, aşırı uzunluğa veya çok fazla parametreye sahip fonksiyonları ve metotları bulur. Kullanıcı karmaşık kod, karmaşıklık bulmayı istediğinde kullanılır.