dev-learnlisted
Install: claude install-skill AirMile/claude-config
## Overview
Understanding-first learning skill for coding topics. Accepts lesson URLs (GitHub, docs), topic names, file paths, or pasted code. Breaks material into core concepts, teaches through comprehension methods, generates educational code with annotations, and offers optional hands-on practice. Auto quick mode for simple topics (1-2 concepts). Final output can be copied to clipboard.
Flow: parse input → identify concepts → [auto quick or full] → teach (method choice) → working example → practice (optional) → copy summary to clipboard.
## Workflow
### Phase 0: Parse Input
**URL detected** (starts with `http`):
1. Fetch content via WebFetch. If fetch fails (timeout, 404, auth required, redirect loop):
```yaml
header: "Fallback"
question: "URL not reachable. How do you want to proceed?"
options:
- label: "Paste content (Recommended)", description: "Paste the lesson content here — I'll process it as text"
- label: "Describe the topic", description: "Describe the topic in your own words, continue without a source"
multiSelect: false
```
On paste: continue with pasted content as if fetched. On describe: switch to topic-text flow below.
2. Extract: topic title, core content, assignments/exercises if present
3. Detect course code from URL path (e.g., `PRG07` from `HR-CMGT/PRG07-2025-2026`)
**File path detected** (contains `/` or `\` with file extension, or starts with `src/`, `app/`, `./`):
1. Read the file(s) via Read tool. If input conta