# Megg Learn

> Capture a learning to megg knowledge

- Skill: `majiayu000/megg-learn` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds add majiayu000/megg-learn`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/megg-learn/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/megg-learn

---


# Capture Learning

User wants to save something to megg knowledge.

## Process

1. If argument provided, use it as the learning content
2. If no argument, ask: "What should we capture?"
3. Determine the appropriate entry type:
   - **decision**: Architectural or design choice made
   - **pattern**: How we do things here (reusable approach)
   - **gotcha**: Trap to avoid, something that caught us
   - **context**: Background info, not actionable
4. Extract or ask for relevant topics (tags for categorization)
5. Use the `mcp__megg__learn` tool to save

## Example

User: `/megg-learn always use absolute paths in hooks`

→ Capture as **pattern** with topics like `hooks`, `paths`

## Important

- Keep entries concise and actionable
- Topics should be 1-3 words each
- Title should be short (5-10 words max)
- Content can include examples or context

