validate
Validate
Run the narrowest checks that cover the files you have changed.
Triggers
Use this skill when asked to validate, lint, type-check, or test changes before committing.
Steps
-
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.
Invariants
- Never remove or skip a check to make it pass.
- Do not modify test files to suppress failures unless the test itself is wrong.
- Report any pre-existing failures that are unrelated to your changes rather than silently fixing them.
More from ven0m0/claude-config
llm-boost
|
20uv
|
11substituting-modern-tools
Substitutes modern performant tools for legacy equivalents in generated code (npm→bun, find→fd, pip→uv, grep→rg, jq→jaq, eslint→biome, black→ruff, git→gix). Use when generating shell commands or scripts.
9linter autofix patterns
Cross-language linter autofix commands and common fix patterns for biome, ruff, clippy, shellcheck, and more.
9moai-tool-svg
>
5building-mcp-servers
Creates high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services. Use when building MCP servers to integrate APIs, designing tool schemas, or implementing Python (FastMCP) or TypeScript (MCP SDK) servers. Triggers include "MCP server", "tool schema", "model context protocol", or "FastMCP".
5