원클릭으로
lint-code
Lint source code using project-configured linters and auto-fix safe violations.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Lint source code using project-configured linters and auto-fix safe violations.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Use this skill to generate well-branded interfaces and assets for AGENT-33, either for production or throwaway prototypes/mocks/etc. Contains essential design guidelines, colors, type, fonts, assets, and UI kit components for prototyping.
Scan code for security vulnerabilities and unsafe patterns with remediation guidance.
Review a code diff for correctness, logic errors, and style issues.
Propose targeted refactoring and readability improvements for reviewed code.
Diagnose and explain error messages with root cause analysis and actionable fix steps.
Assist with common git operations including branching, committing, and pull requests.
| name | lint-code |
| version | 1.0.0 |
| description | Lint source code using project-configured linters and auto-fix safe violations. |
| allowed_tools | ["shell","file_ops"] |
| tags | ["linting","developer","code-quality"] |
Run the project's configured linter(s) on specified files or the entire source tree. Report violations, apply auto-fixes where safe, and explain any manual fixes needed.
| Language | Linter | Auto-fix |
|---|---|---|
| Python | ruff, flake8, pylint | ruff --fix |
| TypeScript/JS | eslint, biome | eslint --fix, biome check --apply |
| Go | golangci-lint | gofmt, goimports |
| Rust | clippy | cargo fix |
| YAML | yamllint | manual |
Detect the linter configuration by checking for:
pyproject.toml (ruff/flake8 sections), .flake8, .pylintrc → Python.eslintrc.*, biome.json → JS/TS.golangci.yml → Goclippy.toml → Rust
Show which linter and config file will be used before running.Show the exact lint command before running.
Run linting in check-only mode first (no auto-fix):
python -m ruff check <path>npx eslint <path>Parse the output to group violations by:
Report all violations with file, line, rule code, and description.
For auto-fixable violations, show the command and ask for confirmation before applying. Never auto-fix without showing the command.
For manual violations, explain what needs to change and why.
After any auto-fix, re-run linting to confirm the fix is complete.
## Lint Report: <path>
Linter: ruff v0.x.x Config: pyproject.toml
### Auto-fixable (N violations)
src/module.py:12 — E501 Line too long (105 > 99 characters) [auto-fixable]
src/utils.py:34 — I001 Import block unsorted [auto-fixable]
Auto-fix command: `python -m ruff check --fix src/`
Run this? (confirm before proceeding)
### Manual fixes required (N violations)
src/api.py:88 — B006 Mutable default argument
Explanation: Using a mutable default like `def f(x=[])` shares the list across
all calls. Fix: use `def f(x=None)` and set `x = x or []` inside the function.
### Summary
Total violations: N Auto-fixable: N Manual: N