ags-content-audit
Audit GDD-specified content counts against implemented content. Identifies what's planned vs built.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Audit GDD-specified content counts against implemented content. Identifies what's planned vs built.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Validates completeness and consistency of the project architecture against all GDDs. Builds a traceability matrix mapping every GDD technical requirement to ADRs, identifies coverage gaps, detects cross-ADR conflicts, verifies engine compatibility consistency across all decisions, and produces a PASS/CONCERNS/FAIL verdict. The architecture equivalent of /ags-design-review.
Reviews a game design document for completeness, internal consistency, implementability, and adherence to project design standards. Run this before handing a design document to programmers.
Brownfield onboarding — audits existing project artifacts for template format compliance (not just existence), classifies gaps by impact, and produces a numbered migration plan. Run this when joining an in-progress project or upgrading from an older template version. Distinct from /ags-project-stage-detect (which checks what exists) — this checks whether what exists will actually work with the template's skills.
Creates an Architecture Decision Record (ADR) documenting a significant technical decision, its context, alternatives considered, and consequences. Every major technical choice should have an ADR.
Guided, section-by-section Art Bible authoring. Creates the visual identity specification that gates all asset production. Run after /ags-brainstorm is approved and before /ags-map-systems or any GDD authoring begins.
Audits game assets for compliance with naming conventions, file size budgets, format standards, and pipeline requirements. Identifies orphaned assets, missing references, and standard violations.
| name | ags-content-audit |
| description | Audit GDD-specified content counts against implemented content. Identifies what's planned vs built. |
| argument-hint | [system-name | --summary | (no arg = full audit)] |
| user-invocable | true |
| allowed-tools | Read, Glob, Grep, Write, AskUserQuestion |
| agent | producer |
Language: Talk to user in language from .ags/project/user-interaction.md. Fall back to English if file missing. Files on disk always English per .ags/rules/user-interaction.md.
When this skill is invoked:
Parse the argument:
[system-name] → audit that single system only--summary → summary table only, no file write| Artifact | Created by | If missing |
|---|---|---|
design/gdd/systems-index.md | /ags-map-systems | STOP. "No systems map. Run /ags-map-systems." |
≥1 GDD under design/gdd/*.md | /ags-design-system | STOP. "No GDDs. Run /ags-design-system [system]." |
| Engine source root | engine init | WARN: planned counts only, no built counts. |
If STOP triggers, exit with verdict BLOCKED — missing prerequisite.
Read design/gdd/systems-index.md for the full list of systems, their
categories, and MVP/priority tier.
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.
Full-read in-scope GDD files (or the single system GDD if a system name was given).
For each GDD, extract explicit content counts or lists. Look for patterns like:
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.
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:
assets/**/*.tscn, assets/**/*.unity, assets/**/*.umapAssets/Scripts/**/*.tscn, Assets/Scripts/**/*.unitylevels/, areas/, maps/,
worlds/, stages/Enemies / Characters / NPCs:
assets/data/**/enemies/**, assets/data/**/characters/**Assets/Scripts/**/enemies/**, Assets/Scripts/**/characters/**.json, .tres, .asset, .yaml data files defining entity statsItems / Equipment / Loot:
assets/data/**/items/**, assets/data/**/equipment/**,
assets/data/**/loot/**.json, .tres, .asset data filesAbilities / Skills / Spells:
assets/data/**/abilities/**, assets/data/**/skills/**,
assets/data/**/spells/**.json, .tres, .asset data filesDialogue / Conversations / Cutscenes:
assets/**/*.dialogue, assets/**/*.csv, assets/**/*.inkassets/data/Quests / Missions:
assets/data/**/quests/**, assets/data/**/missions/**.json, .yaml definition filesEngine-specific notes (acknowledge in the report):
Produce the gap table:
| System | Content Type | Specified | Found | Gap | Status |
|--------|-------------|-----------|-------|-----|--------|
Status categories:
COMPLETE — Found ≥ Specified (100%+)IN PROGRESS — Found is 50–99% of SpecifiedEARLY — Found is 1–49% of SpecifiedNOT STARTED — Found is 0Priority flags:
Flag a system as HIGH PRIORITY in the report if:
NOT STARTED or EARLY, ANDSummary line:
(Specified - Found) / Specified * 100Present 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 /ags-create-stories [epic-slug].
Print the Gap Table and Summary directly to conversation. Do not write a file.
End with: "Run /ags-content-audit without --summary to write the full report."
After audit, recommend highest-value follow-up actions:
NOT STARTED + MVP-tagged → /ags-design-system [name] to add missing content counts before implementation./ags-create-epics to allocate content work across sprints./ags-create-stories [epic-slug] for each HIGH PRIORITY gap.--summary used → /ags-content-audit (no flag) to write full report to docs/.Verdict: COMPLETE — content audit finished.
Per .ags/rules/review-workflow.md. Audit phases run in parallel with external Codex inside one loop. Each iteration:
/ags-external-review gdd [gdd-path] --embedded-parallel --iteration [N] --min-severity [floor]. Codex unavailable → skipped: codex-unavailable; aggregator logs skip in decisions-log and continues with internal pool only.producer) merges findings from internal + Codex, drops nitpicks + below-floor.No iteration cap. No user-confirm gate before external — it runs every iteration automatically. Record final iteration count in the verdict report and decisions-log entry. Codex reviews the source GDDs, NOT this content-audit report.