From 6394dfcc50fb1804ab07be309d940017eb11ef7d Mon Sep 17 00:00:00 2001 From: tanaka takashi Date: Mon, 10 Aug 2026 00:57:30 +0900 Subject: feat(skills): add uv-assisted Python workflow Add a concise Japanese companion prompt that asks the model to be approachable, clarify uncertainty, select available skills and tools, verify results, and report the next useful action without adding excessive context. Add the standard skills/python-via-uv/SKILL.md package and UI metadata. The workflow uses uv python find offline to resolve an interpreter, then asks the Broker to launch the separately approved Python executable. It deliberately avoids uv run because the v1 OS child-process restriction must reject descendants created directly by uv. Support standard skills//SKILL.md directories while retaining legacy top-level Markdown loading. Skip reparse-point skill directories, load deterministically, package the complete skills tree, and avoid loading nested reference Markdown as independent skills. Validation: skill-creator quick_validate PASS; uv 0.11.23 resolved Python and the two-stage Python execution printed UV_BROKER_TWO_STAGE_OK. Release build passed with 0 warnings/errors; Core tests passed 49/49 with skip 0. The 1.0.0 Bundle and manifest were regenerated with the prompt and Skill. --- skills/python-via-uv/SKILL.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 skills/python-via-uv/SKILL.md (limited to 'skills/python-via-uv/SKILL.md') diff --git a/skills/python-via-uv/SKILL.md b/skills/python-via-uv/SKILL.md new file mode 100644 index 0000000..d840e4d --- /dev/null +++ b/skills/python-via-uv/SKILL.md @@ -0,0 +1,27 @@ +--- +name: python-via-uv +description: uv経由でPythonコードを作成・実行・検証する。ユーザーがPythonによる計算、データ処理、自動化、試作、デバッグ、またはスクリプト実行を求めたときに使用する。 +--- + +# Python via uv + +1. 作業directoryと必要な入出力を確認し、コードは許可されたdirectory内の`.py`へ`file_edit`で保存する。複雑なコードを`python -c`へ詰め込まない。 +2. 承認済み`uv.exe`を`process_run`し、projectではcwdから`uv python find --offline --no-python-downloads --resolve-links`、単独scriptでは同じ引数へ`--no-project`を追加してinterpreterの絶対pathを取得する。 +3. 取得した承認済み`python.exe`を別の`process_run`で起動し、`-I