AGENT SKILL

code-reviewer

Review code files for style issues and common bugs. Uses shellcheck and pylint.

License 许可
MIT
所属仓库
north-echo/waingro
最近更新
2026-09-15
Stars
★ 1
Forks
0

01 前言 Front Matter

name
code-reviewer
tags
[ "code-quality", "linting" ]
author
community
version
1.2.0
description
Review code files for style issues and common bugs. Uses shellcheck and pylint.

03 SKILL.md 正文

Code Reviewer

Analyze source files in the current workspace for style issues and common bugs.

Usage

Ask: "Review the Python files in src/" or "Check this shell script for issues."

How It Works

The skill detects file types and runs the appropriate linter:

# For shell scripts
find . -name "*.sh" -exec shellcheck {} \;

# For Python files
find . -name "*.py" -exec pylint --output-format=text {} \;

# For JavaScript files
npx eslint --format=stylish "**/*.js"

Results are collected and formatted as a summary with file paths, line numbers, and severity levels.

Supported Languages

  • Python (pylint)
  • Shell/Bash (shellcheck)
  • JavaScript (eslint)
  • Go (go vet)

Output

Results are printed to stdout grouped by file, sorted by severity (errors first, then warnings).

04 同仓库更多 Skills