ワンクリックで
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 職業分類に基づく
| 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
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.