Validate skills

From gopherguides/gopher-ai · View interactive version

Validate skills is an AI agent skill from the GitHub repository gopherguides/gopher-ai. Validates fenced bash, sh, shell, and zsh blocks in plugin Markdown with syntax checks, conservative command classification, guarded execution, and portability review. Use after editing command or skill Markdown or when its shell validation fails.

How to use this skill

Skill file

Validate Skills

Use $go-dev:validate-skills [file|directory] [--json] to validate one file,

one directory, or the default plugin command and skill Markdown paths.

Plugin Resource Resolution

<PLUGIN_ROOT> is notation. Replace it with a concrete absolute plugin root

before every resource read or command:

SKILL.md path, then ascend two directories (skills/<name> to plugin root).

Read both shared workflow files completely before acting:

  1. <PLUGIN_ROOT>/lib/codex-command-adapter.md
  2. <PLUGIN_ROOT>/commands/validate-skills.md

Resolve <PLUGIN_ROOT>/scripts/validate-skills.py, pass the adapter-bound

SKILL_ARGS as distinct arguments without evaluating them, and execute the

helper. With --json, return its stdout unchanged so the result remains one

JSON object. Propagate its exit status.

Use these references when interpreting findings or changing validator rules:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.