Asset audit

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

Asset audit is an AI agent skill from the GitHub repository TraftG/opencode-game-studio. Audits game assets for compliance with naming conventions, file size budgets, format standards, and pipeline requirements. Identifies orphaned assets, missing references, and standard violations.

How to use this skill

Skill file

When this skill is invoked:

  1. Read the art bible or asset standards from the relevant design docs and

the OPENCODE.md naming conventions.

  1. Scan the target asset directory using Glob:
  1. Check naming conventions:
  1. Check file standards:

for 3D), within size budget

within duration limits

  1. Check for orphaned assets by searching code for references to each

asset file.

  1. Check for missing assets by searching code for asset references and

verifying the files exist.

  1. Output the audit:
# Asset Audit Report -- [Category] -- [Date]

## Summary
- **Total assets scanned**: [N]
- **Naming violations**: [N]
- **Size violations**: [N]
- **Format violations**: [N]
- **Orphaned assets**: [N]
- **Missing assets**: [N]
- **Overall health**: [CLEAN / MINOR ISSUES / NEEDS ATTENTION]

## Naming Violations
| File | Expected Pattern | Issue |
|------|-----------------|-------|

## Size Violations
| File | Budget | Actual | Overage |
|------|--------|--------|---------|

## Format Violations
| File | Expected Format | Actual Format |
|------|----------------|---------------|

## Orphaned Assets (no code references found)
| File | Last Modified | Size | Recommendation |
|------|-------------|------|---------------|

## Missing Assets (referenced but not found)
| Reference Location | Expected Path |
|-------------------|---------------|

## Recommendations
[Prioritized list of fixes]
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.