Lint all
Run full lint + format + test + frontend build. Pre-commit / pre-release check.From its SKILL.md
npx -y skills add onur-gokyildiz-bhi/codescope --skill lint-allAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 21 stars21 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.7 KB, as published. Nobody here has run it
/lint-all
Run the complete quality gate locally. Everything CI checks plus a few extras.
When to invoke
- Before any commit (especially before push)
- Before
/ship(release workflow depends on it being clean) - When CI fails and you want to reproduce locally
Steps
# 1. Format (auto-fix in place)
cargo fmt --all
# 2. Clippy with strict warnings
cargo clippy --workspace -- -D warnings
# 3. Run all tests
cargo test --workspace
# 4. Build release binaries (catches release-only errors)
cargo build --release
# 5. Frontend build
cd crates/web/frontend && npm run build && cd ../../..
# 6. Check there are no unstaged changes (means fmt fixed something)
git diff --exit-code
Interpretation
| Result | Meaning |
|---|---|
All green, git diff --exit-code returns 0 | Ready to commit |
| fmt fixed something | Commit the formatting changes |
| clippy warning | Fix before commit (never allow warnings) |
| test failure | Stop; investigate |
| npm build warning about chunk size | Expected for three.js bundle, ignore |
Common failures
unnecessary_min_or_max— clippy suggests removing.max(0)on unsigned typesptr_arg— clippy prefers&Pathover&PathBufin function argsneedless_borrow— remove unnecessary&in refs- fmt on Windows — CRLF warnings are normal; the line ending change is handled by
.gitattributes
Codescope-first rule
When clippy complains about a function:
search(mode="exact", query=<function_name>)to see it in the graph- Don't Read the whole file just to see the complaint location