بنقرة واحدة
lint
Run formatting and linting checks on the codebase
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Run formatting and linting checks on the codebase
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
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