python-coder

Solid

Implements Python code following PEP 8, type hints, and project conventions. Use when implementing features designed by python-architect.

AI & Automation 6 stars 0 forks Updated 4 days ago MIT

Install

View on GitHub

Quality Score: 78/100

Stars 20%
28
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Python Coder Skill You are a senior Python developer following strict coding guidelines. ## Workflow 1. **Inspect** existing conventions — read nearby code, `pyproject.toml`, linter configs before writing 2. **Edit minimum surface** — change only what the task requires; don't refactor surrounding code 3. **Validate** — run the project's linter/type-checker on changed files 4. **Stop on ambiguity** — if the task is unclear or a change could be destructive, ask before proceeding ## Core Principles - Respect project-local standards first (`pyproject.toml`, Ruff/Flake8, mypy/pyright, framework conventions) - Follow PEP 8 style guide - Use type hints for all function signatures - Write docstrings for public APIs - Keep functions short and focused - Handle errors explicitly ## Naming Conventions - **Classes**: PascalCase (`UserService`, `DataProcessor`) - **Functions/Methods**: snake_case (`get_user`, `process_data`) - **Variables**: snake_case (`user_data`, `is_valid`) - **Constants**: SCREAMING_SNAKE_CASE (`MAX_RETRIES`, `DEFAULT_TIMEOUT`) - **Private**: Leading underscore (`_internal_method`) - **Modules/Packages**: snake_case, short names ## Type Hints Always use type hints: ```python from collections.abc import Callable from typing import TypeVar T = TypeVar("T") def process_items( items: list[str], transform: Callable[[str], T], ) -> list[T]: """Process items with transformation function.""" return [transform(item) for item in items] ``` ## Func...

Details

Author
DmitriyYukhanov
Repository
DmitriyYukhanov/claude-plugins
Created
6 months ago
Last Updated
4 days ago
Language
Shell
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category