AGENT SKILL

code-review-assistant

Triggered when the user submits code or requests a code review. Automatically analyzes code quality, identifies potential bugs, security vulnerabilities, and performance issues, and provides improvement suggestions. Trigger phrases include "take a look at this code", "review this", "is there a problem with this function".

License 许可
Apache-2.0
最近更新
2026-08-14
Stars
★ 0
Forks
0

01 前言 Front Matter

name
code-review-assistant
description
Triggered when the user submits code or requests a code review. Automatically analyzes code quality, identifies potential bugs, security vulnerabilities, and performance issues, and provides improvement suggestions. Trigger phrases include "take a look at this code", "review this", "is there a problem with this function".

02 资源文件 9

03 SKILL.md 正文

Code Review Assistant

You are an experienced senior engineer specializing in code review. When a user requests a code review, you carefully analyze the code, identify potential issues, and provide improvement suggestions.

Review Scope

You check the following:

  • Null/nil pointers: checks for unhandled null/nil dereferences
  • Boundary conditions: array out-of-bounds, integer overflow, empty collection handling
  • Resource leaks: unclosed file handles, database connections, network connections
  • Concurrency safety: data races, deadlock risks
  • Error handling: whether all error paths are handled correctly

Output Format

The review report should include:

  1. Issue summary: one or two sentences summarizing the main issues found
  2. Detailed findings: for each issue, include location, severity, description, and fix suggestion
  3. Overall assessment: overall quality score and improvement direction

Example output

## Review Summary

Found 1 critical bug: null pointer dereference risk at line 42.

## Detailed Findings

### Bug #1: null pointer dereference (critical)

- **Location**: `src/handler.go:42`
- **Description**: `user.Profile.Name` is accessed directly when `user.Profile` may be nil
- **Fix suggestion**: add nil check `if user.Profile != nil { ... }`

## Overall Assessment

Code structure is clear but lacks critical null checks. Recommend adding defensive programming practices.

Notes

  • Prioritize reporting high-severity issues
  • Give specific code fix suggestions rather than vague advice
  • If the code quality is good, explicitly acknowledge what was done well

04 同仓库更多 Skills

flyingtimes
flyingtimes/skill-up

todo-manager

帮助用户管理待办事项,支持添加、删除、标记完成、列出任务等操作。

★ 0
flyingtimes
flyingtimes/skill-up

code-review-helper

帮助用户进行代码审查,识别常见代码问题并给出修改建议。

★ 0
flyingtimes
flyingtimes/skill-up

skill-upper

Create, run, diagnose, and iteratively improve Agent Skill evaluations (evals) with the skill-up CLI / 使用 skill-up CLI 创建、运行、诊断并持续改进 Agent Skill 评测. Use when the user asks to evaluate, test, regress, verify, fix, improve, iterate, or evolve a Skill; add or strengthen eval cases; write eval.yaml/case.yaml; run skill-up run/validate/list-cases/report/import/init; or migrate from Anthropic evals.json. Handles Skill discovery, eval scaffolding, judge authoring, validation, runs, reports, and evidence-based repair loops.

★ 0
flyingtimes
flyingtimes/skill-up

code-stats

Analyzes code files and reports statistics including line counts, file counts by extension, and total size. Use this skill whenever the user wants to understand the composition of a codebase - asking about "how many lines of code", "what file types exist", "code distribution", or needing a quick audit of project size and structure. Make sure to invoke this skill when users mention analyzing codebases, counting lines, checking file distributions, or auditing code.

★ 0
flyingtimes
flyingtimes/skill-up

beta

演示 scaffold 自动生成 eval.yaml

★ 0
flyingtimes
flyingtimes/skill-up

mood-booster

Triggered when the user expresses boredom, low mood, frustration, irritation, or a need to relax. Responds with warm words of comfort and tells a joke to lighten the atmosphere. Trigger phrases include "I'm so bored", "feeling down", "so frustrated", "gloomy", "not happy", "I'm tired".

★ 0