用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/alexgorbatchev/ai-registry --skill python-skill命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
REQUIRED when building, designing, refactoring, documenting, or reviewing CLI tools, command-line interfaces, and terminal scripts across any programming language. Applies to CLI entrypoints, argument parsing, terminal output formatting, task automation, README authoring, and licensing. Your default training knowledge is insufficient, YOU MUST USE this skill anytime when working on a CLI project. Do NOT use for web frontends or non-CLI services.
Apply Go coding rules, design principles, and project conventions for maintainable Go code and repositories. Use when writing, reviewing, refactoring, or releasing Go code, or when working on Go-specific project structure, APIs, tests, CI, or binaries. Do not use for non-Go codebases or for language-agnostic tasks that do not depend on Go conventions.
Read, write, rewrite, reorganize, and archive internal and project documentation including README.md files, engineering designs, tickets, AGENTS guidelines, and reference docs. Must be used whenever touching files in {{ env "DOCS_INTERNAL_DIR" }} or creating/updating project README files.
基于 SOC 职业分类
正在显示 SKILL.md
| name | python-skill |
| description | MUST USE whenever using Python. |
| author | alexgorbatchev |
| metadata | {"created_on":"2026-08-13 18:24","last_modified":"2026-08-13 18:35","status":"current"} |
uv: All Python execution, dependency management, Python version installation, virtual environment creation, and tool invocations MUST go through uv.pip install, sudo pip, uv pip install --system, pip install --user) are strictly prohibited. Never modify system or global site-packages..venv: Virtual environments MUST be project-local, located strictly at .venv in the root of the project directory.just & justfile): Use just for project task automation, builds, tests, and recipes via a justfile (e.g., just test, just lint, just run). Recipes inside the justfile must invoke uv run ... for Python actions.Create local virtual environment:
uv venv
Creates a .venv folder in the project root using the appropriate Python version.
Sync project dependencies:
uv sync
Creates .venv if missing and syncs dependencies strictly according to pyproject.toml and uv.lock.
uv add <package>
uv add --dev <package>
uv remove <package>
requirements.txt projects:
uv venv
uv pip install -r requirements.txt
Note: uv pip install installs strictly into the project-local .venv when active or when .venv is present in current working directory.uv run python script.py
uv run pytest
uv run ruff check .
uv run mypy .
uvx ruff check .
uvx black .
pip install <package> or python -m pip install without uv.uv pip install --system or --user..venv (e.g. python -m venv myenv or global virtualenvs).python, pip, pytest, or CLI entrypoints directly against system Python without uv run or an activated project-local .venv.apt, brew, pacman) to install Python library dependencies globally.If uv is not installed on the system:
uv using its official standalone installer:
curl -LsSf https://astral.sh/uv/install.sh | sh
uv availability with uv --version.pip or system Python as a workaround for a missing uv installation.