Back to list
aspiers

code-reviewing

by aspiers

Config for various AI coding agents (Claude, Gemini, opencode etc.)

8🍴 1📅 Jan 24, 2026

SKILL.md


name: code-reviewing description: Review code for quality, security, and maintainability. Use after code changes are completed and ready for review.

Code Review

Review code for quality, security, and maintainability.

When to Use This Skill

Use this skill:

  • After code changes are completed and ready for review
  • Before staging changes for commit
  • As a proactive quality check during development

Context

When invoked, examine:

  • Current git status: git status
  • Current git diff (staged and unstaged changes): git diff --no-ext-diff HEAD
  • Current branch: git branch --show-current
  • Recent commits: git log --oneline -40

Review Checklist

Examine all modified files and check:

  • NO DUPLICATED CODE! - Extract common logic into reusable functions
  • Functions 30 lines or shorter - Break down complex functions
  • Well-named functions and variables - Clear, descriptive names
  • Simple and readable code - Avoid unnecessary complexity
  • Proper error handling - Handle edge cases and failures gracefully
  • No exposed secrets or API keys - Use environment variables or config
  • Input validation implemented - Validate all external inputs
  • Good test coverage - Tests for critical paths
  • Performance considerations - No obvious O(n²) or worse patterns

Feedback Organization

Provide feedback organized by priority:

  1. Critical issues (MUST FIX): Security vulnerabilities, bugs, broken functionality
  2. Warnings (SHOULD FIX): Code quality, maintainability concerns
  3. Suggestions (CONSIDER): Improvements that would be nice to have

For each issue, include:

  • Specific location (file, line number)
  • Description of the problem
  • Example of how to fix it

Output

Provide a structured review:

## Critical Issues

- [File:line] Description of issue
  - How to fix: ...

## Warnings

- [File:line] Description of concern
  - Suggestion: ...

## Suggestions

- [File:line] Nice-to-have improvement

If no issues found: "Code review passed. No issues identified."

Score

Total Score

60/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon