shell
$ npx -y skills add davila7/claude-code-templates --agent claude-codeShips with claude-code-templates. Installing the plugin gets this command.
How it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/lint
Context preview
What this command does when you run it.
Run Python code linting and formatting tools.
Stats
Stars29,856
Forks3,189
LanguagePython
LicenseMIT
Ships with claude-code-templates
Command definition
lint.md
# Python Linter Run Python code linting and formatting tools. ## Purpose This command helps you maintain code quality using Python's best linting and formatting tools. ## Usage ``` /lint ``` ## What this command does 1. **Runs multiple linters** (flake8, pylint, black, isort) 2. **Provides detailed feedback** on code quality issues 3. **Auto-fixes formatting** where possible 4. **Checks type hints** if mypy is configured ## Example Commands ### Black (code formatting) ```bash # Format all Python files black . # Check formatting without changing files black --check . # Format specific file black src/main.py ``` ### flake8 (style guide enforcement) ```bash # Check all Python files flake8 . # Check specific directory flake8 src/ # Check with specific rules flake8 --max-line-length=88 . ``` ### isort (import sorting) ```bash
