Skip to main content

document-title

Étoiles12
Forks0
Mis à jour15 juin 2026 à 07:39

Use when adding/changing a page's browser tab title (the `<title>` / `document.title` text shown in Chrome tab strip and history). Single entry point: `useDocumentTitle(zh, en)` hook in `utils/useDocumentTitle.ts`. Auto-flips on LangToggle, auto-cleans up on unmount. NEVER write `document.title = ...` in new code. Triggers: "tab 名", "tab 标题", "浏览器标题", "页面标题", "document.title", "document title", "tab title", "browser title", "网页标题", "useDocumentTitle".

Installation

Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.

SKILL.md
readonly