lwy-dispatch

Installation
SKILL.md

learnwy-dispatch

Single-process coordinator for the three IDE-hook events shared by the learnwy-* skills.

Why

Before this skill, every event fired N separate hook commands — one Node process per skill — and the user saw N back-to-back <system-reminder> blocks per turn. That multiplies the per-turn hook startup cost (~50 ms × N vs ~50 ms) and clutters context.

This skill replaces those entries with one hook per event that imports each skill's pure scanner function, runs them in-process, and emits a single combined reminder.

What runs per event

UserPromptSubmit (hooks/user-prompt-submit.cjs)

Order Module Returns reminder when
1 english-learner/lib/prompt-scan.scanPrompt English ratio ≥ 0.6 OR Chinese learn-intent OR Chinese ratio ≥ 0.3
2 llm-wiki/lib/prompt-scan.scanPrompt wiki/topics.txt has any keyword overlapping a 4+ char word in the message
3 prompt-optimizer/lib/prompt-scan.scanPrompt explicit "optimize my prompt" trigger OR long structured prompt-shape
Installs
9
Repository
learnwy/skills
GitHub Stars
3
First Seen
Jun 4, 2026
lwy-dispatch — learnwy/skills