Back to list
tao12345666333

python-expert

by tao12345666333

It’s a coding agent, but I’m trying to strip it down to the bare essentials and offload everything else to MCP/subagents, snapping the pieces together like LEGO.

12🍴 1📅 Jan 19, 2026

SKILL.md


name: python-expert description: Python development best practices and advanced patterns

Python Expert Skill

When working with Python code, apply these advanced patterns and best practices:

Code Style

  • Follow PEP 8 guidelines
  • Use type hints for function signatures
  • Prefer f-strings for string formatting
  • Use meaningful variable and function names

Modern Python Features

  • Use dataclasses for data containers
  • Prefer pathlib over os.path
  • Use context managers for resource management
  • Leverage generators for memory efficiency
  • Use structural pattern matching (Python 3.10+)

Error Handling

  • Use specific exception types
  • Provide meaningful error messages
  • Log errors appropriately
  • Consider using Result types for expected failures

Testing

  • Write unit tests with pytest
  • Use fixtures for test setup
  • Mock external dependencies
  • Aim for high test coverage

Project Structure

project/
├── src/
│   └── package/
│       ├── __init__.py
│       └── module.py
├── tests/
│   └── test_module.py
├── pyproject.toml
└── README.md

Packaging

  • Use pyproject.toml for configuration
  • Define clear dependencies
  • Use semantic versioning

Score

Total Score

65/100

Based on repository quality metrics

SKILL.md

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

+20
LICENSE

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

0/10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

1ヶ月以内に更新

+10
フォーク

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

0/5
Issue管理

オープンIssueが50未満

+5
言語

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

+5
タグ

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

+5

Reviews

💬

Reviews coming soon