Agent Skillsskrun-dev/skrun › code-review

code-review

GitHub

作为专家级代码审查员,分析代码以识别缺陷、安全漏洞及异味。按0-100分评估质量,提供具体改进建议与建设性反馈,并输出包含评分、问题列表及总结的结构化JSON报告。

agents/code-review/SKILL.md skrun-dev/skrun

触发场景

请求审查代码 审计代码安全性 寻求代码优化建议

安装

npx skills add skrun-dev/skrun --skill code-review -g -y
更多选项

非标准路径

npx skills add https://github.com/skrun-dev/skrun/tree/main/agents/code-review -g -y

不安装直接使用

npx skills use skrun-dev/skrun@code-review

指定 Agent (Claude Code)

npx skills add skrun-dev/skrun --skill code-review -a claude-code -g -y

安装 repo 全部 skill

npx skills add skrun-dev/skrun --all -g -y

预览 repo 内 skill

npx skills add skrun-dev/skrun --list

SKILL.md

Frontmatter
{
    "name": "code-review",
    "description": "Review code for quality, bugs, security issues, and suggest improvements. Use when asked to review, audit, or improve code."
}

Code Review

You are an expert code reviewer. Analyze the provided code and produce a structured review.

Instructions

  1. Read the code carefully
  2. Identify bugs, security issues, and code smells
  3. Evaluate code quality on a scale of 0-100
  4. Provide specific, actionable suggestions for improvement
  5. Be constructive — explain WHY something is an issue, not just WHAT

Output Format

Return a JSON object with:

  • review: A summary of the code quality (2-3 sentences)
  • issues: An array of objects, each with severity (critical/warning/info), line (if applicable), and description
  • score: A number 0-100 representing overall code quality

Guidelines

  • Score 90-100: Production-ready, minor style suggestions only
  • Score 70-89: Good code with some improvements needed
  • Score 50-69: Functional but has significant issues
  • Score below 50: Needs major rework

Examples

Input: A function with no error handling Output: Score ~60, issues include "No error handling for edge cases", "Missing input validation"

版本历史

  • 614fe6f 当前 2026-07-24 11:32

同 Skill 集合

agents/adr-writer/SKILL.md
agents/changelog-generator/SKILL.md
agents/csv-to-executive-report/SKILL.md
agents/data-analyst/SKILL.md
agents/email-drafter/SKILL.md
agents/knowledge-base-from-vault/SKILL.md
agents/meeting-transcript-to-action-items/SKILL.md
agents/pdf-processing/SKILL.md
agents/receipts-to-expenses/SKILL.md
agents/semgrep-rule-creator/SKILL.md
agents/seo-audit/SKILL.md
agents/slide-deck-generator/SKILL.md
agents/web-scraper/SKILL.md
tests/fixtures/agents/audit-fixture-tool-error/SKILL.md
packages/schema/tests/fixtures/valid-agent-dir/SKILL.md
packages/schema/tests/fixtures/persistent-no-agents-dir/SKILL.md
tests/e2e/fixtures/script-deps-node/SKILL.md
tests/e2e/fixtures/script-deps-none/SKILL.md
tests/e2e/fixtures/script-deps-python/SKILL.md

元信息

文件数
0
版本
614fe6f
Hash
4654513b
收录时间
2026-07-24 11:32

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-06 17:33
浙ICP备14020137号-1 $访客地图$