lint

Installation
SKILL.md

Lint, format, and optionally commit changes.

Arguments: $ARGUMENTS (optional scope)

  • commit: Lint only staged files for commit
  • pr: Lint all files changed in the current PR
  • all: Lint the entire codebase
  • If no argument provided:
    • If in a PR branch: defaults to 'pr'
    • Otherwise: defaults to 'commit'

Phase 1: Scope Determination

  1. Determine scope based on $ARGUMENTS (commit/pr/all/default)

Phase 2: Linting and Fixing

  1. Identify and run available linting tools for detected languages
  2. Check against project standards (80 char limit, no trailing whitespace, no spurious blank lines)
  3. Apply auto-formatting where possible
  4. Report issues that cannot be auto-fixed
Related skills
Installs
4
Repository
seabbs/skills
First Seen
Mar 8, 2026