python-rules
CommunityEnforce Python rules for consistent code.
Authorkitagry
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Pythonプロジェクトでのコーディング規約を自動適用される形で統一し、実行手順のばらつきを抑えて開発効率を高めます。
Core Features & Use Cases
- Execution mode detection: プロジェクトのロックファイル(uv.lock、poetry.lock)の有無に応じて適切な実行コマンドを選択し、再現性の高い実行を確保します。
- Environment compatibility checks: 使用可能なツールを検出し、適切な実行を提案します。
- Use Case: 複数の Python プロジェクトで、同じ手順でスクリプトを実行できるようにします。
Quick Start
プロジェクトルートで次のコマンドを実行して、適切な実行方法を確認してください。例えば:
- uv.lock が存在する場合: uv run python <script>、uv run pytest
- poetry.lock が存在する場合: poetry run python <script>、poetry run pytest
- それ以外の場合: python <script>、pytest
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: python-rules Download link: https://github.com/kitagry/dotfiles/archive/main.zip#python-rules Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.