community-of-pythoncommunity-of-pythonOfficialยท1 Agent Skills Included

pylines

Python backend code style, architecture, and testing guidelines

Applies strict Python backend guidelines for code style, typing, naming, immutability, and exception handling. Covers REST API design, SOLID principles, test writing with pytest, and a curated library stack including Litestar, SQLAlchemy, and ruff. Eliminates inconsistent code reviews and style debates by enforcing one clear, comprehensive rulebook across every project.
npx skills add community-of-python/pylines --all -g -y

All Skills in This Repository (1)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install pylines?โ–ผ

Run `npx skills add community-of-python/pylines --all -g -y` in your terminal to install the skill globally.

What does the pylines skill enforce?โ–ผ

It enforces strict typing with mypy, ruff linting, verb-based naming, immutability with typing.Final, and composition over inheritance in all Python code.

Does pylines cover REST API design?โ–ผ

Yes. It defines URL conventions, HTTP method usage, versioning via Accept headers, and flat resource structures without nesting.

Which frameworks does pylines recommend?โ–ผ

It recommends Litestar or FastAPI, SQLAlchemy for databases, granian as the server, and pytest with hypothesis for testing.

Can pylines help with code reviews?โ–ผ

Yes. It gives your agent a complete rulebook for reviewing Python code against consistent style, SOLID, and testing standards.

Related Repositories in Software Engineering

View All in Software Engineeringโ†’