一键导入
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