一键导入
validate
Use when validating changed files in this repository with the narrowest relevant checks (ruff, biome, shellcheck, claudelint, pytest).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when validating changed files in this repository with the narrowest relevant checks (ruff, biome, shellcheck, claudelint, pytest).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
jq JSON processing: query, filter, transform JSON. Use when parsing JSON files, filtering arrays/objects, transforming structures, or extracting fields from JSON.
Validates JSON data against JSON Schema using the z-schema library. Use when the user needs to validate JSON, check data against a schema, handle validation errors, use custom format validators, work with JSON Schema drafts 04 through 2020-12, set up z-schema in a project, compile schemas with cross-references, resolve remote $ref, configure validation options, or inspect error details. Covers sync/async modes, safe error handling, schema pre-compilation, remote references, TypeScript types, and browser/UMD usage.
Use when editing or reviewing MC-Server shell tooling in `tools/` and related shell helpers.
| name | validate |
| description | Use when validating changed files in this repository with the narrowest relevant checks (ruff, biome, shellcheck, claudelint, pytest). |
| allowed-tools | Read, Bash, Grep, Glob |
Run the narrowest checks that cover the files you have changed.
Use this skill when asked to validate, lint, type-check, or test changes before committing.
Identify which file types were changed (Python, JS/TS, shell, Markdown/agent docs, or mixed).
Run only the checks relevant to changed files:
**Python (**/\*.py)**
uv run ruff format --check <paths>
uv run ruff check <paths>
uv run pytest <test-target>
**JS / TS (**/_.ts, \*\*/_.js, etc.)**
bunx @biomejs/biome check <paths>
bun run tsc --noEmit
**Shell (**/\*.sh)**
shellcheck <paths>
**Agent / skill docs (claude/agents/**, claude/skills/**, .github/skills/**)**
bun run lint:claude
Fix reported issues in the changed files only. Do not touch unrelated files.
Re-run the affected check to confirm it passes before reporting success.