meteofrance/mfai/python-code-formating
Claude Code and agent skill by meteofrance/mfai
- community
Checking that the SKILL.md file is still in the repository.
Python code formatting with uvx ruff@0.15.20. Fast, Black-compatible formatter. Use after any Python modification to format and lint.
Install
npx vskill@latest install meteofrance/mfai/python-code-formatingSKILL.md
uvx ruff formatting
Format and lint Python code with uvx ruff@0.15.20. Use after any Python file modification (see Apply contribution rules in AGENTS.md).
Why uvx and not uv run
We use uvx instead of uv run to invoke ruff. uvx is the uv equivalent of pipx run: it runs a tool inside an isolated, ephemeral environment created on the fly and does not touch the project's own dependency resolution.
uv run ruff resolves and installs the project's full dependency tree first, which can fail loudly even when all we want is the formatter. In this repo resolution errors out for unsupported Python versions (see the unsatisfiable tensorflow marker in pyproject.toml), so uv run ruff is unreliable here. uvx downloads ruff once (cached afterwards) and runs it in the project directory so your pyproject.toml ruff config is picked up.
Prerequisite: uvx ships with uv, so uv must be installed.
The version is pinned to 0.15.20 so formatting stays reproducible.
Formatting workflow
Run these two commands in order, then fix any errors the check raises, and repeat until the check passes with no errors:
After a Python file modification, you may run these commands on the changed files only:
check --fix fixes what it can automatically; fix the rest by hand, then re-run both commands until the check reports no errors. That is the whole workflow.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.kilo/skills/python-code-formating/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/meteofrance/mfai/python-code-formating)