Skip to content
Back to skills

Lint

ASecurity

> Run linters and formatters, report issues, auto-fix where possible.

  • 229 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added June 6, 2026
developmenttypescriptpythonrustgobashsecurity

Works with

  • cli

Security analysis

A100/100

Scanned June 6, 2026

npx -y skills add Miosa-osa/canopy --skill lint --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Lint?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Lint
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/miosa-osa-lint/badge)](https://www.skillsdirectory.com/skills/miosa-osa-lint)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# /lint

> Run linters and formatters, report issues, auto-fix where possible.

## Usage
```
/lint [path] [--fix] [--strict] [--format <format>]
```

## What It Does
Detects the project language and runs appropriate linters and formatters. Reports style violations, potential bugs, and security issues. With `--fix`, auto-corrects fixable issues.

## Implementation
1. **Detect project type** and available linters.
2. **Run linters** in order:
   - Elixir: `mix format --check-formatted` + `mix credo --strict`
   - TypeScript/JS: `eslint` + `prettier --check`
   - Go: `golangci-lint run`
   - Python: `ruff check` + `black --check`
   - Rust: `cargo clippy`
3. **Parse output** -- extract file, line, rule, severity, message.
4. **Auto-fix** (if `--fix`) -- run formatters and auto-fixable rules.
5. **Report** -- categorized by severity (error, warning, info).

## Examples
```bash
# Check for lint issues
/lint

# Auto-fix all fixable issues
/lint --fix

# Strict mode (warnings become errors)
/lint --strict

# Lint specific directory
/lint lib/optimal_engine/
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…