بنقرة واحدة
بنقرة واحدة
Refresh ReVanced-auto Copilot bootstrap assets so agents can set up Python, Java, Android, and repo tooling from the repository itself.
Optimize code for readability, performance, maintainability, and security across Bash, Python, and Rust. Use when asked to improve code quality, optimize performance, add type safety, or refactor for idioms.
| name | validate |
| description | Run the narrowest ReVanced-auto validation for the files you changed. |
| allowed-tools | Read, Bash, Grep, Glob |
Run only the repo checks that apply to the changed files.
Use this skill before reporting completion on ReVanced-auto changes.
Identify the changed files and group them by type: Python, shell, workflows/YAML/TOML/JSON, or guidance docs.
Run the narrowest matching validation:
Python (**/*.py)
uv run ruff format --check <paths>
uv run ruff check <paths>
uv run python -m pytest <relevant-test-targets> -v
Use the repo test mapping from AGENTS.md when picking pytest targets.
Shell (**/*.sh)
bash -n <paths>
shellcheck <paths>
Run ./scripts/lint.sh as an additional repo check when the shell change is broad.
GitHub workflows (.github/workflows/*.yml)
actionlint <paths>
Other YAML / TOML / JSON changes
yamllint <paths> # YAML
tombi format --check <paths> # TOML formatting
tombi lint <schema-backed-paths> # TOML linting (for example: pyproject.toml, config.toml)
biome check <paths> # JSON / HTML / CSS and other Biome-managed files
If the tools are already installed, ./scripts/lint.sh is the combined repo check.
Guidance docs (.github/copilot-instructions.md, .github/instructions/*.instructions.md, .github/skills/*/SKILL.md)
There is no dedicated markdown linter in this repo. Verify references directly:
command -v <command>
test -e <path>
Validate any touched workflows separately with actionlint.
Fix issues in the changed files only. Report unrelated pre-existing failures instead of broadening the change.
Re-run the affected check before reporting success.