learn-session

Tinjau sesi saat ini dan ekstrak pengetahuan yang layak dipertahankan ke AGENTS.md, .claude/agents/, atau memori. Gunakan di akhir sesi untuk menangkap apa yang telah…

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

Review the current conversation to extract knowledge worth persisting for future sessions.

What to look for

  1. User corrections — where the user redirected the approach, rejected a suggestion, or clarified a preference
  2. Discovered patterns — implementation patterns, conventions, or architectural knowledge that was hard to find and would save time next session
  3. Agent/tooling gaps — things the tester or code-reviewer agents should know but don't

What NOT to persist

  • Things already documented in AGENTS.md or .claude/agents/
  • Code-level details derivable by reading the source
  • One-off debugging context that won't recur
  • Verbose implementation guides — keep entries brief (1-2 lines for AGENTS.md)

Process

  1. Read the current state of AGENTS.md and .claude/agents/*.md
  2. Read the memory index for this project at ~/.claude/projects/$(echo "$PWD" | tr '/' '-')/memory/MEMORY.md (skip if absent)
  3. Review the conversation so far: what was the task, what was learned, what corrections were made
  4. For each finding, determine where it belongs:
    • AGENTS.md — brief convention or rule that applies to all sessions (1-2 lines max)
    • .claude/agents/*.md — specific to the tester or code-reviewer agent
    • Memory — user preferences, project context, feedback (not code patterns)
    • Nowhere — already documented or too specific to recur
  5. Present the proposed changes for approval. Do NOT write anything until approved.

Lebih banyak skill dari openshift

openshift-docs
openshift
Cari dan baca dokumentasi OpenShift Container Platform dalam format markdown. Gunakan saat pengguna bertanya tentang fitur OpenShift, konfigurasi, instalasi,…
triage-leaked-infra
openshift
Menilai apakah VPC AWS atau set infrastruktur dari HyperShift CI aman untuk dihapus. Gunakan saat pengguna menempelkan output cleanleaked dan bertanya 'dapatkah saya menghapus ini?', 'apakah…
openshift-expert
openshift
Pakar platform OpenShift dan Kubernetes dengan pengetahuan mendalam tentang arsitektur klaster, operator, jaringan, penyimpanan, pemecahan masalah, dan pipeline CI/CD. Gunakan…
Konflux Archived PipelineRuns
openshift
Mengakses PipelineRun, TaskRun, dan log pod Konflux yang diarsipkan melalui KubeArchive. Diterapkan secara otomatis saat memeriksa hasil PipelineRun Konflux, menyelidiki…
backport
openshift
Backport komit atau PR dari cabang utama ke cabang rilis. Gunakan saat pengguna meminta untuk backport, cherry-pick, atau memindahkan perubahan antar cabang, atau saat menyelesaikan…
rebase
openshift
Rebase cabang saat ini ke cabang basisnya, selesaikan semua konflik, dan verifikasi lint, i18n, serta build berhasil. Gunakan saat pengguna meminta untuk rebase, memperbarui, atau menyinkronkan…
Build CPO Image
openshift
Bangun dan dorong citra container control-plane-operator. Diterapkan secara otomatis saat menguji perubahan CPO yang memerlukan penerapan ke klaster langsung.
find-complexity
openshift
Temukan fungsi dan metode dengan kompleksitas sikomatis tinggi, panjang berlebihan, atau terlalu banyak parameter. Gunakan saat pengguna meminta untuk menemukan kode yang kompleks, kompleksitas…