com um clique
validate
// Run the correct validation checks for changed files in this repository (Bun frontend checks, uv Python checks, and workflow or guidance verification).
// Run the correct validation checks for changed files in this repository (Bun frontend checks, uv Python checks, and workflow or guidance verification).
| name | validate |
| description | Run the correct validation checks for changed files in this repository (Bun frontend checks, uv Python checks, and workflow or guidance verification). |
| 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 repo areas changed:
apps/webapps/apipackages/configpackages/llm-corepackages/shared/pythonpackages/code-index.github/ workflows, instructions, or skillsRun only the checks relevant to changed files:
Frontend (apps/web/**/*.{js,jsx,ts,tsx})
cd apps/web
bun install
bun run lint
bun run typecheck
bun run build
API (apps/api/**/*.py)
cd apps/api
export PYTHONPATH=src:../../packages/config/src
uv sync --all-extras
uv run ruff format --check
uv run ruff check
uv run pyrefly check
uv run pytest
Shared Python packages (packages/config, packages/shared/python, packages/code-index, packages/llm-core)
cd <package>
uv sync
uv run ruff format --check src/
uv run ruff check src/
Workflow, instruction, or skill changes under .github/
Verify every referenced path and command exists.
Re-run the repo commands referenced by the changed guidance when practical.
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.