Code review

From TraftG/opencode-game-studio · View interactive version

Code review is an AI agent skill from the GitHub repository TraftG/opencode-game-studio. Performs an architectural and quality code review on a specified file or set of files. Checks for coding standard compliance, architectural pattern adherence, SOLID principles, testability, and performance concerns.

How to use this skill

Skill file

When this skill is invoked:

  1. Read the target file(s) in full.
  1. Read the OPENCODE.md for project coding standards.
  1. Identify the system category (engine, gameplay, AI, networking, UI, tools)

and apply category-specific standards.

  1. Evaluate against coding standards:
  1. Check architectural compliance:
  1. Check SOLID compliance:
  1. Check for common game development issues:
  1. Output the review in this format:
## Code Review: [File/System Name]

### Standards Compliance: [X/6 passing]
[List failures with line references]

### Architecture: [CLEAN / MINOR ISSUES / VIOLATIONS FOUND]
[List specific architectural concerns]

### SOLID: [COMPLIANT / ISSUES FOUND]
[List specific violations]

### Game-Specific Concerns
[List game development specific issues]

### Positive Observations
[What is done well -- always include this section]

### Required Changes
[Must-fix items before approval]

### Suggestions
[Nice-to-have improvements]

### Verdict: [APPROVED / APPROVED WITH SUGGESTIONS / CHANGES REQUIRED]
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.