commit.lint

Official

Format and lint code with ruff via a sub-agent.

AuthorUnsupervisedcom
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill formats and lints code with ruff using a sub-agent. It ensures code style compliance after tests pass to maintain a clean codebase.

Core Features & Use Cases

  • Automated Formatting: Apply ruff format to standardize code style across the project.
  • Automated Linting with Fixes: Use ruff check --fix to automatically correct issues where possible.
  • Verification: Run a final ruff check to guarantee there are no remaining issues.
  • Isolation via Sub-Agent: Leverage a sub-agent to keep main conversation context lean during lint tasks.
  • Use Case: Integrate into your commit workflow so Python projects pass style checks before merging.

Quick Start

To start, trigger the commit.lint step after your test suite completes. The sub-agent will perform the linting and formatting steps as described below:

  • Run ruff format .
  • Run ruff check --fix .
  • Run ruff check . to verify there are no remaining issues.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: commit.lint
Download link: https://github.com/Unsupervisedcom/deepwork/archive/main.zip#commit-lint

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.