بنقرة واحدة
ruff
Lint Python plugin code with ruff from the project virtualenv. Run after every edit to a file under plugins/.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Lint Python plugin code with ruff from the project virtualenv. Run after every edit to a file under plugins/.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Lint roles and playbooks with ansible-lint from the project virtualenv. Run after every change under roles/.
Run ansible-test sanity on module/plugin changes from the project virtualenv. Run after modifying any file under plugins/.
Format Python plugin code with black from the project virtualenv. Run after every edit to a file under plugins/ so it matches the black version CI enforces.
Manage changelog fragments and CHANGELOG.rst with antsibull-changelog from the project virtualenv. Add a fragment per user-facing change; release consumes fragments to cut a version.
Build the collection tarball with ansible-galaxy from the project virtualenv. Local builds verify only; the tag-driven release workflow builds and publishes.
Run a role's molecule scenario from the project virtualenv. Scenarios hit real Cloudflare and double as the role's example playbook; run from the role directory.
| name | ruff |
| description | Lint Python plugin code with ruff from the project virtualenv. Run after every edit to a file under plugins/. |
Lint Python with the venv's ruff, after every edit to a plugins/**/*.py file.
venv/bin/ruff check plugins/modules/{{ file }}.py
venv/bin/ruff check plugins
venv/bin/ruff check --fix plugins/modules/{{ file }}.py
All checks passed!.--fix can't; re-read rewritten files.black.virtualenv skill