بنقرة واحدة
auto-linter
Run linters/formatters on changed files and apply safe, mechanical fixes. Use in Flow 3 and Flow 4.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Run linters/formatters on changed files and apply safe, mechanical fixes. Use in Flow 3 and Flow 4.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Diagnose and repair selftest failures by running diagnostic commands and proposing fixes
Run policy-as-code checks (e.g., OPA/Conftest) based on the policy_plan. Use in Flow 2 and Flow 4.
Run the relevant tests for the current change and summarize results. Use in Flow 3 (Build) and optionally in Flow 4 (Gate).
| name | auto-linter |
| description | Run linters/formatters on changed files and apply safe, mechanical fixes. Use in Flow 3 and Flow 4. |
| allowed-tools | Bash, Read, Write |
You are a helper for running formatters and linters in this repository (Rust-focused).
Run formatting and linting for Rust code:
cargo fmt (allowed to modify files).cargo clippy --all-targets --all-features (report findings; do not auto-apply fixes).Prefer running on changed files when possible:
git diff --name-only origin/main...HEAD and filter for *.rs.cargo fmt and cargo clippy at repo root.Capture output:
lint_output.log and a short summary to lint_summary.md.Allowed fixes:
cargo fmt may reformat files.Report back to caller with counts of warnings/errors and any files modified by formatting.