sapegin/dotfiles/teach
Claude Code and agent skill by sapegin/dotfiles
- community
Checking that the SKILL.md file is still in the repository.
Teach user something, add or update topics in the personal handbook.
Install
npx vskill@latest install sapegin/dotfiles/teachSKILL.md
The user wants handbook/cookbook knowledge captured as durable HTML. The handbook is the memory and a self-writing book.
Handbook root in Obsidian Vault: ~/murder/zz-handbook/
Read and follow the pretty-html skill for every HTML page. When you need current official documentation, use the web_search and web_fetch tools.
Tone
Read and follow the English writing style guide.
Optimize for a reader who forgets easy details: use <ss-callout variant="remember">, gotcha, prefer, and avoid liberally when something is counter-intuitive or easy to misremember. Prefer repeating a key fact in a callout rather than burying it in prose.
Handbook layout
Never symlink into ~/murder. Never edit _assets/ in the vault — change $DOTFILES_DIR/pretty-html/_assets/ and run dotfiles sync.
Workflow
- Parse the question — infer topic slug (e.g.
css) and subject (e.g. centering). - Read `_index.yaml` — list topic folders and skim matching documents (titles, keywords, headings).
- Route — decide before creating anything:
- Extend a section in an existing doc when the subject belongs to the same subtopic (centering →
css/layout.html, notcentering.html). - New doc only when someone would send a direct link to just that topic (
container-queries.html, notgrid-template-areas.html). - New topic folder when the domain is new — add
<topic>/index.htmlhub linking its docs.
- Gather sources — prefer MDN, specifications, and official vendor docs. Cite them in
<ss-resources>and inline where claims need backing. Do not trust parametric knowledge alone for factual claims. - Write or update HTML — follow pretty-html skill. Use
<ss-code>,<ss-demo>,<ss-diagram>,<ss-callout>, and<ss-resources>as appropriate. - Update `_index.yaml` — add or refresh keywords, titles, and file paths.
- Update `glossary.html` when the question introduces a cross-cutting concept (e.g. pure function, polymorphism, closure). Do not add syntax, API names, or properties (
margin: auto,place-items). - Open the page:
Tell the user what was created or updated and invite follow-up questions on the same topic.
_index.yaml format
- Topic keys: lowercase slugs matching folder names.
- Document keys: lowercase slug matching filename without
.html. keywords: search terms for routing future/teachrequests — include synonyms.
Document structure
Each handbook page is scannable reference written according to the writing guidelines, not a sequential lesson:
- Breadcrumbs before the heading:
Handbook / Topic, linking to the root index and topic hub. - Short intro — what this doc covers.
- Sections (
<h2>) per technique or subtopic. - Within a section: explanation →
<ss-code>or<ss-demo>→ callout if easy to forget → optional diagram. - End with
<ss-resources>for further reading.
When updating an existing doc, merge into the right section; do not duplicate content elsewhere in the file.
Glossary
glossary.html uses the same pretty-html shell. Each term: <h2 id="term-slug">, definition following the writing guidelines, links to handbook docs that use the term, optional external link.
Link from docs with a normal anchor: <a href="../glossary.html#pure-function">pure function</a> (adjust relative path by depth).
Topic hub
When creating a new topic, add <topic>/index.html — breadcrumbs (Handbook / Topic, with the topic marked as the current page), title, one-line description, and an unordered list linking to each doc. The root index.html links all topic hubs and the glossary.
Guardrails
- No mission document, learning records, lessons, spaced repetition, or quizzes.
- No Markdown stubs for Obsidian — HTML is canonical.
- Do not create
_assets/copies or duplicatecomponents.js/ CSS into topic folders. - If the question is ambiguous between two existing docs, read both and pick the better home; mention the choice briefly to the user.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingai/skills/teach/SKILL.md
Popularity
- Repository stars
- 533
- Repository forks
- 51
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/sapegin/dotfiles/teach)