ruff
Run ruff linter and formatter on the project
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run ruff linter and formatter on the project
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Add observability (probes, trackers, charts) to a simulation
Analyze simulation results and provide insights
Help choose the right happysimulator components for a use case
Troubleshoot a broken or misbehaving simulation
Walk through a library example with detailed explanation
Generate a complete simulation from a high-level description
| name | ruff |
| description | Run ruff linter and formatter on the project |
| disable-model-invocation | true |
Run the ruff linter and/or formatter on the project. Configuration is in pyproject.toml under [tool.ruff].
Determine what the user wants:
Run the appropriate commands using .venv/Scripts/python.exe -m ruff:
.venv/Scripts/python.exe -m ruff check ..venv/Scripts/python.exe -m ruff check --fix ..venv/Scripts/python.exe -m ruff format --check ..venv/Scripts/python.exe -m ruff format ..venv/Scripts/python.exe -m ruff check --fix . && .venv/Scripts/python.exe -m ruff format .If a specific path is provided, replace . with that path in all commands.
Report the results:
Do NOT auto-fix violations unless the user asks for "fix", "all", or explicitly requests fixes.