一键导入
lint
Check code quality and formatting. Use when checking code style, running pre-commit checks, or when the user asks to lint or format code.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Check code quality and formatting. Use when checking code style, running pre-commit checks, or when the user asks to lint or format code.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Search OLX.pt listings, track prices, and detect deals. Use for finding products, monitoring prices, and getting alerts on good deals in Portugal and other OLX regions.
Create a new filter for the tracker system. Use when adding custom filtering logic or when the user asks to create a filter.
Create a new notification backend (e.g., Telegram, Email, Slack). Use when adding custom notification channels.
Build the olx-tracker project. Use when compiling the project or when the user asks to build.
Create a git commit following project conventions. Use when the user asks to commit changes or create a commit.
Run olx-tracker CLI commands. Use when executing tracker operations, managing searches, or testing the application.
基于 SOC 职业分类
| name | lint |
| description | Check code quality and formatting. Use when checking code style, running pre-commit checks, or when the user asks to lint or format code. |
| argument-hint | ["--fix to auto-fix"] |
| disable-model-invocation | true |
| allowed-tools | Bash(cargo *) |
Run linting and formatting checks before committing code.
# Check formatting (no changes)
cargo fmt --check
# Apply formatting
cargo fmt
# Run clippy lints
cargo clippy --all-targets
# Fix clippy warnings automatically (where possible)
cargo clippy --fix --allow-dirty --allow-no-vcs
unsafe_code = "forbid")Run both format and clippy fixes:
cargo fmt
cargo clippy --fix --allow-dirty --allow-no-vcs --all-targets
Otherwise, just check without modifying files:
cargo fmt --check
cargo clippy --all-targets