本文へ移動
cccskills
無料GitHub で公開

learn

Extract learnings from the current session and update memory/config. Use when: learn from this, what did we learn, update memory, session retrospective, extract patterns, save learnings.

日本語の概要は準備中です。原文の説明を表示しています。

インストール方法を見る

含まれるファイル(1)

  • SKILL.md2.8 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Session Learning Extractor

Scans the current session for patterns, corrections, and feedback, then proposes updates to memory and config.

Usage

  • /learn — Scan session, propose updates
  • /learn <topic> — Focus extraction on a specific topic

Workflow

Phase 1: Scan Session

Review the conversation for:

  1. PR review feedback — corrections, style preferences, pattern violations flagged
  2. Errors encountered — what went wrong, what fixed it, root cause
  3. Patterns discovered — new conventions, architectural decisions, workflow preferences
  4. Corrections — things the user corrected (naming, approach, style)
  5. Explicit instructions — "always do X", "never do Y", "remember this"

Phase 2: Compare Against Config

Check each learning against existing config layers:

LayerPathPurpose
CLAUDE.md./CLAUDE.mdProject conventions (checked in)
Rules.claude/rules/*.mdContextual rules (loaded by glob/description)
Agents.claude/agents/*.mdAgent personalities and strategies
Skills.claude/skills/*/SKILL.mdSkill definitions
Memory~/.claude/projects/.../memory/Persistent cross-session memory

Phase 3: Identify Gaps

For each learning, classify:

  • Missing — not captured anywhere, needs to be added
  • Contradicts — conflicts with existing rule/memory
  • Vague — existing rule is too general, needs sharpening
  • Wrong layer — captured but in the wrong place (e.g., session-specific in CLAUDE.md)
  • Already covered — no action needed

Phase 4: Propose Updates

Present findings grouped by target file:

## Session Learnings

### New Patterns Found
1. [pattern]: [evidence from session]

### Proposed Updates

#### memory/MEMORY.md
- Add: [new entry]
- Update: [existing entry] → [revised entry]

#### .claude/rules/elixir.md
- Add: [new rule with evidence]

#### CLAUDE.md
- Update: [section] — [what changed and why]

### No Action Needed
- [learning already covered by existing config]

Rules

  • Evidence-based — every proposed update must reference a specific moment in the session
  • Right layer — session-specific → memory, stable patterns → rules, project conventions → CLAUDE.md
  • No duplicates — check existing content before proposing additions
  • Worktree-aware — always write to main tree's memory path, not worktree
  • Confirm before writing — present proposals, wait for user approval before modifying any file
  • Concise memory — MEMORY.md must stay under 200 lines (truncated beyond that)

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

bugfix

無料

Bug hunter. Reproduces bugs with failing tests (RED), then fixes with TDD. Accepts a prompt, issue URL, or bug description. Use when: bugfix, fix bug, debug, broken, regression, failing, doesn't work, fix this.

日本語の概要は準備中です。原文の説明を表示しています。

leandronsp/overmind122026年4月13日 更新

commit

無料

Create a git commit following project conventions. Use when: commit, commit this, make a commit, commit changes, git commit, save changes, commit my work, stage and commit, detailed commit.

日本語の概要は準備中です。原文の説明を表示しています。

leandronsp/overmind122026年4月13日 更新

debug

無料

Elixir debugging workflow and tools. Use when: debug, debugging, pry, inspect, trace, why is this failing, what's wrong, investigate, diagnose.

日本語の概要は準備中です。原文の説明を表示しています。

leandronsp/overmind122026年4月13日 更新

dev

無料

Implementer - fetches a GitHub issue, builds an implementation plan, then implements using TDD. Use when: implement, build this, code this, add this feature, TDD, test first, red green refactor, pick a task, next task, dev.

日本語の概要は準備中です。原文の説明を表示しています。

leandronsp/overmind122026年4月13日 更新

overmind

無料

Orchestrator - spawns an autonomous orchestrator agent that decomposes a task into subtasks and drives multiple Claude agents to completion. Use when: overmind, orchestrate, multi-agent, delegate, spawn agents, break down task, run agents.

日本語の概要は準備中です。原文の説明を表示しています。

leandronsp/overmind122026年4月13日 更新

pair

無料

TDD pair programming with mode switching. Claude can be driver (writes code) or navigator (watches, questions, provokes). Supports GitHub issues, file watching, or arbitrary prompts. Scientific TDD, baby steps, one test at a time. Trigger on: pair, let's pair, tdd, you drive, I'll drive, dojo.

日本語の概要は準備中です。原文の説明を表示しています。

leandronsp/overmind122026年4月13日 更新

leandronsp のスキルをすべて見る

このスキルの問題を報告する