Agent skill
uv-ruff-only-tooling-migration
Migrate a Python repo from Poetry/Black to UV + Ruff-only (CI, pre-commit, pyproject, docs).
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/uv-ruff-only-tooling-migration
Metadata
Additional technical details for this skill
- version
- 1
- created at
- 2026-01-29T05:46:15.157Z
- updated at
- 2026-01-29T05:46:15.157Z
SKILL.md
When To Use
- Repo has
uv.lock(or wants UV). - User wants no Poetry and/or no Black.
Steps
- Remove Poetry artifacts
- Delete
poetry.lock. - Remove Poetry commands/docs references.
- Delete
- Make
pyproject.tomlUV-native- Ensure PEP 621
[project]is source of truth. - Prefer
[dependency-groups]fordev/docstool deps. - Add missing runtime deps surfaced by imports/tests.
- Run
uv lockto regenerateuv.lock.
- Ensure PEP 621
- Pre-commit
- Remove Black hook.
- Add
ruff-formatandruffhooks. - Ensure hooks run via the repo’s standard workflow.
- CI
- Replace Black check with
uv run ruff format --check. - Lint with
uv run ruff check. - Use
uv sync --devanduv pip install -e .. - If needed, temporarily run a stable smoke suite while fixing failing tests.
- Replace Black check with
- Docs/agent guidance
- Update
AGENTS.md,README.md, and contrib/dev docs to reference UV + Ruff only.
- Update
Verify
uv sync --devuv pip install -e .uv run ruff format --check src testsuv run ruff check src testsuv run pytest(or smoke suite if full is broken)
Manual notes
This section is preserved when the skill is updated. Put human notes, caveats, and exceptions here.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?