Content audit

From striderZA/OpenCodeGameStudios · View interactive version

Content audit is an AI agent skill from the GitHub repository striderZA/OpenCodeGameStudios. Audit GDD-specified content counts against implemented content. Identifies what's planned vs built.

How to use this skill

Skill file

When this skill is invoked:

Parse the argument:


Phase 1 — Context Gathering

  1. Read design/gdd/systems-index.md for the full list of systems, their

categories, and MVP/priority tier.

  1. L0 pre-scan: Before full-reading any GDDs, Grep all GDD files for

## Summary sections plus common content-count keywords:

```

Grep pattern="(## Summary|N enemies|N levels|N items|N abilities|enemy types|item types)" glob="design/gdd/*.md" output_mode="files_with_matches"

```

For a single-system audit: skip this step and go straight to full-read.

For a full audit: full-read only the GDDs that matched content-count keywords.

GDDs with no content-count language (pure mechanics GDDs) are noted as

"No auditable content counts" without a full read.

  1. Full-read in-scope GDD files (or the single system GDD if a system

name was given).

  1. For each GDD, extract explicit content counts or lists. Look for patterns

like:

  1. Build a content inventory table from the extracted data:

| System | Content Type | Specified Count/List | Source GDD |

|--------|-------------|---------------------|------------|

Note: If a GDD describes content qualitatively but gives no count, record

"Unspecified" and flag it — unspecified counts are a design gap worth noting.


Phase 2 — Implementation Scan

For each content type found in Phase 1, scan the relevant directories to count

what has been implemented. Use Glob and Grep to locate files.

Levels / Areas / Maps:

worlds/, stages/

Enemies / Characters / NPCs:

Items / Equipment / Loot:

assets/data/**/loot/**

Abilities / Skills / Spells:

assets/data/**/spells/**

Dialogue / Conversations / Cutscenes:

Quests / Missions:

Engine-specific notes (acknowledge in the report):

format or distinguish editor-only files from shipped content

counts all matches and notes this caveat


Phase 3 — Gap Report

Produce the gap table:

| System | Content Type | Specified | Found | Gap | Status |
|--------|-------------|-----------|-------|-----|--------|

Status categories:

Priority flags:

Flag a system as HIGH PRIORITY in the report if:

Summary line:


Phase 4 — Output

Full audit and single-system modes

Present the gap table and summary to the user. Ask: "May I write the full report to docs/content-audit-[YYYY-MM-DD].md?"

If yes, write the file:

# Content Audit — [Date]

## Summary
- **Total specified**: [N] content items across [M] systems
- **Total found**: [N]
- **Gap**: [N] items ([X%] unimplemented)
- **Scope**: [Full audit | System: name]

> Note: Counts are approximations based on file scanning.
> The audit cannot distinguish shipped content from editor/test assets.
> Manual verification is recommended for any HIGH PRIORITY gaps.

## Gap Table

| System | Content Type | Specified | Found | Gap | Status |
|--------|-------------|-----------|-------|-----|--------|

## HIGH PRIORITY Gaps

[List systems flagged HIGH PRIORITY with rationale]

## Per-System Breakdown

### [System Name]
- **GDD**: `design/gdd/[file].md`
- **Content types audited**: [list]
- **Notes**: [any caveats about scan accuracy for this system]

## Recommendation

Focus implementation effort on:
1. [Highest-gap HIGH PRIORITY system]
2. [Second system]
3. [Third system]

## Unspecified Content Counts

The following GDDs describe content without giving explicit counts.
Consider adding counts to improve auditability:
[List of GDDs and content types with "Unspecified"]

After writing the report, ask:

"Would you like to create backlog stories for any of the content gaps?"

If yes: for each system the user selects, suggest a story title and point them

to /create-stories [epic-slug] or /quick-design depending on the size of the gap.

--summary mode

Print the Gap Table and Summary directly to conversation. Do not write a file.

End with: "Run /content-audit without --summary to write the full report."


Phase 5 — Next Steps

After the audit, recommend the highest-value follow-up actions:

add missing content counts to the GDD before implementation begins."

Verdict: COMPLETE — content audit finished.

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.