pyproject-style

Apply Sun Lab pyproject.toml conventions for section ordering, metadata, dependencies, and tool configurations.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill ensures your pyproject.toml files adhere to Sun Lab's established conventions, streamlining project setup and maintenance.

Core Features & Use Cases

  • Standardized Structure: Enforces consistent ordering of sections like [build-system], [project], and tool configurations.
  • Metadata Compliance: Guides the correct formatting and inclusion of project metadata fields.
  • Dependency Management: Ensures dependencies use the standard major-version range format.
  • Tool Configuration: Provides guidelines for configuring tools like Ruff, MyPy, and Coverage.
  • Use Case: When creating a new Python project, use this Skill to generate a compliant pyproject.toml file from scratch, ensuring all necessary sections and configurations are correctly set up according to Sun Lab standards.

Quick Start

Use the pyproject-style skill to create a new pyproject.toml file for a core library project.

Frequently Asked Questions about pyproject-style

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

FAQPage Schema
How do I configure pyproject.toml for a new Python project?

Configure pyproject.toml by applying standardized section ordering for build-system, project metadata, and tool configurations. This generates a compliant file from scratch, ensuring correct setup for dependencies, ruff, and mypy.

What is the correct section ordering in pyproject.toml?

The correct pyproject.toml section ordering places build-system first, followed by project metadata, and then tool configurations. Enforcing this structure streamlines project setup and ensures consistent maintenance across Python packaging files.

How should I specify dependencies in pyproject.toml?

Specify dependencies in pyproject.toml using the standard major-version range format. This approach to dependency management ensures compatibility and maintains consistent project configuration standards across your Python environments.

Can I use this to set up ruff and mypy configurations in pyproject.toml?

Yes, you can use this to set up ruff and mypy configurations in pyproject.toml. It provides specific guidelines for formatting tool configurations, ensuring your linting and type checking adhere to established project standards.

Does this work for updating existing pyproject.toml files or only new ones?

It works for both updating existing pyproject.toml files and creating new ones. Apply these conventions during project initialization or modification to ensure ongoing adherence to established metadata and configuration standards.