{"data":{"slug":"github-donchitos-claude-code-game-studios-claude-skills-content-audit-63ae7b5fc27e","title":"Content Audit: Compare Specified vs Implemented Content","summary":"Audit GDD content counts against what's implemented \u2014 planned vs built. Identify gaps and prioritize systems.","url":"https:\/\/skillshunter.net\/skills\/github-donchitos-claude-code-game-studios-claude-skills-content-audit-63ae7b5fc27e","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/github-donchitos-claude-code-game-studios-claude-skills-content-audit-63ae7b5fc27e","markdown_url":"https:\/\/skillshunter.net\/skills\/github-donchitos-claude-code-game-studios-claude-skills-content-audit-63ae7b5fc27e.md","download_url":"https:\/\/skillshunter.net\/skills\/github-donchitos-claude-code-game-studios-claude-skills-content-audit-63ae7b5fc27e\/download","category":{"slug":"content-editorial","name":"Content & Editorial"},"editor_note":"Before running the audit, ensure that `design\/gdd\/systems-index.md` exists and is accessible. If it is absent, the audit will return `NOT ASSESSED \u2014 NO DATA` and will not proceed with any calculations. Additionally, check for the presence of `design\/registry\/entities.yaml` to optimize the audit process by using pre-defined named content entries.","instructions":"---\nname: content-audit\ndescription: \"Audit GDD content counts against what's implemented \u2014 planned vs built.\"\nargument-hint: \"[system-name | --summary | (no arg = full audit)]\"\nuser-invocable: true\nallowed-tools: Read, Glob, Grep, Write, Bash(bash \"*\/.claude\/skills\/content-audit\/..\/..\/hooks\/yaml-helper.sh\" resolve_config *)\nmodel: sonnet\n---\n\n!`bash \"${CLAUDE_SKILL_DIR}\/..\/..\/hooks\/yaml-helper.sh\" resolve_config --keys workflow,automation`\n\n**Automation mode**: Resolve `modes.automation` (`project.local.yaml` \u2192\n`project.yaml` \u2192 default `collaborative`). Every `AskUserQuestion` call and\nevery file write follows `.claude\/docs\/automation-modes.md`\n(collaborative asks always \u00b7 guided major-only \u00b7 autonomous logs and proceeds;\n`automation_always_ask` categories always prompt).\n\nResolved above \u2014 use as-is. No block \u2192 defaults in `.claude\/docs\/config-resolution.md`.\n\n# Content Audit\n\n> Resolve `modes.workflow` before auditing: this skill's tier-dependent behaviour\n> (\"audit only specs in the required sections\") follows the resolved tier, never\n> an assumed one. When a required input such as `design\/gdd\/systems-index.md` is\n> absent, report\n> **`NOT ASSESSED \u2014 NO DATA`** rather than computing a gap percentage (which\n> divides by zero when nothing is specified).\n\n\nWhen this skill is invoked:\n\nParse the argument:\n- No argument \u2192 full audit across all systems\n- `[system-name]` \u2192 audit that single system only\n- `--summary` \u2192 summary table only, no file write\n\n---\n\n**`workflow`** (see `.claude\/docs\/workflow-modes.md`):\n- `full` \u2014 full content-count audit against all GDD specs.\n- `standard` \u2014 audit only specs in the required sections; list any count found\n  outside them as not audited at this tier.\n- `minimal` \u2014 cannot run (no systems index exists).\n\n## Insufficient input \u2014 check this before producing any report\n\n**If the inputs this skill needs do not exist, the answer is \"could not run\" \u2014\nnot a filled-in report.** Check first, and stop if the check fails.\n\n1. List the inputs this skill reads (data files, prior reports, profiler output,\n   test results, registries, source code).\n2. For each, record `FOUND` or `ABSENT` \u2014 not \"assumed present\".\n3. If any input required for a section is ABSENT, that section is\n   **`NOT ASSESSED \u2014 NO DATA`**. Do not estimate it, do not infer it from an\n   adjacent artifact, and do not leave a mandated cell to be filled by whoever\n   reads the template next.\n4. If **every** required input is ABSENT, stop and report\n   **`NOT ASSESSED \u2014 NO DATA`** as the whole verdict, naming what was missing and\n   which skill produces it (`\/map-systems` for `design\/gdd\/systems-index.md`, `\/design-system` for the GDDs).\n\n**A verdict of `NOT ASSESSED` is a success.** It is the correct, useful answer to\n\"what does the data say?\" when there is no data. The failure mode this prevents is\nspecific: a report whose verdict enum has no \"could not run\" state produces\n**false clean passes** \u2014 an asset audit returning COMPLIANT on a project with no\nassets and no standards, or a performance profile reporting \">99% headroom against\na 16.67ms budget\" with zero profiler data and no budget ever set.\n\n**Absence of evidence is never evidence of absence.** A scan that finds no\nmatches because there are no files to scan has not verified anything. Say which of\nthe two happened \u2014 a reader cannot tell from a green result.\n\n---\n\n## Phase 1 \u2014 Context Gathering\n\n1. **Read `design\/gdd\/systems-index.md`** for the full list of systems, their\n   categories, and MVP\/priority tier. Read it by section: find the headings you need\n   with the Grep tool (pattern `^#`, content mode) and Read those ranges with\n   offset and limit.\n\n2. **Registry-first count**: If `design\/registry\/entities.yaml` exists, read it\n   first. Its `entities` and `items` sections are the cross-GDD named content\n   the audit is counting, already distilled with a `source:` GDD per entry:\n   ```\n   Grep pattern=\"^  - name:\" path=\"design\/registry\/entities.yaml\" output_mode=\"content\" -A 2\n   ```\n   `- name:` appears in all four registry sections; keep only the names whose\n   `-A 2` context shows they sit under `entities:` or `items:` (the named\n   content this audit counts \u2014 not `formulas:`\/`constants:`). Use those as the\n   **planned** named-content set without full-reading the GDDs that own them.\n   **If `design\/registry\/entities.yaml` does not exist or has no entries** (it\n   ships as an empty stub until `\/design-system` populates it), skip this step\n   and rely on the GDD scan below \u2014 behaviour is unchanged, only more expensive.\n\n3. **L0 pre-scan**: Before full-reading any GDDs, run **two** greps \u2014 they\n   answer different questions and must not share a pattern:\n\n   a. Which GDDs carry a Summary (the denominator \/ fail-open check):\n   ```\n   Grep pattern=\"^## Summary\" glob=\"design\/gdd\/*.md\" output_mode=\"files_with_matches\"\n   ```\n\n   b. Which GDDs actually declare content counts (the narrowing step):\n   ```\n   Grep pattern=\"[0-9]+[[:space:]]+(enemies|enemy types|levels|areas|maps|stages|items|weapons|equipment|abilities|skills|spells|cutscenes|conversations|dialogue scenes|bosses|quests)|(enemy|item|weapon|ability|level) types:\" glob=\"design\/gdd\/*.md\" output_mode=\"files_with_matches\"\n   ```\n\n   > **Keep the two scans separate.** `## Summary` matches every compliant GDD,\n   > so a union with it narrows nothing, and a literal placeholder such as\n   > `N enemies` matches no real GDD. Pattern (b) matches digits followed by the\n   > content nouns step 5 actually extracts.\n\n   **Fail open on a missing Summary.** Establish the denominator: glob\n   `design\/gdd\/*.md` and count **N**. **Scan (a)** matching fewer than N means\n   those GDDs predate `## Summary` \u2014 never treat an absent Summary as a system\n   out of scope; a zero-match (a) means \"no GDD carries a Summary yet\", not \"no\n   auditable content\". Full-read the unmatched in-scope GDDs.\n\n   For a single-system audit: skip this step and go straight to full-read.\n   For a full audit: full-read the GDDs that **scan (b)** matched\n   **and are not already fully covered by the registry entries from step 2**,\n   plus every GDD scan (a) missed \u2014 **the fail-open rule wins over this\n   narrowing**: a GDD with no `## Summary` is full-read even when scan (b) did\n   not match it. Only a GDD that has a Summary and no content-count language (a\n   pure mechanics GDD) is noted as \"No auditable content counts\" without a full\n   read.\n\n4. **Full-read in-scope GDD files** (or the single system GDD if a system\n   name was given). This step needs the whole GDD: read it in ranges by its\n   headings (found with the Grep tool: pattern `^#`, content mode), since a\n   whole-file Read over 40 KB is refused.\n\n5. **For each GDD, extract explicit content counts or lists**, noting the `##` section each sits under \u2014 at `standard`, a count outside the required sections (`.claude\/docs\/workflow-modes.md`) goes on the \"Not audited at this tier\" list, never into the inventory. Look for patterns\n   like:\n   - \"N enemies\" \/ \"enemy types:\" \/ list of named enemies\n   - \"N levels\" \/ \"N areas\" \/ \"N maps\" \/ \"N stages\"\n   - \"N items\" \/ \"N weapons\" \/ \"N equipment pieces\"\n   - \"N abilities\" \/ \"N skills\" \/ \"N spells\"\n   - \"N dialogue scenes\" \/ \"N conversations\" \/ \"N cutscenes\"\n   - \"N quests\" \/ \"N missions\" \/ \"N objectives\"\n   - Any explicit enumerated list (bullet list of named content pieces)\n\n6. **Build a content inventory table** from the extracted data:\n\n   | System | Content Type | Specified Count\/List | Source GDD |\n   |--------|-------------|---------------------|------------|\n\n   Note: If a GDD describes content qualitatively but gives no count, record\n   \"Unspecified\" and flag it \u2014 unspecified counts are a design gap worth noting.\n\n---\n\n## Phase 2 \u2014 Implementation Scan\n\nFor each content type found in Phase 1, scan the relevant directories to count\nwhat has been implemented. Use Glob and Grep to locate files.\n\n**On Unreal, content lives in `Content\/`** \u2014 maps and data assets both \u2014 and the\ncode root (`Source\/<Module>\/`) holds only C++. So on Unreal, every `assets\/\u2026` glob\nbelow also runs under `Content\/` (`*.uasset` in place of the data extensions),\nand levels are `Content\/**\/*.umap`. Skipping this finds zero levels on every\nUnreal project and reports them NOT STARTED.\n\n**On Unity, content lives under `Assets\/`** (compare the case exactly \u2014\n`.claude\/docs\/code-root-resolution.md`), and rarely in a `data\/` folder. So on\nUnity every `assets\/\u2026` glob below also runs under `Assets\/`, without requiring\na `data\/` segment \u2014 for items, `Assets\/**\/items\/**`, `Assets\/**\/Items\/**` and\n`Assets\/**\/*Item*.asset` \u2014 and data files include `.asset` (ScriptableObjects)\nand `.prefab`. Skipping this finds zero items, abilities, quests and dialogue\non a Unity project and reports them NOT STARTED.\n\n**Levels \/ Areas \/ Maps:**\n- Glob `assets\/**\/*.tscn`, `assets\/**\/*.unity`, `assets\/**\/*.umap`\n- Glob the **code root** for scene files: `*.tscn` (Godot), `*.unity` (Unity); on Unreal, `Content\/**\/*.umap` instead (above). Web has no scene files: its levels are data files in a `levels\/` folder under `data\/` or `assets\/data\/`. Resolve the root per `.claude\/docs\/code-root-resolution.md`. **If the code root is unresolved, report `NOT ASSESSED \u2014 code root unresolved` rather than zero hits.**\n- Look for scene files in subdirectories named `levels\/`, `areas\/`, `maps\/`,\n  `worlds\/`, `stages\/`\n- Count unique files that appear to be level\/scene definitions (not UI scenes)\n\n**Enemies \/ Characters \/ NPCs:**\n- Glob `assets\/data\/**\/enemies\/**`, `assets\/data\/**\/characters\/**`\n- Glob `<code root>\/**\/enemies\/**`, `<code root>\/**\/characters\/**`\n- Look for `.json`, `.tres`, `.asset`, `.yaml` data files defining entity stats\n- Look for scene\/prefab files in character subdirectories\n\n**Items \/ Equipment \/ Loot:**\n- Glob `assets\/data\/**\/items\/**`, `assets\/data\/**\/equipment\/**`,\n  `assets\/data\/**\/loot\/**`\n- Look for `.json`, `.tres`, `.asset` data files\n\n**Abilities \/ Skills \/ Spells:**\n- Glob `assets\/data\/**\/abilities\/**`, `assets\/data\/**\/skills\/**`,\n  `assets\/data\/**\/spells\/**`\n- Look for `.json`, `.tres`, `.asset` data files\n\n**Dialogue \/ Conversations \/ Cutscenes:**\n- Glob `assets\/**\/*.dialogue`, `assets\/**\/*.csv`, `assets\/**\/*.ink`\n- Grep for dialogue data files in `assets\/data\/`\n\n**Quests \/ Missions:**\n- Glob `assets\/data\/**\/quests\/**`, `assets\/data\/**\/missions\/**`\n- Look for `.json`, `.yaml` definition files\n\n**Engine-specific notes (acknowledge in the report):**\n- Counts are approximations \u2014 the skill cannot perfectly parse every engine\n  format or distinguish editor-only files from shipped content\n- Scene files may include both gameplay content and system\/UI scenes; the scan\n  counts all matches and notes this caveat\n\n---\n\n## Phase 3 \u2014 Gap Report\n\nProduce the gap table:\n\n```\n| System | Content Type | Specified | Found | Gap | Status |\n|--------|-------------|-----------|-------|-----|--------|\n```\n\n**Status categories:**\n- `COMPLETE` \u2014 Found \u2265 Specified (100%+)\n- `IN PROGRESS` \u2014 Found is 50\u201399% of Specified\n- `EARLY` \u2014 Found is 1\u201349% of Specified\n- `NOT STARTED` \u2014 Found is 0\n\n**Priority flags:**\nFlag a system as `HIGH PRIORITY` in the report if:\n- Status is `NOT STARTED` or `EARLY`, AND\n- The system is tagged MVP or Vertical Slice in the systems index, OR\n- The systems index shows the system is blocking downstream systems\n\n**Summary line:**\n- Total content items specified (sum of all Specified column values)\n- Total content items found (sum of all Found column values)\n- Overall gap percentage: `(Specified - Found) \/ Specified * 100`\n\nA row whose Found is `NOT ASSESSED` (code root unresolved) has no Gap or\nStatus, is never `NOT STARTED`, and stays out of both totals; the summary names it.\n\n---\n\n## Phase 4 \u2014 Output\n\n### Full audit and single-system modes\n\nPresent the gap table and summary to the user. Ask: \"May I write the full report to `docs\/content-audit-[YYYY-MM-DD].md`?\"\n\nIf yes, write the file:\n\n```markdown\n# Content Audit \u2014 [Date]\n\n## Summary\n- **Total specified**: [N] content items across [M] systems\n- **Total found**: [N]\n- **Gap**: [N] items ([X%] unimplemented)\n- **Scope**: [Full audit | System: name] \u2014 [all GDD sections | required sections only (workflow: standard)]\n- **Not audited at this tier**: [counts found only outside the required sections \u2014 or \"none\"; omit at `full`]\n\n> Note: Counts are approximations based on file scanning.\n> The audit cannot distinguish shipped content from editor\/test assets.\n> Manual verification is recommended for any HIGH PRIORITY gaps.\n\n## Gap Table\n\n| System | Content Type | Specified | Found | Gap | Status |\n|--------|-------------|-----------|-------|-----|--------|\n\n## HIGH PRIORITY Gaps\n\n[List systems flagged HIGH PRIORITY with rationale]\n\n## Per-System Breakdown\n\n### [System Name]\n- **GDD**: `design\/gdd\/[file].md`\n- **Content types audited**: [list]\n- **Notes**: [any caveats about scan accuracy for this system]\n\n## Recommendation\n\nFocus implementation effort on:\n1. [Highest-gap HIGH PRIORITY system]\n2. [Second system]\n3. [Third system]\n\n## Unspecified Content Counts\n\nThe following GDDs describe content without giving explicit counts.\nConsider adding counts to improve auditability:\n[List of GDDs and content types with \"Unspecified\"]\n```\n\nAfter writing the report, ask:\n\n> \"Would you like to create backlog stories for any of the content gaps?\"\n\nIf yes: for each system the user selects, suggest a story title and point them\nto `\/create-stories [epic-slug]` or `\/quick-design` depending on the size of the gap.\n\n### --summary mode\n\nPrint the Gap Table and Summary directly to conversation. Do not write a file.\nEnd with: \"Run `\/content-audit` without `--summary` to write the full report.\"\n\n---\n\n## Phase 5 \u2014 Next Steps\n\nAfter the audit, recommend the highest-value follow-up actions:\n\n- If any system is `NOT STARTED` and MVP-tagged \u2192 \"Run `\/design-system [name]` to\n  add missing content counts to the GDD before implementation begins.\"\n- If total gap is >50% \u2192 \"Run `\/sprint-plan` to allocate content work across upcoming sprints.\"\n- If any system is flagged HIGH PRIORITY \u2192 \"Run `\/create-stories [epic-slug]` for each HIGH PRIORITY gap.\"\n- If `--summary` was used \u2192 \"Run `\/content-audit` (no flag) to write the full report to `docs\/`.\"\n\nClose with the verdict that matches the run:\n- Verdict: **COMPLETE** \u2014 content audit finished.\n- Verdict: **NOT ASSESSED \u2014 NO DATA** \u2014 a required input was absent (see the note at\n  the top), nothing in scope gives a count (no registry entry, and every GDD is\n  \"Unspecified\" or \"No auditable content counts\"), or a Found count could not be taken\n  (`NOT ASSESSED \u2014 code root unresolved`); name which, and for missing counts\n  name `\/design-system`. Never print COMPLETE for a run that could not compute a gap.\n","use_cases":["Identify missing content in a game development project","Track progress on content implementation against design documents","Prioritize systems based on content completion status"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/Donchitos\/Claude-Code-Game-Studios\/blob\/abc0de79d6ceb0b5d7aa693945849b3937afbe6a\/.claude\/skills\/content-audit\/SKILL.md","source_commit":"abc0de79d6ceb0b5d7aa693945849b3937afbe6a","license":null,"version":null,"listing_approved_at":"2026-11-18","created_at":"2026-11-16T20:11:14.000000Z","updated_at":"2026-11-18T07:35:05.000000Z","seo_title":"Content Audit: Compare Specified vs Implemented Content","seo_description":"Audit GDD content counts against what's implemented \u2014 planned vs built. Identify gaps and prioritize systems.","seo_keywords":["content audit tool","game content audit","planned vs implemented content","content gap analysis","system prioritization"]}}