スキル一覧に戻る
kito-cheng

python-coding

by kito-cheng

0🍴 2📅 2026年1月20日
GitHubで見るManusで実行

SKILL.md


name: python-coding description: Use this skill when writing, editing, or reviewing Python code. Ensures code follows PEP 8 standards and Python best practices.

Python Coding Guidelines

Code Style

Follow PEP 8 standards for all Python code:

  • Indentation: Use 4 spaces per indentation level
  • Line length: Maximum 79 characters for code, 72 for docstrings/comments
  • Imports: Group in order: standard library, third-party, local; one import per line
  • Import Statements: All import statements should be placed at the top of the file, not inside functions, unless absolutely necessary (e.g., circular import issues)
  • Whitespace: No trailing whitespace; blank lines to separate functions/classes
  • Naming conventions:
    • snake_case for functions, variables, and modules
    • PascalCase for classes
    • UPPER_SNAKE_CASE for constants

Documentation

  • Use English for all docstrings
  • Follow PEP 257 for docstring conventions
  • Use triple double quotes """ for docstrings

Type Hints

  • Use type hints for function signatures when appropriate
  • Follow PEP 484 conventions

Comments

  • Write all comments in English
  • Use comments sparingly; prefer self-documenting code

スコア

総合スコア

45/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

0/5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です