Skip to main content

code-sample-checker

Planned: verify that code samples in documentation are syntactically valid, use current APIs and package versions, are consistent across languages, and run where possible. Use when a writer asks to test, validate, or update code snippets, examples, or quickstarts in docs. Scaffold only; not ready for use.

来源信息

仓库
GitbookIO/docs-skills
最近来源活动
2026年10月27日 11:55
检测到的 SKILL.md 语言
英语
星标
0
Forks
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
code-sample-checker
description
Planned: verify that code samples in documentation are syntactically valid, use current APIs and package versions, are consistent across languages, and run where possible. Use when a writer asks to test, validate, or update code snippets, examples, or quickstarts in docs. Scaffold only; not ready for use.
# Code sample checker Find and check every code sample in a docs set so that copied examples work for readers and agents. ## Status Scaffold only — not ready for use. ## Planned - Extract fenced code blocks with their language tags and surrounding context - Lint or parse each sample for its language and flag missing language tags - Flag deprecated APIs, outdated package versions, and placeholder values that are not explained - Run safe, self-contained samples in a sandbox when the user allows it - Check that equivalent samples in different languages do the same thing
在 GitHub 查看