Summary
現在の環境で適切なPythonコマンドを判別し、スクリプトを実行します。「Pythonコマンドを確認」「どのpythonを使う」「Python実行方法」といった依頼や、他のスキルからPythonスクリプトを実行する前に使用してください。
drillan/mixseek-plus · Archived
現在の環境で適切なPythonコマンドを判別し、スクリプトを実行します。「Pythonコマンドを確認」「どのpythonを使う」「Python実行方法」といった依頼や、他のスキルからPythonスクリプトを実行する前に使用してください。
npx skills add drillan/mixseek-plus --skill detect-python-command
現在の環境で適切なPythonコマンドを判別し、スクリプトを実行します。「Pythonコマンドを確認」「どのpythonを使う」「Python実行方法」といった依頼や、他のスキルからPythonスクリプトを実行する前に使用してください。
This repository is archived — consider an actively maintained alternative.
MixSeekのオーケストレーター設定ファイル(orchestrator.toml)を生成します。「オーケストレーター…
11 installsMixSeekワークスペースを初期化し、設定ファイル用ディレクトリ構造を作成します。「ワークスペースを…
10 installsMixSeekのチーム設定ファイル(team.toml)を生成します。「チームを作成」「エージェント設定を生成…
10 installsMixSeek Agent Skills collection for AI coding assistants. Provides workspace management, team c…
10 installsRelated neighbors and high-traction skills in the same topics — useful to compare before installing.
This skill should be used when the user asks to "create a slash command", "add a command", "wri…
13.5K installsGuidelines for contributing commands in VS Code extensions. Indicates naming convention, visibi…
9K installsThis skill should be used when the user asks to "create a slash command", "add a command", "wri…
5.9K installsResolve `/flag` style requests into the right LaunchDarkly flag lookup flow. Use when the user …
1.7K installsFormats and executes dbt CLI commands, selects the correct dbt executable, and structures comma…
816 installsThis skill should be used when creating a Claude Code slash command.
3.9K installsOther skills from drillan/mixseek-plus.
npx skills add drillan/mixseek-plus
Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.
main
Parsed from SKILL.md frontmatter.
Files included with this skill beyond the listing page.
SKILL.md
4,149 B
SUMMARY.md
323 B
現在の環境で使用すべき適切なPythonコマンドを判別し、スクリプトを実行します。プロジェクトの設定(pyproject.toml、.venv、uv)を確認し、最適な方法で実行します。
なし(環境を自動検出します)
run-python.sh を使用して、Pythonスクリプトを直接実行します:
skills/detect-python-command/scripts/run-python.sh script.py [args...]
例:
# 設定ファイルの検証
skills/detect-python-command/scripts/run-python.sh \
skills/mixseek-config-validate/scripts/validate-config.py config.toml
# 引数付きで実行
skills/detect-python-command/scripts/run-python.sh script.py --verbose --output result.json
使用されるPythonコマンドを確認したい場合:
# 標準モード(コマンド名のみ)
skills/detect-python-command/scripts/detect-python.sh
# 詳細モード(判別過程を表示)
skills/detect-python-command/scripts/detect-python.sh --verbose
以下の優先順位で判別します:
| 優先度 | 条件 | 使用するコマンド |
|---|---|---|
| 1 | pyproject.toml が存在 かつ uv がインストール済み |
uv run python |
| 2 | .venv/bin/python が存在 |
.venv/bin/python |
| 3 | python コマンドが存在 |
python |
| 4 | python3 コマンドが存在 |
python3 |
| 5 | いずれも該当しない | エラー終了 |
# mixseek-config-validate からの使用例
skills/detect-python-command/scripts/run-python.sh \
skills/mixseek-config-validate/scripts/validate-config.py config.toml --type team
User: このプロジェクトでどのPythonコマンドを使えばいい?
Agent: 判別スクリプトを実行します...
$ skills/detect-python-command/scripts/detect-python.sh --verbose
出力:
Detecting Python command...
pyproject.toml: found
uv: installed (0.9.24)
Result: uv run python
このプロジェクトでは `uv run python` が使用されます。
スクリプト実行時は run-python.sh を使用してください。
| スクリプト | 用途 |
|---|---|
run-python.sh |
Pythonスクリプトを適切なコマンドで実行(推奨) |
detect-python.sh |
使用されるコマンドを確認(情報提供用) |
Error: No Python interpreter found
解決方法:
uv sync を実行して仮想環境を作成Error: Script not found: script.py
解決方法:
uv がインストールされていない場合、フォールバックとして .venv/bin/python または システムの python3 を使用します。
uv のインストールが必要な場合は、ユーザーに確認してから公式ドキュメント(https://docs.astral.sh/uv/)を案内してください。
このスキルは以下のスキルから参照されます:
mixseek-config-validate - 設定ファイルの検証