From python-seifuku
This skill should be used when the user asks to "Pythonプロジェクトをセットアップして", "python-seifuku", "コード品質チェックhookを設定して". Pythonの標準ガードレール(uv, ruff, mypy, pytest, PostToolUse hooks)を自動整備する。
npx claudepluginhub sniper-fly/souma-recette --plugin python-seifukuThis skill uses the workspace's default tool permissions.
uv + ruff + mypy + pytest 構成の Python プロジェクトを初期セットアップし、Claude Code PostToolUse hooks によるコード品質チェック自動化を構成する。
Applies Acme Corporation brand guidelines including colors, fonts, layouts, and messaging to generated PowerPoint, Excel, and PDF documents.
Enforces four-phase systematic debugging: root cause investigation via error reading, reproduction, change checks, and multi-component logging before any fixes for bugs, tests, or issues.
Share bugs, ideas, or general feedback.
uv + ruff + mypy + pytest 構成の Python プロジェクトを初期セットアップし、Claude Code PostToolUse hooks によるコード品質チェック自動化を構成する。
curl -LsSf https://astral.sh/uv/install.sh | sh以下の5ステップを順番に実行する。
AskUserQuestion で以下の情報を収集する:
my-app)3.12)pydantic>=2.12.5)ユーザーのリクエストに既に含まれている情報は再度確認せずに使用する。
既存プロジェクトに対してセットアップを行う場合は、既存の pyproject.toml の有無を Glob で確認し、上書きするか追記するかを AskUserQuestion で確認する。
references/pyproject-template.md を Read で読み込む{PROJECT_NAME} → プロジェクト名{DESCRIPTION} → 説明{PYTHON_VERSION} → Python バージョン(例: 3.12){PYTHON_VERSION_SHORT} → ドットなしバージョン(例: py312){DEPENDENCIES} → 依存関係リスト(各行 "package>=x.y.z", 形式){MYPY_IGNORE_MODULES} → mypy 除外モジュール(依存関係に応じて設定、不要なら [[tool.mypy.overrides]] セクションごと削除)pyproject.toml として Write で書き出すscripts/check_code_quality.sh を Read で読み込むcheck_code_quality.sh として Write で書き出すchmod +x check_code_quality.sh
references/claude-settings-template.md を Read で読み込む.claude/settings.json として Write で書き出す(.claude/ ディレクトリが存在しない場合は mkdir -p .claude で作成)references/claude-md-template.md を Read で読み込むCLAUDE.md として Write で書き出すuv sync
./check_code_quality.sh
セットアップが正常に完了したことをユーザーに報告する。
references/pyproject-template.md - pyproject.toml テンプレートとプレースホルダー説明references/claude-settings-template.md - .claude/settings.json テンプレート(PostToolUse hooks 設定)references/claude-md-template.md - CLAUDE.md テンプレート(hooks 前提の開発ルール)scripts/check_code_quality.sh - コード品質チェックスクリプト(ruff format, ruff check, mypy, pytest)