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.

Informations de source

Dépôt
GitbookIO/docs-skills
Dernière activité de la source
27 octobre 2026 à 11:55
Langue détectée de SKILL.md
anglais
Étoiles
0
Forks
0

Options d'installation

Le prompt qui vérifie d'abord la source est sélectionné par défaut. Vous pouvez passer à une commande directe ou télécharger une copie locale.

Vérifiez les fichiers source

Lisez SKILL.md et les fichiers associés affichés par SkillsMP avant de décider de l'installer.

Affichage de SKILL.md

SKILL.md
Instructions source · Aperçu en lecture seule
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
Voir sur GitHub