jpskill.com
🛠️ 開発・MCP コミュニティ

python-workflow-delivery

Use when preparing branches, commits, or PRs for Python changes — scoping work, running validation gates, and ensuring merge readiness. Also use when debugging CI gate failures, resolving lockfile conflicts, or uncertain what checks to run before opening a PR.

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o python-workflow-delivery.zip https://jpskill.com/download/10642.zip && unzip -o python-workflow-delivery.zip && rm python-workflow-delivery.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/10642.zip -OutFile "$d\python-workflow-delivery.zip"; Expand-Archive "$d\python-workflow-delivery.zip" -DestinationPath $d -Force; ri "$d\python-workflow-delivery.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して python-workflow-delivery.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → python-workflow-delivery フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-18
取得日時
2026-05-18
同梱ファイル
1
📖 Claude が読む原文 SKILL.md(中身を展開)

この本文は AI(Claude)が読むための原文(英語または中国語)です。日本語訳は順次追加中。

Python Workflow and Delivery

Overview

Branch-to-PR execution discipline for Python work: validate, scope, and ship with confidence. Apply these defaults before opening or updating a PR.

These are preferred defaults for common cases, not universal rules. When deviating, call out tradeoffs and compensating controls (tests, observability, migration, rollback).

When to Use

  • Preparing a branch or PR for Python changes.
  • CI gate failures on lint, format, or test steps.
  • Lockfile or dependency conflicts during uv sync.
  • Commits that bundle too many concerns or are hard to review.
  • Uncertainty about which validation steps to run before merge.

When NOT to use:

  • Pure design or architecture decisions — see python-design-modularity.
  • Test strategy or fixture design — see python-testing.
  • Runtime operations or deployment — see python-runtime-operations.

Quick Reference

  • Use the project-defined Python version first.
  • Use uv for environment and dependency workflow.
  • Run checks with uv run ....
  • Keep scope small, reversible, and reviewable.

Validation Gate

Run as required by project scope:

  • uv sync
  • uv sync --locked
  • uv lock --check
  • uv run ruff check .
  • uv run ruff format --check .
  • uv run pytest

Change-specific checks:

  • Dependency/lockfile changes: uv run pytest scripts/test_pypi_security_audit.py -v
  • Async lifecycle changes: run pyleak diagnostics on representative async integration tests.

Common Mistakes

  • Skipping uv lock --check — merging without verifying the lockfile matches pyproject.toml causes CI failures downstream.
  • Bundling unrelated changes in one commit — mixing refactors, features, and dependency bumps makes review slow and reverts dangerous.
  • Running ruff check but not ruff format --check — passing lint does not guarantee formatting; both gates matter.
  • Forgetting change-specific checks — dependency updates need the security audit; async changes need leak diagnostics. Generic pytest alone is not enough.

Scope Note

  • Treat these recommendations as preferred defaults for common cases, not universal rules.
  • If a default conflicts with project constraints or worsens the outcome, suggest a better-fit alternative and explain why it is better for this case.
  • When deviating, call out tradeoffs and compensating controls (tests, observability, migration, rollback).

Invocation Notice

  • Inform the user when this skill is being invoked by name: python-design-modularity.

References

  • references/workflow.md
  • references/branch-commit-scope.md