code-style — python code formatting code-style, ChernyCode, community, python code formatting, ide skills, Ruff formatting tool, code-style install, python type hints, snake_case naming convention, Claude Code, Cursor

v1.0.0
GitHub

About this Skill

Ideal for Python Developer Agents requiring consistent and readable code formatting with Ruff and type hints support. code-style is a set of guidelines for formatting and naming Python code, including the use of Ruff, snake_case, and type hints to ensure consistency and readability.

Features

Uses Ruff for formatting with the command `ruff format .`
Enforces 4-space indentation and 120-character max line length
Supports snake_case naming for functions and variables
Utilizes type hints for function parameters and return types
Allows for nullable types using `Optional[T]` or `T | None`

# Core Topics

meleantonio meleantonio
[0]
[0]
Updated: 3/8/2026

Agent Capability Analysis

The code-style skill by meleantonio is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance. Optimized for python code formatting, Ruff formatting tool, code-style install.

Ideal Agent Persona

Ideal for Python Developer Agents requiring consistent and readable code formatting with Ruff and type hints support.

Core Value

Empowers agents to maintain uniform Python code style using Ruff formatting, enforce naming conventions like snake_case and PascalCase, and utilize type hints with Optional[T] or T | None for enhanced code readability and maintainability.

Capabilities Granted for code-style

Formatting Python code with Ruff for improved readability
Enforcing consistent naming conventions across modules
Utilizing type hints for better code documentation and error prevention

! Prerequisites & Limits

  • Requires Ruff installation and configuration
  • Limited to Python development environment
  • Adherence to specific naming conventions and formatting guidelines
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

code-style

Install code-style, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

SKILL.md
Readonly

Python Code Style

Formatting

  • Use Ruff for formatting (ruff format .)
  • Indentation: 4 spaces
  • Max line length: 120 characters
  • Use trailing commas in multi-line collections

Naming Conventions

  • Functions and variables: snake_case
  • Classes: PascalCase
  • Constants: UPPER_SNAKE_CASE
  • Private members: _leading_underscore
  • Module files: snake_case.py

Type Hints

  • Required for all function parameters and return types
  • Use Optional[T] or T | None for nullable types
  • Use list[T], dict[K, V] (lowercase) for Python 3.10+

Docstrings

  • Use Google-style docstrings
  • Required for all public functions, classes, and modules
  • Include Args, Returns, and Raises sections

Example:

python
1def calculate_total(items: list[Item], discount: float = 0.0) -> float: 2 """Calculate the total price of items with optional discount. 3 4 Args: 5 items: List of items to calculate total for. 6 discount: Discount percentage to apply (0.0 to 1.0). 7 8 Returns: 9 The total price after discount. 10 11 Raises: 12 ValueError: If discount is not between 0 and 1. 13 """

Imports

  • Sort with Ruff (replaces isort)
  • Group: stdlib, third-party, local
  • Use absolute imports for clarity
  • Avoid wildcard imports (from x import *)

Commands

  • Format: ruff format .
  • Lint: ruff check .
  • Fix: ruff check --fix .

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is code-style?

Ideal for Python Developer Agents requiring consistent and readable code formatting with Ruff and type hints support. code-style is a set of guidelines for formatting and naming Python code, including the use of Ruff, snake_case, and type hints to ensure consistency and readability.

How do I install code-style?

Run the command: npx killer-skills add meleantonio/ChernyCode/code-style. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for code-style?

Key use cases include: Formatting Python code with Ruff for improved readability, Enforcing consistent naming conventions across modules, Utilizing type hints for better code documentation and error prevention.

Which IDEs are compatible with code-style?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for code-style?

Requires Ruff installation and configuration. Limited to Python development environment. Adherence to specific naming conventions and formatting guidelines.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add meleantonio/ChernyCode/code-style. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use code-style immediately in the current project.

Related Skills

Looking for an alternative to code-style or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

149.6k
0
AI

flags

Logo of vercel
vercel

flags is a Next.js feature management skill that enables developers to efficiently add or modify framework feature flags, streamlining React application development.

138.4k
0
Browser

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI