python-style

Enforce Sun Lab Python coding conventions for writing and reviewing code.

3|Updated Feb 5, 2026
One-click install
npx skills add https://github.com/Sun-Lab-NBB/ataraxis --skill python-style-sun-lab-nbb
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python-style
Source: https://github.com/Sun-Lab-NBB/ataraxis/tree/main/plugins/automation/skills/python-style
Command: npx skills add https://github.com/Sun-Lab-NBB/ataraxis --skill python-style-sun-lab-nbb

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill ensures Python code adheres to Sun Lab's rigorous coding conventions, improving readability, maintainability, and consistency across the codebase.

Core Features & Use Cases

  • Code Style Enforcement: Applies rules for naming, formatting, docstrings, type annotations, and error handling.
  • Library Preferences: Guides the use of specific Ataraxis libraries and Python best practices.
  • Use Case: When writing new Python modules or reviewing pull requests, invoke this skill to ensure all code meets the project's high-quality standards before merging.

Quick Start

Apply Sun Lab Python coding conventions to the file '/path/to/your/module.py'.

Frequently Asked Questions about python-style

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce Python coding standards when reviewing a pull request?

To enforce Python coding standards during pull request reviews, apply rules covering docstrings, type annotations, naming, and error handling. This ensures new Python modules meet project quality benchmarks before merging.

What Python coding conventions should I use for writing new modules?

Python coding conventions for new modules require specific naming, formatting, and file ordering rules. Enforcing these conventions ensures code readability and maintainability across the codebase.

Does this style guide cover type annotations and docstring formatting?

Yes, the style guide covers type annotations and docstring formatting. It provides specific rules for structuring docstrings and applying type hints to ensure code consistency.

How do I refactor existing Python code to meet coding standards?

To refactor existing Python code, apply conventions for imports, file ordering, and error handling. This process updates legacy code to align with rigorous project standards.

What are the best practices for handling imports and error handling in Python?

Best practices for handling imports and errors involve following specific guidelines for import ordering and error management. Adhering to these practices improves code robustness and consistency.

Can I use this to guide the adoption of specific Python libraries?

Yes, you can use it to guide the adoption of specific Python libraries. It directs the use of preferred Ataraxis libraries and general Python best practices for project development.