# Asset Audit

> Review assets — naming conventions, file sizes, unused assets, and organization. Flags assets that violate naming standards or exceed size limits.

- **Type:** Skill
- **Install:** `agentstack add skill-codephobiia-claude-roblox-game-studio-asset-audit`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [CodePhobiia](https://agentstack.voostack.com/s/codephobiia)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [CodePhobiia](https://github.com/CodePhobiia)
- **Source:** https://github.com/CodePhobiia/claude-roblox-game-studio/tree/master/.claude/skills/asset-audit

## Install

```sh
agentstack add skill-codephobiia-claude-roblox-game-studio-asset-audit
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# /asset-audit — Asset Review

## Delegate to: art-director (with technical-artist for optimization review)

## Steps

### 1. Scan Asset Directories
```bash
find assets/ -type f | sort
```
Categorize by type: images, audio, models, data.

### 2. Naming Convention Check
Standard: `lowercase-kebab-case.ext`

Good: `wooden-crate.fbx`, `sword-swing-01.mp3`, `ui-button-bg.png`
Bad: `Wooden Crate.fbx`, `swordswing1.mp3`, `UI_Button_BG.png`

```bash
# Find files with spaces (violation)
find assets/ -type f -name "* *"

# Find files with uppercase (violation — except extensions)
find assets/ -type f | grep -v "/[a-z0-9-]*\.[a-zA-Z0-9]*$"
```

### 3. File Size Check
Flag large files:
- Images > 1MB (warning), > 5MB (critical)
- Audio > 1MB short SFX (warning), > 10MB music (normal)
- Models > 5MB (warning), > 20MB (critical)

```bash
find assets/images -type f -size +1M
find assets/audio -type f -size +10M
find assets/models -type f -size +5M
```

### 4. Unused Asset Detection
Check which assets are referenced in code:
```bash
# For each asset, grep for its name in src/
for asset in $(find assets/ -type f -name "*.png" -o -name "*.jpg"); do
    name=$(basename "$asset")
    if ! grep -r "$name" src/ > /dev/null; then
        echo "POTENTIALLY UNUSED: $asset"
    fi
done
```

Note: Some assets may be referenced by ID (Roblox asset ID), not by filename. Manual verification needed.

### 5. Organization Check
- [ ] All images in `assets/images/`
- [ ] All audio in `assets/audio/`
- [ ] All models in `assets/models/`
- [ ] All data (JSON) in `assets/data/`
- [ ] Sub-categorized if > 20 files in a folder (e.g., `assets/images/ui/`, `assets/images/icons/`)

### 6. Roblox Limit Check
- **Mesh triangles**: Flag models > 10,000 tris (need DCC tool inspection)
- **Texture resolution**: Flag images > 1024×1024
- **Audio duration**: Flag audio > 60 seconds that isn't music

### 7. Generate Report
```markdown
# Asset Audit

## Summary
- Total assets: X
- Images: X
- Audio: X
- Models: X
- Data files: X

## Violations
### Naming (must fix)
- [path] — violates kebab-case

### Oversized (should fix)
- [path] — [size] exceeds [limit]

### Potentially Unused (investigate)
- [path] — no references found in src/

### Organization (nice to have)
- [suggestion]

## Statistics
- Largest asset: [path, size]
- Most referenced: [path, count]
- Total asset size: XX MB

## Recommendations
1. [Specific cleanup action]
2. [Optimization opportunity]
```

Present to user. Offer to delegate cleanup to art-director.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [CodePhobiia](https://github.com/CodePhobiia)
- **Source:** [CodePhobiia/claude-roblox-game-studio](https://github.com/CodePhobiia/claude-roblox-game-studio)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-codephobiia-claude-roblox-game-studio-asset-audit
- Seller: https://agentstack.voostack.com/s/codephobiia
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
