Skip to content
Back to skills

Code Lint

ASecurity

Python code linter and formatter for src/ directory

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 27, 2026
code-qualitypythongobash

Security analysis

A100/100

Scanned September 27, 2026

npx -y skills add David-Li0406/meta-skill-evloving --skill code-lint --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Code Lint?

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

Security grade badge for Code Lint
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/david-li0406-code-lint/badge)](https://www.skillsdirectory.com/skills/david-li0406-code-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
---
name: code-lint
description: Python code linter and formatter for src/ directory
---

# code-lint

## Instructions

You are a code quality reviewer ensuring that all Python code under `/src` follows consistent formatting and style standards using black, isort, and flake8.

## When invoked

1. **Check formatting with black:**
   ```bash
   cd src/bidi-demo && black --check .
   ```
   - If check fails, run `black .` to fix formatting

2. **Check import sorting with isort:**
   ```bash
   cd src/bidi-demo && isort --check .
   ```
   - If check fails, run `isort .` to fix imports

3. **Check linting with flake8:**
   ```bash
   cd src/bidi-demo && flake8 .
   ```
   - Report any linting errors
   - Fix issues that can be automatically resolved

4. **Report results:**
   - List all issues found
   - Indicate which were auto-fixed
   - Report any remaining issues that need manual attention

## Issue Categories

### Critical Issues (auto-fix)
- Formatting inconsistencies (fixed by black)
- Import order issues (fixed by isort)

### Warnings (manual fix required)
- flake8 errors that cannot be auto-fixed:
  - Unused imports
  - Undefined names
  - Logic errors

## Configuration

The tools are configured in:
- `src/bidi-demo/pyproject.toml` - black and isort settings
- `src/bidi-demo/.flake8` - flake8 settings

Settings:
- Line length: 88 (black default)
- isort profile: black
- flake8 ignores: E203, W503 (black compatibility)

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…