Typescript Advanced Types
rolling-scopes/rsschool-app
Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building type-safe applications.
“文档更新技能,用于批量更新文档和修复路径别名”
$ npx skills add shenjingnan/xiaozhi-client --skill docs-updater -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install shenjingnan/xiaozhi-client docs-updater --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/shenjingnan/xiaozhi-client.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/docs-updater .claude/skills/docs-updater && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "docs-updater" agent skill from https://github.com/shenjingnan/xiaozhi-client/tree/main/.agents/skills/docs-updater into .claude/skills/docs-updater/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "docs-updater", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/shenjingnan/xiaozhi-client/tree/main/.agents/skills/docs-updaterType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add shenjingnan/xiaozhi-client --skill docs-updater -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install shenjingnan/xiaozhi-client docs-updater --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/shenjingnan/xiaozhi-client.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/docs-updater .agents/skills/docs-updater && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "docs-updater" agent skill from https://github.com/shenjingnan/xiaozhi-client/tree/main/.agents/skills/docs-updater into .agents/skills/docs-updater/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "docs-updater", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add shenjingnan/xiaozhi-client --skill docs-updater -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install shenjingnan/xiaozhi-client docs-updater --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/shenjingnan/xiaozhi-client.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/docs-updater .cursor/skills/docs-updater && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "docs-updater" agent skill from https://github.com/shenjingnan/xiaozhi-client/tree/main/.agents/skills/docs-updater into .cursor/skills/docs-updater/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "docs-updater", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/shenjingnan/xiaozhi-client.git --path .agents/skills/docs-updater--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add shenjingnan/xiaozhi-client --skill docs-updater -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install shenjingnan/xiaozhi-client docs-updater --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/shenjingnan/xiaozhi-client.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/docs-updater .gemini/skills/docs-updater && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "docs-updater" agent skill from https://github.com/shenjingnan/xiaozhi-client/tree/main/.agents/skills/docs-updater into .gemini/skills/docs-updater/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "docs-updater", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install shenjingnan/xiaozhi-client docs-updaterInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add shenjingnan/xiaozhi-client --skill docs-updater -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/shenjingnan/xiaozhi-client.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/docs-updater .github/skills/docs-updater && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "docs-updater" agent skill from https://github.com/shenjingnan/xiaozhi-client/tree/main/.agents/skills/docs-updater into .github/skills/docs-updater/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "docs-updater", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add shenjingnan/xiaozhi-client --skill docs-updater -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install shenjingnan/xiaozhi-client docs-updater --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/shenjingnan/xiaozhi-client.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/docs-updater .opencode/skills/docs-updater && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "docs-updater" agent skill from https://github.com/shenjingnan/xiaozhi-client/tree/main/.agents/skills/docs-updater into .opencode/skills/docs-updater/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "docs-updater", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
docs-updaterDocs Updater is a skill in shenjingnan/xiaozhi-client (341 stars). Its SKILL.md is about 664 tokens. Licence: MIT.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit fe3c382. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
pnpmcurlFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use pnpm and curl, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Docs Updater loads about 664 tokens when it runs. Until then it costs about 9 tokens; SKILL.md has 130 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from shenjingnan/xiaozhi-client at commit fe3c382, republished under its MIT licence (© shenjingnan). 130 words, ~664 tokens.
.claude/skills/docs-updater/SKILL.md (or your agent's skills folder).我是一个文档更新专家,专门批量更新现有文档内容并修复路径别名问题。
当你需要更新现有文档时,我会:
使用格式:/docs-update [更新类型] [目标]
示例:
/docs-update path-aliases - 批量修复所有文档的路径别名/docs-update path-aliases development/docker-build.mdx - 修复特定文件/docs-update path-aliases usage/ - 修复整个目录/docs-update code-examples typescript - 优化 TypeScript 代码示例/docs-update format-fix getting-started/quickstart.mdx - 修复格式问题/docs-update links-update internal - 更新内部链接作用范围:
docs/ 下的 .mdx 和 .md 文件修复内容:
../ 和 ./ 替换为 @/xxx 格式typescript、javascript、bashinternal、external、images基于 xiaozhi-client 项目的路径别名系统:
// xiaozhi-client 项目别名映射(单体架构,统一 @/ 路径别名体系)
{
"@/types": ["./src/types"], // 共享类型定义
"@/config": ["./src/config"], // 配置管理
"@/mcp-core": ["./src/mcp-core"], // MCP 协议核心
"@/endpoint": ["./src/endpoint"], // 端点处理
"@/esp32": ["./src/esp32"], // ESP32 硬件相关
"@/cli": ["./src/cli"], // CLI 命令行工具
"@/utils": ["./src/utils"], // 通用工具
"@/server": ["./src/server"] // 后端服务(含 handlers、services、routes 等)
}// ❌ 需要修复的相对路径
import { Service } from "../services/file";
import { Command } from "./commands/help";
import { Type } from "../../types/interface";
import { util } from "./utils/helper";
// ✅ 修复后的别名路径(xiaozhi-client @/ 路径别名体系)
import { Service } from "@/server/services/file";
import { Command } from "@/cli/commands/start";
import { Type } from "@/types/interface";
import { util } from "@/utils/helper";# 本地验证流程
pnpm dev:docs
# 等待服务启动后检查状态
curl -s -o /dev/null -w "%{http_code}" http://localhost:3000
# 运行代码质量检查
pnpm spellcheck
pnpm lint
pnpm typecheck以下相对路径使用是合理的,不会被自动修复:
对于复杂或不确定的修复:
© shenjingnan, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/docs-updater of shenjingnan/xiaozhi-client.
Open the folder on GitHubat commit fe3c382
Docs Updater next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Docs Updater this skillshenjingnan/xiaozhi-client | 341 | — | ~664 | Automated safety check: Pass | MIT | |
| Typescript Advanced Typesrolling-scopes/rsschool-app | 10k | 25 repos | ~4.2k | Automated safety check: Pass | MPL-2.0 | |
| Code Review ChecklistshareAI-lab/learn-claude-code | 78k | 4 repos | ~1.1k | Automated safety check: Pass | MIT | |
| Nx Importnrwl/nx | 29k | 6 repos | ~3.5k | Automated safety check: Pass | MIT | |
| Install Anti-Slop Oxlint Rulesdmmulroy/anti-slop | 5.4k | — | ~2.2k | Automated safety check: Pass | MIT | |
| OpenTUI Terminal Interfacescline/cline | 70k | — | ~1.9k | Automated safety check: Pass | Apache-2.0 |
rolling-scopes/rsschool-app
Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building type-safe applications.
shareAI-lab/learn-claude-code
Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.
nrwl/nx
Import, merge, or combine repositories into an Nx workspace using nx import.
dmmulroy/anti-slop
Installs, updates or migrates the vendored anti-slop Oxlint plugin in a repository, keeping local rule changes and the plugin's license and provenance files.
cline/cline
Helps build terminal user interfaces with OpenTUI using its core imperative API or its React and Solid reconcilers, with references for layout, keyboard, animation and testing.
langgenius/dify
Reviews frontend changes under `web/` or `packages/dify-ui/` for concrete defects and broken project contracts, using routed rule packs and a severity scale for findings.
shenjingnan/xiaozhi-client
分析当前分支 git 改动,检查 e2e 测试用例覆盖情况,并可补充缺失的测试用例. An agent skill from shenjingnan/xiaozhi-client.
shenjingnan/xiaozhi-client
GitHub 评论修复技能,用于获取 PR 的 Copilot 评论并分析修复问题. An agent skill from shenjingnan/xiaozhi-client.
shenjingnan/xiaozhi-client
文档自动生成
shenjingnan/xiaozhi-client
CI检查验证和质量保障
shenjingnan/xiaozhi-client
生成代码评审友好的 commit 信息
shenjingnan/xiaozhi-client
开发流程检查技能,确保代码修改后执行必要的质量检查
Works with
Categories
Run `npx skills add shenjingnan/xiaozhi-client --skill docs-updater -a claude-code`. Or copy the skill folder (.agents/skills/docs-updater in shenjingnan/xiaozhi-client) into .claude/skills/docs-updater in your project. Claude Code loads it when a task matches its description.
Run `npx skills add shenjingnan/xiaozhi-client --skill docs-updater -a codex`. Or copy the skill folder (.agents/skills/docs-updater in shenjingnan/xiaozhi-client) into .agents/skills/docs-updater in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add shenjingnan/xiaozhi-client --skill docs-updater -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/docs-updater, .gemini/skills/docs-updater, .github/skills/docs-updater and .opencode/skills/docs-updater in your project.
Going by SKILL.md and its folder, Docs Updater needs the command-line tools its instructions call (pnpm and curl).
SKILL.md contains no URLs. Its commands use curl, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Docs Updater is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 664 tokens (SKILL.md is roughly 2.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Docs Updater: Typescript Advanced Types (rolling-scopes/rsschool-app, 10k stars), Code Review Checklist (shareAI-lab/learn-claude-code, 78k stars), Nx Import (nrwl/nx, 29k stars) and Install Anti-Slop Oxlint Rules (dmmulroy/anti-slop, 5.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
shenjingnan (a GitHub user) maintains it in shenjingnan/xiaozhi-client, which has 341 GitHub stars. The repository holds 16 skills in this directory. The repository was last updated on September 3, 2026.
Source: shenjingnan/xiaozhi-client on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.