learn-history

โดย openshift

วิเคราะห์เซสชันที่ผ่านมาทั้งหมดของโปรเจกต์นี้ และดึงความรู้ที่มีคุณค่าควรบันทึกลงใน AGENTS.md, .claude/agents/ หรือหน่วยความจำ วิเคราะห์เชิงลึกจากเซสชันทั้งหมด…

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.

Skills เพิ่มเติมจาก openshift

openshift-docs
openshift
ค้นหาและอ่านเอกสารประกอบ OpenShift Container Platform ในรูปแบบ markdown ใช้เมื่อผู้ใช้ถามเกี่ยวกับฟีเจอร์ การกำหนดค่า การติดตั้ง… ของ OpenShift
triage-leaked-infra
openshift
ประเมินว่า AWS VPC หรือชุดโครงสร้างพื้นฐานจาก HyperShift CI ปลอดภัยที่จะลบหรือไม่ ใช้เมื่อผู้ใช้วาง cleanleaked output และถามว่า 'ลบอันนี้ได้ไหม?', 'มัน...
openshift-expert
openshift
ผู้เชี่ยวชาญด้านแพลตฟอร์ม OpenShift และ Kubernetes ที่มีความรู้เชิงลึกเกี่ยวกับสถาปัตยกรรมคลัสเตอร์ โอเปอเรเตอร์ เครือข่าย พื้นที่จัดเก็บข้อมูล การแก้ไขปัญหา และไปป์ไลน์ CI/CD ใช้…
Konflux Archived PipelineRuns
openshift
เข้าถึง Konflux PipelineRuns, TaskRuns และบันทึกพ็อดที่ถูกเก็บถาวรผ่าน KubeArchive ใช้โดยอัตโนมัติเมื่อตรวจสอบผลลัพธ์ของ Konflux PipelineRun หรือสืบสวน...
backport
openshift
ย้อนกลับคอมมิตหรือ PR จาก main ไปยัง release branch ใช้เมื่อผู้ใช้ขอให้ย้อนกลับ, cherry-pick, หรือพอร์ตการเปลี่ยนแปลงระหว่าง branch หรือเมื่อกำลังแก้ไข…
rebase
openshift
รีเบสสาขาปัจจุบันไปยังสาขาหลัก แก้ไขข้อขัดแย้งทั้งหมด และตรวจสอบว่า lint, i18n และ build ผ่าน ใช้เมื่อผู้ใช้ขอให้รีเบส อัปเดต หรือซิงค์…
Build CPO Image
openshift
สร้างและพุชอิมเมจคอนเทนเนอร์ control-plane-operator ใช้โดยอัตโนมัติเมื่อทดสอบการเปลี่ยนแปลง CPO ที่ต้องปรับใช้กับคลัสเตอร์ที่ใช้งานจริง
find-complexity
openshift
ค้นหาฟังก์ชันและเมธอดที่มีความซับซ้อนของไซโคลเมติกสูง ความยาวมากเกินไป หรือมีพารามิเตอร์มากเกินไป ใช้เมื่อผู้ใช้ขอให้ค้นหาโค้ดที่ซับซ้อน ความซับซ้อน…