/diagram
Add or improve a Mermaid diagram on a wiki concept page
> /plugin marketplace add IssacW228/student-llm-wiki > /plugin install student-llm-wiki@student-llm-wiki
How it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/diagram
Context preview
What this command does when you run it.
Add or improve a Mermaid diagram on a wiki concept page
Command definition
diagram.mddescription: Add or improve a Mermaid diagram on a wiki concept page argument-hint: [concept name or path, e.g. Attention-Mechanism or wiki/concepts/Attention-Mechanism.md]
Use the wiki-diagram skill to add/improve a Mermaid diagram for: $ARGUMENTS
Read the target page first. Pick the diagram type that fits best (flowchart/sequenceDiagram/mindmap/stateDiagram-v2/graph) per the wiki-diagram mapping, keep it to ≤10 nodes, and insert it under a `## 图解 Diagram` section via a local edit — don't rewrite the whole page.
用 AI 把课件变成你自己的知识库 Turn your course slides into a personal wiki with AI
Other commands on student-llm-wiki.
- /exam-prep
Generate practice exam questions from weak concepts in a course
Open command - /ingest
Digest a course source file into the wiki (dedup + concept pages + cross-course links)
Open command - /lint
Health-check the wiki — orphans, broken links, contradictions, confidence decay
Open command - /review
Feynman-technique review mode — quiz me and update confidence
Open command

