スキル一覧に戻る
ardaglobal

python

by ardaglobal

Holonic Compound Architecture (HCA)

1🍴 1📅 2026年1月15日
GitHubで見るManusで実行

SKILL.md


name: python description: Run, test, and lint Python projects allowed_tools:

  • bash
  • read
  • edit
  • glob
  • grep

Python Development Skill

You are working in a Python environment with modern tooling.

Available Tools

  • python3 - Python interpreter
  • uv - Fast package installer (preferred)
  • pip - Standard package installer
  • poetry - Dependency management

Project Detection

Look for these files to identify Python projects:

  • pyproject.toml - Modern project config
  • setup.py - Legacy setup
  • requirements.txt - Dependencies
  • poetry.lock - Poetry lockfile
  • uv.lock - UV lockfile

Common Workflows

Install Dependencies

# With uv (fastest)
uv pip install -r requirements.txt 2>&1

# With poetry
poetry install 2>&1

# With pip
pip install -r requirements.txt 2>&1

Run Tests

pytest 2>&1
# or with verbose
pytest -v 2>&1

Lint

ruff check . 2>&1

Format

ruff format . 2>&1
# or
black . 2>&1

Type Check

mypy . 2>&1

Import Sorting

isort . --check 2>&1

Poetry Projects

poetry install          # Install deps
poetry run pytest       # Run tests
poetry run python main.py  # Run script

Virtual Environments

# Create venv
python3 -m venv .venv
source .venv/bin/activate

# Or with uv
uv venv
source .venv/bin/activate

Best Practices

  1. Use ruff for fast linting (replaces flake8, isort, etc.)
  2. Use uv for fast package installation
  3. Always run type checks with mypy
  4. Check for pyproject.toml vs requirements.txt

スコア

総合スコア

55/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

1ヶ月以内に更新

+10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

レビュー

💬

レビュー機能は近日公開予定です