Learner

From MeroZemory/oh-my-droid · View interactive version

Learner is an AI agent skill from the GitHub repository MeroZemory/oh-my-droid. Extract a learned skill from the current conversation

How to use this skill

Skill file

Learner Skill

The Insight

Reusable skills are not code snippets to copy-paste, but principles and decision-making heuristics that teach the agent HOW TO THINK about a class of problems.

The difference:

A good skill changes how the agent APPROACHES problems, not just what code it produces.

Why This Matters

Before extracting a skill, ask yourself:

If a potential skill fails any of these questions, it's not worth saving.

Recognition Pattern

Use /learner ONLY after:

The Approach

Extraction Process

Step 1: Gather Required Information

Step 2: Quality Validation

The system REJECTS skills that are:

Step 3: Save Location

What Makes a USEFUL Skill

CRITICAL: Not every solution is worth saving. A good skill is:

  1. Non-Googleable: Something you couldn't easily find via search
  1. Context-Specific: References actual files, error messages, or patterns from THIS codebase
  1. Actionable with Precision: Tells you exactly WHAT to do and WHERE
  1. Hard-Won: Took significant debugging effort to discover

Anti-Patterns (DO NOT EXTRACT)

Skill Format

Skills are saved as markdown with this structure:

YAML Frontmatter

Standard metadata fields:

Body Structure (Required)

# [Skill Name]

## The Insight
What is the underlying PRINCIPLE you discovered? Not the code, but the mental model.
Example: "Async I/O operations are independently failable. Client lifecycle != server lifecycle."

## Why This Matters
What goes wrong if you don't know this? What symptom led you here?
Example: "Proxy server crashes on client disconnect, taking down other requests."

## Recognition Pattern
How do you know when this skill applies? What are the signs?
Example: "Building any long-lived connection handler (proxy, websocket, SSE)"

## The Approach
The decision-making heuristic, not just code. How should the agent THINK about this?
Example: "For each I/O operation, ask: what if this fails right now? Handle it locally."

## Example (Optional)
If code helps, show it - but as illustration of the principle, not copy-paste material.

Key: A skill is REUSABLE if the agent can apply it to NEW situations, not just identical ones.

Related Commands

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.