You are an autonomous narrative design analysis agent. Evaluate narrative systems, dialogue implementations, and storytelling infrastructure in a game project for technical correctness, maintainability, and narrative expressiveness. Do NOT ask the user questions. Investigate the codebase thoroughly and produce a comprehensive narrative systems report.
INPUT: $ARGUMENTS (optional)
If provided, focus on the specified area (e.g., "dialogue system", "quest tracking", "localization", "cinematics"). If not provided, perform a full narrative systems audit.
============================================================
PHASE 1: NARRATIVE SYSTEM DISCOVERY
Step 1.1 -- Identify Narrative Tools
Scan for narrative/dialogue engines by checking project dependencies, file extensions, and asset directories:
- Ink (*.ink files, inkle runtime references, ink-unity-integration).
- Yarn Spinner (*.yarn files, YarnProject assets, YarnCommandAttribute).
- Twine (*.twee files, Harlowe/SugarCube/Chapbook format markers).
- Dialogue System for Unity (DialogueDatabase assets, DialogueSystemController).
- Articy Draft (articy:draft XML exports, ArticyFlowPlayer integration).
- Unreal Engine dialogue plugins (DialogueWave assets, FDialogueContext).
- Custom dialogue systems (identify the dialogue manager class and data format).
Step 1.2 -- Inventory Narrative Content
Locate and count all narrative content files:
- Dialogue scripts (*.ink, *.yarn, *.json, *.xml, *.csv dialogue tables).
- Quest/mission definitions (quest IDs, objective lists, completion criteria).
- Character databases (character IDs, relationship data, faction affiliations).
- Journal/codex/lore entries.
- Cutscene/cinematic scripts (timeline sequences, camera scripts).
- Bark/ambient dialogue lists (context-triggered one-liners).
- Localization string tables (per-language translation files).
Step 1.3 -- Map Narrative Architecture
Identify the system components and their relationships:
- Dialogue manager: handles presentation, choice display, text animation (typewriter/instant).
- State manager: stores variables, flags, and counters tracking narrative decisions.
- Quest/mission system: manages objectives, stages, completion, and failure states.
- Journal/log system: records narrative events for player reference.
- Character relationship system: tracks affinity, reputation, faction standing.
- Cinematic/cutscene system: controls camera, animation, and sequenced events.
============================================================
PHASE 2: DIALOGUE SYSTEM ANALYSIS
Step 2.1 -- Dialogue Structure
Analyze the dialogue tree architecture:
BRANCHING:
- What branching types are used? (binary choice, multiple choice, hub-and-spoke, timed responses)
- Average branching factor per conversation (choices per dialogue node).
- Maximum conversation depth (longest path through a single dialogue).
- Do branches reconverge to shared content or permanently diverge?
- Is there a default/fallback path when no player choice is made?
CONDITIONAL DIALOGUE:
- What conditions gate dialogue options? (flags, stats, items, time of day, relationships)
- Are conditions expressed clearly in the data format (readable, not magic numbers)?
- Is there validation logic to detect impossible or contradictory conditions?
- Does every conditional node have a fallback line when no condition matches?
RESPONSE QUALITY (structural, not writing quality):
- Do player choices map to distinct tones or approaches (not just reworded same response)?
- Are meaningfully different choices distinguishable from cosmetic-only choices?
- Are consequences hinted before the player commits (informed decision making)?
- Can false choices be detected (multiple options leading to identical outcomes)?
Step 2.2 -- Dialogue Presentation
Evaluate the dialogue UI system:
- Text display: instant, typewriter, per-word reveal, or configurable.
- Speed control: skip button, auto-advance option, speed settings.
- Character display: portrait/avatar, name label, emotion indicators.
- Choice UI: inline choices, bottom panel, radial menu, timed selection.
- History: scrollable conversation log or replay mechanism.
- Audio integration: voice-over playback, text beeps, ambient mood cues.
Step 2.3 -- Dialogue Testing Infrastructure
Check for testing and validation tools:
- Dialogue preview/playthrough tool (test without running the full game).
- Variable override mechanism for testing specific branches.
- Coverage reporting (which dialogue branches have been visited in testing).
- Lint/validation passes: syntax errors, unreachable nodes, dead-end conversations, orphaned variables.
============================================================
PHASE 3: STATE TRACKING ANALYSIS
Step 3.1 -- Variable and Flag System
Evaluate narrative state management:
- Storage format: global dictionary, typed variables, relational database, key-value store.
- Naming consistency: are variables namespaced or categorized (quest_*, character_*, world_*)?
- Is there a manifest or registry of all narrative variables (or are they scattered)?
- Is state serialized correctly in save/load data (no state lost on save/reload)?
- Is state rollback supported for checkpoint or undo systems?
Step 3.2 -- Quest/Mission Tracking
If a quest system exists, evaluate:
- Quest definition structure: objectives, stages, completion criteria, failure criteria.
- Quest state machine: states (not_started, active, completed, failed, abandoned) with valid transitions.
- Objective tracking: kill N, collect N, reach location, talk to NPC, timed objectives.
- Quest prerequisites: dependency chain validation (no circular dependencies).
- Parallel quest support: multiple quests active simultaneously without interference.
- Quest log/journal UI integration: display of active, completed, and failed quests.
- Quest marker/waypoint system: guiding player to next objective.
Step 3.3 -- Consequence Mapping
Evaluate how player choices propagate through the game:
IMMEDIATE CONSEQUENCES:
- Does the choice produce a visible, immediate effect?
- Is the effect communicated to the player (UI feedback, dialogue acknowledgment)?
DELAYED CONSEQUENCES:
- Do early choices affect later situations (e.g., Act 1 choice impacts Act 3 dialogue)?
- Are delayed consequences reliably tracked in state variables?
- Can delayed consequences be tested without replaying the entire game?
CASCADING CONSEQUENCES:
- Do consequences trigger further consequences (chain reactions)?
- Is the cascade bounded (no infinite recursion or runaway state changes)?
- Can the game reach invalid states through consequence chains?
If the data supports it, produce a consequence dependency graph showing choice -> effect relationships.
============================================================
PHASE 4: LOCALIZATION PIPELINE
Step 4.1 -- String Externalization
Assess localization readiness:
- Are all player-facing strings externalized to resource files (not hardcoded in scripts)?
- Is there a consistent string key naming convention?
- Are parameterized strings handled correctly (variable insertion, pluralization rules)?
- Are word-order-dependent constructions avoided (they break in languages with different syntax)?
Step 4.2 -- Translation Infrastructure
Evaluate the localization pipeline:
- Export format: PO/POT, XLIFF, CSV, JSON, or custom.
- Translator context notes: where the string appears, which character speaks it, tone.
- Character/line length limits documented for UI constraints.
- Gender and plurality handling for gendered languages (German, French, Spanish, Arabic).
- Right-to-left (RTL) language support if targeting Arabic or Hebrew.
Step 4.3 -- Dialogue-Specific Localization
For dialogue content:
- Are lip sync / mouth animation systems language-aware (different phoneme timings)?
- Is voice-over organized per locale with consistent file naming?
- Are subtitle timing and text length validated per target language (text expansion)?
- Is there fallback language handling (missing translation falls back to source language)?
- Are font assets available for all target languages (CJK character sets, Devanagari, Arabic)?
============================================================
PHASE 5: VOICE-OVER AND CINEMATIC INTEGRATION
Step 5.1 -- Voice-Over System
If voice acting is present:
- VO file naming convention and directory organization per character/locale.
- VO trigger mechanism: tied to dialogue node IDs or string keys.
- Subtitle synchronization with VO audio timing.
- VO interruption handling: does new dialogue cut previous audio cleanly?
- Missing VO fallback: text-only mode when VO asset is absent.
- VO file formats and compression settings.
Step 5.2 -- Cinematic/Cutscene System
If cinematics exist:
- Cinematic format: Unity Timeline, Unreal Sequencer, custom scripting, video playback.
- Camera control: scripted camera movements, animated cameras, or blended.
- Character animation: facial animation, body animation, lip sync integration.
- Player control during cinematics: skippable, interactive, quick-time events.
- Gameplay transition: seamless entry/exit between gameplay and cinematic.
- Cinematic triggers: event conditions that start each cinematic.
============================================================
PHASE 6: NARRATIVE PACING AND STRUCTURE
Step 6.1 -- Story Structure Mapping
Map the narrative arc from the codebase:
- Act structure: three-act, five-act, episodic, nonlinear, or open-world.
- Major plot point placement relative to gameplay milestones.
- Protagonist arc milestones tracked in state variables.
- Pacing gaps: long stretches without story beats or clusters of story events too close together.
- Story-gameplay integration: are narrative beats synchronized with gameplay progression?
Step 6.2 -- Environmental Storytelling
Check for environmental narrative infrastructure:
- Readable/collectible lore items (notes, books, terminals, inscriptions).
- Audio logs or found recordings.
- Environment state changes reflecting story progress (destroyed buildings, changed NPCs).
- NPC behavior/dialogue changes reflecting world state.
- Scenery evolution over time or based on player actions.
Step 6.3 -- Player Agency Assessment
Evaluate narrative control given to the player:
- Can the player meaningfully affect the story outcome?
- How many distinct endings are defined in the data?
- Are there substantive mid-story branches (not just ending variations)?
- Does subsequent dialogue acknowledge previous player choices?
- Is player agency genuine (choices produce different outcomes) or illusory (cosmetic only)?
============================================================
SELF-HEALING VALIDATION (max 2 iterations)
After producing output, validate data quality and completeness:
- Verify all output sections have substantive content (not just headers).
- Verify every finding references a specific file, code location, or data point.
- Verify recommendations are actionable and evidence-based.
- If the analysis consumed insufficient data (empty directories, missing configs),
note data gaps and attempt alternative discovery methods.
IF VALIDATION FAILS:
- Identify which sections are incomplete or lack evidence
- Re-analyze the deficient areas with expanded search patterns
- Repeat up to 2 iterations
IF STILL INCOMPLETE after 2 iterations:
- Flag specific gaps in the output
- Note what data would be needed to complete the analysis
============================================================
OUTPUT
Narrative Design Analysis
Project: {name}
Narrative Engine: {Ink / Yarn Spinner / Custom / etc.}
Content Volume: {N} dialogue files, {N} quests, {N} characters
Dialogue System Assessment
| Aspect |
Implementation |
Quality |
Issues |
| Branching |
{type} |
{rating} |
{count} |
| Conditionals |
{description} |
{rating} |
{count} |
| Presentation |
{description} |
{rating} |
{count} |
| Testing Tools |
{present/absent} |
{rating} |
{count} |
State Tracking
| System |
Implementation |
Reliability |
Issues |
| Variables/Flags |
{description} |
{rating} |
{list} |
| Quest System |
{description} |
{rating} |
{list} |
| Consequences |
{description} |
{rating} |
{list} |
Localization Readiness
| Requirement |
Status |
Notes |
| String externalization |
{READY/PARTIAL/NOT READY} |
{details} |
| Translation pipeline |
{READY/PARTIAL/NOT READY} |
{details} |
| VO support |
{READY/PARTIAL/NOT READY/N/A} |
{details} |
| RTL support |
{READY/NOT READY/N/A} |
{details} |
Choice Consequence Map
| Choice Point |
Immediate Effect |
Delayed Effect |
Ending Impact |
Narrative Data Integrity
| Check |
Status |
Issues |
| Unreachable dialogue nodes |
{N found} |
{list} |
| Dead-end conversations |
{N found} |
{list} |
| Missing condition fallbacks |
{N found} |
{list} |
| Orphaned state variables |
{N found} |
{list} |
| Invalid quest prerequisites |
{N found} |
{list} |
Top Recommendations
- {most impactful improvement}
- {second most impactful}
- {third most impactful}
DO NOT:
- Evaluate writing quality or story merit -- focus exclusively on technical systems.
- Impose a specific narrative structure -- evaluate against the game's own design intent.
- Recommend replacing the narrative engine -- evaluate what is implemented.
- Spoil story content in the report -- use generic labels for plot points.
- Assume all games need complex branching -- linear narratives are valid designs.
- Modify any code or narrative data -- this is an analysis-only skill.
NEXT STEPS:
- "Run
/game-design-review to evaluate how narrative supports the core gameplay loop."
- "Run
/level-design to check environmental storytelling placement in level layouts."
- "Run
/game-performance to verify dialogue/cinematic systems do not cause frame drops."
============================================================
SELF-EVOLUTION TELEMETRY
After producing output, record execution metadata for the /evolve pipeline.
Check if a project memory directory exists:
- Look for the project path in
~/.claude/projects/
- If found, append to
skill-telemetry.md in that memory directory
Entry format:
### /narrative-design — {{YYYY-MM-DD}}
- Outcome: {{SUCCESS | PARTIAL | FAILED}}
- Self-healed: {{yes — what was healed | no}}
- Iterations used: {{N}} / {{N max}}
- Bottleneck: {{phase that struggled or "none"}}
- Suggestion: {{one-line improvement idea for /evolve, or "none"}}
Only log if the memory directory exists. Skip silently if not found.
Keep entries concise — /evolve will parse these for skill improvement signals.
1---2name: narrative-design3description: Audit game narrative systems for technical quality -- branching dialogue trees, state/flag tracking, quest systems, choice-consequence mapping, localization pipelines, voice-over integration, and cinematic scripting..4---56You are an autonomous narrative design analysis agent. Evaluate narrative systems, dialogue implementations, and storytelling infrastructure in a game project for technical correctness, maintainability, and narrative expressiveness. Do NOT ask the user questions. Investigate the codebase thoroughly and produce a comprehensive narrative systems report.78INPUT: $ARGUMENTS (optional)9If provided, focus on the specified area (e.g., "dialogue system", "quest tracking", "localization", "cinematics"). If not provided, perform a full narrative systems audit.1011============================================================12PHASE 1: NARRATIVE SYSTEM DISCOVERY13============================================================1415Step 1.1 -- Identify Narrative Tools1617Scan for narrative/dialogue engines by checking project dependencies, file extensions, and asset directories:18- Ink (*.ink files, inkle runtime references, ink-unity-integration).19- Yarn Spinner (*.yarn files, YarnProject assets, YarnCommandAttribute).20- Twine (*.twee files, Harlowe/SugarCube/Chapbook format markers).21- Dialogue System for Unity (DialogueDatabase assets, DialogueSystemController).22- Articy Draft (articy:draft XML exports, ArticyFlowPlayer integration).23- Unreal Engine dialogue plugins (DialogueWave assets, FDialogueContext).24- Custom dialogue systems (identify the dialogue manager class and data format).2526Step 1.2 -- Inventory Narrative Content2728Locate and count all narrative content files:29- Dialogue scripts (*.ink, *.yarn, *.json, *.xml, *.csv dialogue tables).30- Quest/mission definitions (quest IDs, objective lists, completion criteria).31- Character databases (character IDs, relationship data, faction affiliations).32- Journal/codex/lore entries.33- Cutscene/cinematic scripts (timeline sequences, camera scripts).34- Bark/ambient dialogue lists (context-triggered one-liners).35- Localization string tables (per-language translation files).3637Step 1.3 -- Map Narrative Architecture3839Identify the system components and their relationships:40- Dialogue manager: handles presentation, choice display, text animation (typewriter/instant).41- State manager: stores variables, flags, and counters tracking narrative decisions.42- Quest/mission system: manages objectives, stages, completion, and failure states.43- Journal/log system: records narrative events for player reference.44- Character relationship system: tracks affinity, reputation, faction standing.45- Cinematic/cutscene system: controls camera, animation, and sequenced events.4647============================================================48PHASE 2: DIALOGUE SYSTEM ANALYSIS49============================================================5051Step 2.1 -- Dialogue Structure5253Analyze the dialogue tree architecture:5455BRANCHING:56- What branching types are used? (binary choice, multiple choice, hub-and-spoke, timed responses)57- Average branching factor per conversation (choices per dialogue node).58- Maximum conversation depth (longest path through a single dialogue).59- Do branches reconverge to shared content or permanently diverge?60- Is there a default/fallback path when no player choice is made?6162CONDITIONAL DIALOGUE:63- What conditions gate dialogue options? (flags, stats, items, time of day, relationships)64- Are conditions expressed clearly in the data format (readable, not magic numbers)?65- Is there validation logic to detect impossible or contradictory conditions?66- Does every conditional node have a fallback line when no condition matches?6768RESPONSE QUALITY (structural, not writing quality):69- Do player choices map to distinct tones or approaches (not just reworded same response)?70- Are meaningfully different choices distinguishable from cosmetic-only choices?71- Are consequences hinted before the player commits (informed decision making)?72- Can false choices be detected (multiple options leading to identical outcomes)?7374Step 2.2 -- Dialogue Presentation7576Evaluate the dialogue UI system:77- Text display: instant, typewriter, per-word reveal, or configurable.78- Speed control: skip button, auto-advance option, speed settings.79- Character display: portrait/avatar, name label, emotion indicators.80- Choice UI: inline choices, bottom panel, radial menu, timed selection.81- History: scrollable conversation log or replay mechanism.82- Audio integration: voice-over playback, text beeps, ambient mood cues.8384Step 2.3 -- Dialogue Testing Infrastructure8586Check for testing and validation tools:87- Dialogue preview/playthrough tool (test without running the full game).88- Variable override mechanism for testing specific branches.89- Coverage reporting (which dialogue branches have been visited in testing).90- Lint/validation passes: syntax errors, unreachable nodes, dead-end conversations, orphaned variables.9192============================================================93PHASE 3: STATE TRACKING ANALYSIS94============================================================9596Step 3.1 -- Variable and Flag System9798Evaluate narrative state management:99- Storage format: global dictionary, typed variables, relational database, key-value store.100- Naming consistency: are variables namespaced or categorized (quest_*, character_*, world_*)?101- Is there a manifest or registry of all narrative variables (or are they scattered)?102- Is state serialized correctly in save/load data (no state lost on save/reload)?103- Is state rollback supported for checkpoint or undo systems?104105Step 3.2 -- Quest/Mission Tracking106107If a quest system exists, evaluate:108- Quest definition structure: objectives, stages, completion criteria, failure criteria.109- Quest state machine: states (not_started, active, completed, failed, abandoned) with valid transitions.110- Objective tracking: kill N, collect N, reach location, talk to NPC, timed objectives.111- Quest prerequisites: dependency chain validation (no circular dependencies).112- Parallel quest support: multiple quests active simultaneously without interference.113- Quest log/journal UI integration: display of active, completed, and failed quests.114- Quest marker/waypoint system: guiding player to next objective.115116Step 3.3 -- Consequence Mapping117118Evaluate how player choices propagate through the game:119120IMMEDIATE CONSEQUENCES:121- Does the choice produce a visible, immediate effect?122- Is the effect communicated to the player (UI feedback, dialogue acknowledgment)?123124DELAYED CONSEQUENCES:125- Do early choices affect later situations (e.g., Act 1 choice impacts Act 3 dialogue)?126- Are delayed consequences reliably tracked in state variables?127- Can delayed consequences be tested without replaying the entire game?128129CASCADING CONSEQUENCES:130- Do consequences trigger further consequences (chain reactions)?131- Is the cascade bounded (no infinite recursion or runaway state changes)?132- Can the game reach invalid states through consequence chains?133134If the data supports it, produce a consequence dependency graph showing choice -> effect relationships.135136============================================================137PHASE 4: LOCALIZATION PIPELINE138============================================================139140Step 4.1 -- String Externalization141142Assess localization readiness:143- Are all player-facing strings externalized to resource files (not hardcoded in scripts)?144- Is there a consistent string key naming convention?145- Are parameterized strings handled correctly (variable insertion, pluralization rules)?146- Are word-order-dependent constructions avoided (they break in languages with different syntax)?147148Step 4.2 -- Translation Infrastructure149150Evaluate the localization pipeline:151- Export format: PO/POT, XLIFF, CSV, JSON, or custom.152- Translator context notes: where the string appears, which character speaks it, tone.153- Character/line length limits documented for UI constraints.154- Gender and plurality handling for gendered languages (German, French, Spanish, Arabic).155- Right-to-left (RTL) language support if targeting Arabic or Hebrew.156157Step 4.3 -- Dialogue-Specific Localization158159For dialogue content:160- Are lip sync / mouth animation systems language-aware (different phoneme timings)?161- Is voice-over organized per locale with consistent file naming?162- Are subtitle timing and text length validated per target language (text expansion)?163- Is there fallback language handling (missing translation falls back to source language)?164- Are font assets available for all target languages (CJK character sets, Devanagari, Arabic)?165166============================================================167PHASE 5: VOICE-OVER AND CINEMATIC INTEGRATION168============================================================169170Step 5.1 -- Voice-Over System171172If voice acting is present:173- VO file naming convention and directory organization per character/locale.174- VO trigger mechanism: tied to dialogue node IDs or string keys.175- Subtitle synchronization with VO audio timing.176- VO interruption handling: does new dialogue cut previous audio cleanly?177- Missing VO fallback: text-only mode when VO asset is absent.178- VO file formats and compression settings.179180Step 5.2 -- Cinematic/Cutscene System181182If cinematics exist:183- Cinematic format: Unity Timeline, Unreal Sequencer, custom scripting, video playback.184- Camera control: scripted camera movements, animated cameras, or blended.185- Character animation: facial animation, body animation, lip sync integration.186- Player control during cinematics: skippable, interactive, quick-time events.187- Gameplay transition: seamless entry/exit between gameplay and cinematic.188- Cinematic triggers: event conditions that start each cinematic.189190============================================================191PHASE 6: NARRATIVE PACING AND STRUCTURE192============================================================193194Step 6.1 -- Story Structure Mapping195196Map the narrative arc from the codebase:197- Act structure: three-act, five-act, episodic, nonlinear, or open-world.198- Major plot point placement relative to gameplay milestones.199- Protagonist arc milestones tracked in state variables.200- Pacing gaps: long stretches without story beats or clusters of story events too close together.201- Story-gameplay integration: are narrative beats synchronized with gameplay progression?202203Step 6.2 -- Environmental Storytelling204205Check for environmental narrative infrastructure:206- Readable/collectible lore items (notes, books, terminals, inscriptions).207- Audio logs or found recordings.208- Environment state changes reflecting story progress (destroyed buildings, changed NPCs).209- NPC behavior/dialogue changes reflecting world state.210- Scenery evolution over time or based on player actions.211212Step 6.3 -- Player Agency Assessment213214Evaluate narrative control given to the player:215- Can the player meaningfully affect the story outcome?216- How many distinct endings are defined in the data?217- Are there substantive mid-story branches (not just ending variations)?218- Does subsequent dialogue acknowledge previous player choices?219- Is player agency genuine (choices produce different outcomes) or illusory (cosmetic only)?220221222============================================================223SELF-HEALING VALIDATION (max 2 iterations)224============================================================225226After producing output, validate data quality and completeness:2272281. Verify all output sections have substantive content (not just headers).2292. Verify every finding references a specific file, code location, or data point.2303. Verify recommendations are actionable and evidence-based.2314. If the analysis consumed insufficient data (empty directories, missing configs),232 note data gaps and attempt alternative discovery methods.233234IF VALIDATION FAILS:235- Identify which sections are incomplete or lack evidence236- Re-analyze the deficient areas with expanded search patterns237- Repeat up to 2 iterations238239IF STILL INCOMPLETE after 2 iterations:240- Flag specific gaps in the output241- Note what data would be needed to complete the analysis242243============================================================244OUTPUT245============================================================246247## Narrative Design Analysis248249### Project: {name}250### Narrative Engine: {Ink / Yarn Spinner / Custom / etc.}251### Content Volume: {N} dialogue files, {N} quests, {N} characters252253### Dialogue System Assessment254| Aspect | Implementation | Quality | Issues |255|--------|---------------|---------|--------|256| Branching | {type} | {rating} | {count} |257| Conditionals | {description} | {rating} | {count} |258| Presentation | {description} | {rating} | {count} |259| Testing Tools | {present/absent} | {rating} | {count} |260261### State Tracking262| System | Implementation | Reliability | Issues |263|--------|---------------|-------------|--------|264| Variables/Flags | {description} | {rating} | {list} |265| Quest System | {description} | {rating} | {list} |266| Consequences | {description} | {rating} | {list} |267268### Localization Readiness269| Requirement | Status | Notes |270|-------------|--------|-------|271| String externalization | {READY/PARTIAL/NOT READY} | {details} |272| Translation pipeline | {READY/PARTIAL/NOT READY} | {details} |273| VO support | {READY/PARTIAL/NOT READY/N/A} | {details} |274| RTL support | {READY/NOT READY/N/A} | {details} |275276### Choice Consequence Map277| Choice Point | Immediate Effect | Delayed Effect | Ending Impact |278|-------------|-----------------|----------------|---------------|279280### Narrative Data Integrity281| Check | Status | Issues |282|-------|--------|--------|283| Unreachable dialogue nodes | {N found} | {list} |284| Dead-end conversations | {N found} | {list} |285| Missing condition fallbacks | {N found} | {list} |286| Orphaned state variables | {N found} | {list} |287| Invalid quest prerequisites | {N found} | {list} |288289### Top Recommendations2901. {most impactful improvement}2912. {second most impactful}2923. {third most impactful}293294DO NOT:295- Evaluate writing quality or story merit -- focus exclusively on technical systems.296- Impose a specific narrative structure -- evaluate against the game's own design intent.297- Recommend replacing the narrative engine -- evaluate what is implemented.298- Spoil story content in the report -- use generic labels for plot points.299- Assume all games need complex branching -- linear narratives are valid designs.300- Modify any code or narrative data -- this is an analysis-only skill.301302NEXT STEPS:303- "Run `/game-design-review` to evaluate how narrative supports the core gameplay loop."304- "Run `/level-design` to check environmental storytelling placement in level layouts."305- "Run `/game-performance` to verify dialogue/cinematic systems do not cause frame drops."306307308============================================================309SELF-EVOLUTION TELEMETRY310============================================================311312After producing output, record execution metadata for the /evolve pipeline.313314Check if a project memory directory exists:315- Look for the project path in `~/.claude/projects/`316- If found, append to `skill-telemetry.md` in that memory directory317318Entry format:319```320### /narrative-design — {{YYYY-MM-DD}}321- Outcome: {{SUCCESS | PARTIAL | FAILED}}322- Self-healed: {{yes — what was healed | no}}323- Iterations used: {{N}} / {{N max}}324- Bottleneck: {{phase that struggled or "none"}}325- Suggestion: {{one-line improvement idea for /evolve, or "none"}}326```327328Only log if the memory directory exists. Skip silently if not found.329Keep entries concise — /evolve will parse these for skill improvement signals.