# Code Review Basics

> Description

- Skill: `xspoonai/code-review-basics` (Agent Skill, multi-file: 3 files)
- Install (CLI): `npx skillmds@latest add xspoonai/code-review-basics`
- Raw SKILL.md: https://api.skillmd.com/api/skills/xspoonai/code-review-basics/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: XSpoonAi (https://skillmd.com/u/xspoonai)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/xspoonai/code-review-basics

---


## Description

Run static analysis checks and emit a comprehensive code review checklist. Language-agnostic approach for reviewing code quality, style, and best practices.

## Inputs

```json
{
  "files": ["list of files to review"],
  "language": "python|javascript|go"
}
```

## Outputs

```json
{
  "ok": true,
  "data": {
    "issues": [],
    "checklist": []
  }
}
```

## Usage

### Demo Mode
```bash
python scripts/main.py --demo
```

### Review Code
```bash
echo '{"files": ["src/main.py"], "language": "python"}' | python3 scripts/main.py
```

## Examples

### Example 1: Python Code Review
```bash
$ echo '{"files": ["main.py"], "language": "python"}' | python3 scripts/main.py
{
  "ok": true,
  "data": {
    "issues": ["Missing docstrings", "Line too long"],
    "checklist": ["Code style check pass", "Import organization verified"]
  }
}
```

## Error Handling

When an error occurs, the skill returns:

```json
{
  "ok": false,
  "error": "Error description",
  "details": {
    "files": "File not found"
  }
}
```

