archibate/dotfiles-opencode / skills/uv
uv
FlaggedUse this skill when using UV (Python package manager), needs to set up Python virtual environments, install/manage Python CLI tools, migrate from pip/pipx to UV, Python version management, or troubleshoot UV-related issues.
examples/development-workflows.md
View on GitHub# Development Tool Workflows
## Overview
Complete development tool setup and daily workflow patterns with UV.
## Python Development Environment
```bash
# One-time setup: Install development tools
uv tool install black
uv tool install flake8
uv tool install mypy
uv tool install pytest
uv tool install coverage
# Daily development workflow
# Format code
black .
# Lint code
flake8 src/
# Type check
mypy src/
# Run tests
pytest tests/
# Run with coverage
coverage run -m pytest
coverage report
```
## Project-Specific Script Execution
```bash
# Project structure:
# my-project/
# ├── scripts/
# │ ├── setup_database.py
# │ ├── generate_docs.py
# │ └── deploy.py
# └── pyproject.toml
# Run scripts without installing globally
uvx --from . scripts/setup_database.py
uvx --from . scripts/generate_docs.py --format html
uvx --from . scripts/deploy.py --environment production
```
## Multi-Version Testing
```bash
# Test code against multiple Python versions
uv python install 3.10 3.11 3.12
# Test with Python 3.10
uv python pin 3.10
uvx --from . tests/run_tests.py
# Test with Python 3.11
uv python pin 3.11
uvx --from . tests/run_tests.py
# Test with Python 3.12
uv python pin 3.12
uvx --from . tests/run_tests.py
# Compare results
diff <(uv run --python 3.10 tests/test.py) \
<(uv run --python 3.12 tests/test.py)
```
## Related Documentation
- [Tool Management Reference](../references/tool-management.md)
- [Python Environment Management](../references/python-environment.md)
- [Installation and Setup](../references/installation-and-setup.md)
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 466k | Updated | Claude CodeCodex | Unverified | Install |
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 466k | Updated | Claude CodeCodex | Unverified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 319k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 319k | Updated | Claude CodeCodex | Verified | Install |