python-style
Python Style Best Practices Skill
This skill automatically activates when writing Python code to ensure consistency with PEP standards, type hints, and modern Python idioms.
Core Standards
- PEP 8: Naming conventions, imports, line length
- Type Hints: Modern syntax (
list[str]notList[str],X | NonenotOptional[X]) - Docstrings: Google style with Args, Returns, Raises sections
- Imports: stdlib → third-party → local, alphabetically sorted
Naming Conventions
# Classes: PascalCase
class UserAccount:
pass
# Functions/variables: snake_case
More from jpoutrin/product-forge
rfc-specification
RFC (Request for Comments) specification writing with objective technical analysis. Use when creating technical specifications, design documents, or architecture proposals that require structured evaluation of options and trade-offs.
11generate-tasks
Convert PRD to structured task list with automatic linking
6brainstorm-solution
Structured brainstorming for technical solutions
5typescript-import-style
Merge-friendly import formatting (one-per-line, alphabetical). Auto-loads when writing TypeScript/JavaScript imports to minimize merge conflicts in parallel development. Enforces consistent grouping and sorting.
5typescript-code-review
TypeScript and React code review guidelines (type safety, React patterns, performance). Auto-loads when reviewing TypeScript/React code.
5zod
Zod schema validation patterns and type inference. Auto-loads when validating schemas, parsing data, validating forms, checking types at runtime, or using z.object/z.string/z.infer in TypeScript.
5