This template creates detailed game development stories that are immediately actionable by game developers. Each story should focus on a single, implementable feature that contributes to the overall game functionality.
Before starting, ensure you have access to:
- Game Design Document (GDD)
- Game Architecture Document
- Any existing stories in this epic
The story should be specific enough that a developer can implement it without requiring additional design decisions.
- id:story-header
content:|
**Epic:**{{epic_name}}
**StoryID:** {{story_id}}
**Priority:**{{High|Medium|Low}}
**Points:**{{story_points}}
**Status:**Draft
- id:description
title:Description
instruction:Provide a clear, concise description of what this story implements. Focus on the specific game feature or system being built. Reference the GDD section that defines this feature.
instruction:Define specific, testable conditions that must be met for the story to be considered complete. Each criterion should be verifiable and directly related to gameplay functionality.
instruction:Provide specific technical details that guide implementation. Include class names, file locations, and integration points based on the game architecture.
sections:
- id:files-to-modify
title:Files to Create/Modify
template:|
**NewFiles:**
- `{{file_path_1}}` - {{purpose}}
- `{{file_path_2}}` - {{purpose}}
**ModifiedFiles:**
- `{{existing_file_1}}` - {{changes_needed}}
- `{{existing_file_2}}` - {{changes_needed}}
- id:class-interface-definitions
title:Class/Interface Definitions
instruction:Define specific C# interfaces and class structures needed
type:code
language:c#
template:|
// {{interface_name}}
public interface {{InterfaceName}}
{
{{type}} {{Property1}} { get; set; }
{{return_type}} {{Method1}}({{params}});
}
// {{class_name}}
public class {{ClassName}} : MonoBehaviour
{
private {{type}} _{{property}};
private void Awake()
{
// Implementation requirements
}
public {{return_type}} {{Method1}}({{params}})
{
// Method requirements
}
}
- id:integration-points
title:Integration Points
instruction:Specify how this feature integrates with existing systems
template:|
**SceneIntegration:**
- {{scene_name}}:{{integration_details}}
**ComponentDependencies:**
- {{component_name}}:{{dependency_description}}
**EventCommunication:**
- Emits:`{{event_name}}` when {{condition}}
- Listens:`{{event_name}}` to {{response}}
- id:implementation-tasks
title:Implementation Tasks
instruction:Break down the implementation into specific, ordered tasks. Each task should be completable in 1-4 hours.
sections:
- id:dev-agent-record
title:Dev Agent Record
template:|
**Tasks:**
- []{{task_1_description}}
- []{{task_2_description}}
- []{{task_3_description}}
- []{{task_4_description}}
- []Write unit tests for {{component}}
- []Integration testing with {{related_system}}
- []Performance testing and optimization
**DebugLog:**
| Task | File | Change | Reverted? |
|------|------|--------|-----------|
| | | | |
**CompletionNotes:**
<!-- Only note deviations from requirements, keep under 50 words -->
**ChangeLog:**
<!-- Only requirement changes during implementation -->
- id:game-design-context
title:Game Design Context
instruction:Reference the specific sections of the GDD that this story implements