Xspoonai official code review basics

From jiayaoqijia/cryptoskill · View interactive version

Xspoonai official code review basics is an AI agent skill from the GitHub repository jiayaoqijia/cryptoskill. Run static analysis checks and emit a comprehensive code review checklist. Language-agnostic approach for reviewing code quality, style, and best practices.

How to use this skill

Skill file

Description

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

Inputs

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

Outputs

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

Usage

Demo Mode

python scripts/main.py --demo

Review Code

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

Examples

Example 1: Python Code Review

$ 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:

{
  "ok": false,
  "error": "Error description",
  "details": {
    "files": "File not found"
  }
}
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.