用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/sapegin/dotfiles --skill teach命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | teach |
| description | Teach user something, add or update topics in the personal handbook. |
| disable-model-invocation | true |
| argument-hint | What would you like to learn about? |
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.
Write in Artem Sapegin’s voice: candid, practical, conversational, and grounded in concrete experience. Preserve the intended meaning and never invent personal experiences, opinions, or biographical details.
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.
~/murder/zz-handbook/
_index.yaml # routing map — maintain on every write
glossary.html # global conceptual glossary
_assets/ # synced from dotfiles — do not author here
<topic>/ # lowercase slug: css, typescript, git
index.html # topic hub — create with new topics
<doc>.html # handbook pages: layout.html, grid.html
Never symlink into ~/murder. Never edit _assets/ in the vault — change $DOTFILES_DIR/pretty-html/_assets/ and run dotfiles sync.
css) and subject (e.g. centering)._index.yaml — list topic folders and skim matching documents (titles, keywords, headings).css/layout.html, not centering.html).container-queries.html, not grid-template-areas.html).<topic>/index.html hub linking its docs.<ss-resources> and inline where claims need backing. Do not trust parametric knowledge alone for factual claims.<ss-code>, <ss-demo>, <ss-diagram>, <ss-callout>, and <ss-resources> as appropriate._index.yaml — add or refresh keywords, titles, and file paths.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 ~/murder/zz-handbook/<topic>/<doc>.html
Tell the user what was created or updated and invite follow-up questions on the same topic.
_index.yaml formatcss:
layout:
file: css/layout.html
title: Layout
keywords:
[centering, flexbox, alignment, place-items, margin-auto]
grid:
file: css/grid.html
title: Grid
keywords: [grid, fr, gap, template-areas]
.html.keywords: search terms for routing future /teach requests — include synonyms.Each handbook page is scannable reference written in raccoon voice, not a sequential lesson:
Handbook / Topic, linking to the root index and topic hub.<h2>) per technique or subtopic.<ss-code> or <ss-demo> → callout if easy to forget → optional diagram.<ss-resources> for further reading.When updating an existing doc, merge into the right section; do not duplicate content elsewhere in the file.
glossary.html uses the same pretty-html shell. Each term: <h2 id="term-slug">, definition in raccoon voice, 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).
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.
_assets/ copies or duplicate components.js / CSS into topic folders.基于 SOC 职业分类