with one click
lint
Run formatting and linting checks on the codebase
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Run formatting and linting checks on the codebase
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Quickly commit, push, and create a PR while leaving validation to GitHub checks
Quickly commit and push local changes while leaving validation to GitHub checks
Step-by-step guide for adding new pages to the Yew frontend
Step-by-step guide for adding new OAuth integrations to Lightfriend
Step-by-step guide for modifying database schema using Diesel migrations
Update Lightfriend documentation and create commit
| name | lint |
| description | Run formatting and linting checks on the codebase |
Run all code quality checks without committing.
cd backend && cargo fmt --check
Report pass/fail status.
cd backend && cargo clippy --workspace --all-targets --all-features -- -D warnings
Report any warnings or errors.
Report overall status:
If formatting fails, offer to auto-fix:
cd backend && cargo fmt
For clippy issues, some can be auto-fixed:
cd backend && cargo clippy --fix --allow-dirty --allow-staged
Note: Not all clippy issues are auto-fixable. Manual fixes may be required.
# Check only
cd backend && cargo fmt --check && cargo clippy --workspace --all-targets --all-features -- -D warnings
# Auto-fix formatting
cd backend && cargo fmt
# Auto-fix clippy (where possible)
cd backend && cargo clippy --fix --allow-dirty --allow-staged