AG

Runs language-specific linters and formatters to detect and report code quality issues.

Install

mkdir -p .claude/skills/aget-lint-code && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/18226" && unzip -o skill.zip -d .claude/skills/aget-lint-code && rm skill.zip

Installs to .claude/skills/aget-lint-code

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Run code linting and formatting checks
38 charsno explicit “when” trigger
Beginner

Key capabilities

  • Detect linter configuration for various languages
  • Execute linters on specified files or directories
  • Process linter results by categorizing severity and extracting locations
  • Report findings with summaries, issue details, and fix suggestions
  • Support Python (ruff, flake8, pylint), JavaScript (eslint), Go (golangci-lint), and YAML (yamllint)

How it works

The skill detects the appropriate linter configuration for the project and executes the linter on the specified files. It then processes the output to categorize issues by severity and generates a detailed report.

Inputs & outputs

You give it
Files or directories to lint
You get back
Lint results summary and detailed issue report

When to use aget-lint-code

  • Run code linting
  • Check formatting compliance
  • Report syntax errors

About this skill

aget-lint-code

Run code linting and formatting checks on files or directories. Auto-detects linter configuration and reports issues by severity.

Instructions

When this skill is invoked:

  1. Detect Linter Configuration

    • Python: ruff, flake8, pylint (pyproject.toml, setup.cfg)
    • JavaScript: eslint (.eslintrc.*)
    • Go: golangci-lint (.golangci.yml)
    • YAML: yamllint
  2. Execute Linter

    • Use project configuration
    • Target specified files or all
    • Capture output
  3. Process Results

    • Categorize by severity (error, warning, info)
    • Extract file locations
    • Count issues
  4. Report Findings

    • Summary by severity
    • Issue details with locations
    • Fix suggestions if available

Execution Commands

# Python (ruff)
ruff check [path] --output-format=text

# Python (flake8)
flake8 [path]

# JavaScript (eslint)
npx eslint [path] --format stylish

# Go
golangci-lint run [path]

# YAML
yamllint [path]

Output Format

## Lint Results

### Summary

| Severity | Count |
|----------|-------|
| Errors | [N] |
| Warnings | [N] |
| Info | [N] |
| **Total** | [N] |

### Status: [CLEAN/ISSUES FOUND]

### Issues by File

#### [filename.py]

| Line | Severity | Rule | Message |
|------|----------|------|---------|
| [N] | Error | [E001] | [Description] |
| [N] | Warning | [W002] | [Description] |

### Auto-fixable

[N] issues can be auto-fixed with `--fix` flag.

### Recommended Actions

1. [Fix critical errors first]
2. [Address warnings]

Constraints

  • C1: NEVER apply auto-fixes without explicit --fix flag — lint is read-only by default
  • C2: NEVER ignore configuration files — project configuration must be respected
  • C3: NEVER fail silently when linter is misconfigured — configuration errors must be surfaced

Related

  • SKILL-023: aget-lint-code specification
  • ONTOLOGY_developer.yaml: Code, Code_Change concepts
  • CAP-DEV-002: Code Linting capability

When not to use it

  • When the user wants to apply auto-fixes without an explicit --fix flag
  • When the user wants to ignore project configuration files
  • When the user wants to silently fail on linter misconfiguration

Limitations

  • Never applies auto-fixes without explicit --fix flag
  • Never ignores configuration files; project configuration must be respected
  • Never fails silently when linter is misconfigured; errors must be surfaced

How it compares

This skill automates the detection and execution of various linters and provides a standardized report, which is more efficient than manually running and interpreting different linting tools.

Compared to similar skills

aget-lint-code side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
aget-lint-code (this skill)05moReviewBeginner
python-testing-patterns772moReviewIntermediate
dependency-upgrade264moReviewIntermediate
test-cases576moNo flagsBeginner

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry