skill-learn

Consolidate actionable lessons after another skill is used and required multiple correction rounds. Use this skill at task closure to extract concrete failures from the current conversation, propose safe incremental updates to the original skill files, show a diff first, and only apply changes after explicit user confirmation. Works for Claude and Codex skill workflows.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "skill-learn" with this command: npx skills add rxdaozhang/skill-learn/rxdaozhang-skill-learn-skill-learn

Skill Learn

Overview

Use this skill at the end of a task to improve the original skill that was just used. Extract concrete, evidence-based lessons from the current conversation and convert them into executable guidance for the target skill.

Workflow

  1. Resolve the target skill.
  2. Collect evidence from the current conversation only.
  3. Extract lessons in a strict schema.
  4. Propose incremental file updates.
  5. Show diff/patch before write.
  6. Apply changes only after explicit confirmation.

Resolve Target Skill

Follow this resolution order:

  1. Use explicit target path from user input if provided.
  2. Otherwise infer from the most recently used skill in the current context.
  3. If still ambiguous, ask one clarifying question and stop before proposing any write.

Never guess a target when two or more plausible skills exist.

Extract Lessons from Chat History

Use only the current conversation as evidence.

For each lesson, output this schema:

  • Rule: What to do next time.
  • Anti-pattern: What failed or caused rework.
  • Correction: Concrete action to prevent recurrence.
  • Trigger: When this rule should be applied.
  • Example (optional): A short concrete example.

Quality gate:

  • Reject vague lessons such as "be better" or "be careful."
  • Require concrete evidence from an observed iteration or correction.
  • Prefer procedural wording that another agent can execute directly.

If evidence is insufficient, report that and do not propose a file write.

For reusable patterns and examples, consult:

  • references/lesson-patterns.md

Update Rules (Incremental Only)

When proposing updates to the target skill:

  1. Never rewrite the entire file.
  2. Prefer updating an existing anchored section such as ## Lessons Learned.
  3. If no suitable anchor exists, append a bounded new section at the end.
  4. Keep unrelated sections unchanged.
  5. Keep SKILL.md concise; move long canonical detail to references/skill-learn-lessons.md in the target skill and add a pointer from SKILL.md.

Do not delete or reorder unrelated guidance unless explicitly requested.

Diff-First Confirmation

Before any write:

  1. Present a readable diff/patch for each target file.
  2. Summarize the expected behavioral improvement.
  3. Ask for explicit confirmation.

Write only after confirmation. If confirmation is not provided, stop after delivering the proposal.

Failure Handling

Handle these cases explicitly:

  1. Target skill not found: ask for path or exact skill name.
  2. Multiple candidate targets: request disambiguation.
  3. No clear lessons with evidence: return "no high-confidence lesson updates."
  4. Requested change violates incremental policy: explain and offer an incremental alternative.

Output Format

Use this response structure:

  1. Target Skill
  2. Evidence Extracted
  3. Proposed Lessons (Rule / Anti-pattern / Correction / Trigger / Example)
  4. Proposed File Changes
  5. Diff Preview
  6. Confirmation Request

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

product-reverse

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

openclaw-version-monitor

监控 OpenClaw GitHub 版本更新,获取最新版本发布说明,翻译成中文, 并推送到 Telegram 和 Feishu。用于:(1) 定时检查版本更新 (2) 推送版本更新通知 (3) 生成中文版发布说明

Archived SourceRecently Updated
Coding

ask-claude

Delegate a task to Claude Code CLI and immediately report the result back in chat. Supports persistent sessions with full context memory. Safe execution: no data exfiltration, no external calls, file operations confined to workspace. Use when the user asks to run Claude, delegate a coding task, continue a previous Claude session, or any task benefiting from Claude Code's tools (file editing, code analysis, bash, etc.).

Archived SourceRecently Updated
Coding

ai-dating

This skill enables dating and matchmaking workflows. Use it when a user asks to make friends, find a partner, run matchmaking, or provide dating preferences/profile updates. The skill should execute `dating-cli` commands to complete profile setup, task creation/update, match checking, contact reveal, and review.

Archived SourceRecently Updated