python

📁 i9wa4/dotfiles 📅 Jan 24, 2026
32
总安装量
31
周安装量
#11469
全站排名
安装命令
npx skills add https://github.com/i9wa4/dotfiles --skill python

Agent 安装分布

opencode 29
gemini-cli 29
claude-code 29
codex 29
antigravity 28
codebuddy 28

Skill 文档

Python Skill

1. Python-specific Rules

  • NEVER: Do not add shebang lines (#!/usr/bin/env python3)
  • NEVER: Do not set execute permission on Python files
  • YOU MUST: Always execute with explicit python command

2. Virtual Environment Usage

2.1. When uv.lock Exists

Use uv to execute Python commands:

uv run dbt debug --profiles-dir ~/.dbt --no-use-colors

2.2. When poetry.lock Exists

Create virtual environment with uv referring to the blog article:

2.3. When uv.lock Does Not Exist

  1. Activate the virtual environment

    source .venv/bin/activate
    
  2. Execute Python commands

    dbt debug --profiles-dir ~/.dbt --no-use-colors