Load the corresponding tutorial based on keywords, guide the user through configuration step by step, and verify results at key steps.
Core Philosophy
The core of a tutorial-type skill is not "explaining knowledge" but "helping the user get it running." Every tutorial must verify results—did the service start, can the command be used. Getting it running matters more than understanding.
Inapplicable Scenarios
- Asking "how to use XX tool" (usage tutorial) → answer directly based on SKILL.md content, without step-by-step guidance
- Asking "help me configure XX" but there is no corresponding tutorial in the routing table → tell the user there are currently only 5 tutorials and list the available range
- Asking to "write a tutorial" (create a tutorial) → use the laohan-skillcreator workflow
Routing Table
| Keyword Match | Tutorial File | One-line Description |
|---|---|---|
| "claude-mem"/"litellm"/"memory"/"forgetful" | references/claude-mem-litellm.md |
claude-mem + LiteLLM enables Claude Code to achieve cross-session memory with domestic models |
| "CLAUDE.md"/"claude-md"/"configuration guide"/"four principles" | references/claude-md-guide.md |
The four core principles of CLAUDE.md (think clearly before acting / 50 lines if possible, not 200 / only change what should be changed / goal-driven execution) |
| "gemini"/"sidebar"/"chrome gemini" | references/gemini-sidebar-fix.md |
Chrome Gemini sidebar domestic fix (both Mac + Windows platforms) |
| "glm"/"Zhipu"/"claude-code-glm"/"domestic model" | references/claude-code-glm.md |
Integrate Claude Code with Zhipu GLM as the backend |
| "ecc"/"plugin"/"everything-claude-code" | references/ecc-plugin-guide.md |
ECC plugin installation, rules distribution, hooks loading mechanism |
Execution Logic
- Match Tutorial: extract keywords from user input and determine the target tutorial according to the routing table
- If the keywords do not match any tutorial → list the 5 available tutorials and let the user choose
- Load Tutorial: read
references/<对应文件>.mdin full- Completion condition: the file exists and is non-empty
- Step-by-Step Guidance: present the tutorial content step by step; after each step is completed, wait for user confirmation before proceeding to the next step
- Verification: verify results after key steps are executed (service started, configuration took effect, command usable)
- Completion condition: the verification command returns success (such as
curl /healthreturning 200, the command--versionoutputting the version number)
- Completion condition: the verification command returns success (such as
- Complete: output a configuration summary + next-step suggestions
Tutorial Source and Sync
The tutorial source files are maintained in ~/Documents/laohan-skills/docs/ . This skill's references/ is a synchronized copy.
Update Workflow:
- Modify
docs/*.md(source file) cp docs/*.md laohan-jiaocheng/references/(sync)- If there are new tutorials, update this routing table after syncing
git add && git commit && git push
Sync Check(execute on each use):
- Verify
references/that all 5 files exist - If files are missing, prompt to sync first:
cd ~/Documents/laohan-skills && cp docs/*.md laohan-jiaocheng/references/