[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79RBA3NEGDPZK6QAMABXREE":3,"skill-same:01M79RBA3NEGDPZK6QAMABXREE":58},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M79RBA3NEGDPZK6QAMABXREE","gds-test-framework",null,"Initialize game test framework for Unity, Unreal, or Godot. Use when the user says \"test framework\" or \"set up testing\"","thkennedy\u002Ftk-studio","thkennedy","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F4164502?v=4","01M79QZ8DMP5FF2HC6GS3S6FDF","Tim Kennedy","01M79QZ8EM9JBWJ15R5JNC4PW3",0,"MIT","https:\u002F\u002Fgithub.com\u002Fthkennedy\u002Ftk-studio\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fgds-test-framework\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: gds-test-framework\ndescription: 'Initialize game test framework for Unity, Unreal, or Godot. Use when the user says \"test framework\" or \"set up testing\"'\n---\n\n# Game Test Framework Setup\n\n**Workflow ID**: `gds-test-framework`\n**Version**: 1.0 (BMad v6)\n\n## Conventions\n\n- Bare paths (e.g. `template.md`) resolve from the skill root.\n- `{skill-root}` resolves to this skill's installed directory (where `customize.toml` lives).\n- `{project-root}`-prefixed paths resolve from the project working directory.\n- `{skill-name}` resolves to the skill directory's basename.\n\n## On Activation\n\n### Step 1: Resolve the Workflow Block\n\nRun: `python3 {project-root}\u002F_bmad\u002Fscripts\u002Fresolve_customization.py --skill {skill-root} --key workflow`\n\n**If the script fails**, resolve the `workflow` block yourself by reading these three files in base → team → user order and applying the same structural merge rules as the resolver:\n\n1. `{skill-root}\u002Fcustomize.toml` — defaults\n2. `{project-root}\u002F_bmad\u002Fcustom\u002F{skill-name}.toml` — team overrides\n3. `{project-root}\u002F_bmad\u002Fcustom\u002F{skill-name}.user.toml` — personal overrides\n\nAny missing file is skipped. Scalars override, tables deep-merge, arrays of tables keyed by `code` or `id` replace matching entries and append new entries, and all other arrays append.\n\n### Step 2: Execute Prepend Steps\n\nExecute each entry in `{workflow.activation_steps_prepend}` in order before proceeding.\n\n### Step 3: Load Persistent Facts\n\nTreat every entry in `{workflow.persistent_facts}` as foundational context you carry for the rest of the workflow run. Entries prefixed `file:` are paths or globs under `{project-root}` — load the referenced contents as facts. All other entries are facts verbatim.\n\n### Step 4: Load Config\n\nLoad config from `{project-root}\u002F_bmad\u002Fgds\u002Fconfig.yaml` and resolve:\n\n- `user_name`\n- `communication_language`\n\n### Step 5: Greet the User\n\nGreet `{user_name}`, speaking in `{communication_language}`.\n\n### Step 6: Execute Append Steps\n\nExecute each entry in `{workflow.activation_steps_append}` in order.\n\nActivation is complete. If `activation_steps_prepend` or `activation_steps_append` were non-empty, confirm every entry was executed in order before proceeding. Do not begin the main workflow until all activation steps have been completed.\n\n## Goal\n\nInitialize a production-ready game test framework for Unity, Unreal Engine, or Godot projects. This workflow scaffolds the complete testing infrastructure including unit tests, integration tests, and play mode tests appropriate for the detected game engine.\n\n## Role\n\nYou are a Game QA Architect specializing in test infrastructure. You detect the game engine in use, scaffold the appropriate test framework, generate working example tests, and produce documentation — leaving the team with a fully operational testing setup from day one.\n\n---\n\n## WORKFLOW ARCHITECTURE\n\nThis workflow detects the game engine and creates all necessary test infrastructure files directly in the game project.\n\n**Primary Output**: `{test_dir}\u002FREADME.md`\n\n**Supporting Components**:\n- Validation: `{installed_path}\u002Fchecklist.md`\n\n**Knowledge Base References**:\n- `knowledge\u002Funity-testing.md`\n- `knowledge\u002Funreal-testing.md`\n- `knowledge\u002Fgodot-testing.md`\n\n\nLoad and resolve configuration from `{module_config}`:\n\n```yaml\noutput_folder: {from config}\nuser_name: {from config}\ncommunication_language: {from config}\ndocument_output_language: {from config}\ngame_dev_experience: {from config}\ndate: {system-generated}\n```\n\nResolve workflow variables:\n```yaml\ntest_dir: \"{project-root}\u002Ftests\"    # Root test directory\ngame_engine: \"auto\"                  # auto | unity | unreal | godot\ntest_framework: \"auto\"               # auto | gut (godot) | unity-test-framework | unreal-automation\n```\n\n---\n\n## EXECUTION\n\n### Preflight Requirements\n\n**Critical:** Verify these requirements before proceeding. If any fail, HALT and notify the user.\n\n- Game project exists with identifiable engine\n- No test framework already configured (check for existing test directories)\n- Project structure is accessible\n\n---\n\n### Step 1: Detect Game Engine\n\n#### Actions\n\n1. **Identify Engine Type**\n\n   Look for engine-specific files:\n   - **Unity**: `Assets\u002F`, `ProjectSettings\u002FProjectSettings.asset`, `*.unity` scene files\n   - **Unreal**: `*.uproject`, `Source\u002F`, `Config\u002FDefaultEngine.ini`\n   - **Godot**: `project.godot`, `*.tscn`, `*.gd` files\n\n2. **Verify Engine Version**\n   - Unity: Check `ProjectSettings\u002FProjectVersion.txt`\n   - Unreal: Check `*.uproject` file for `EngineAssociation`\n   - Godot: Check `project.godot` for `config_version`\n\n3. **Check for Existing Test Framework**\n   - Unity: Check for `Tests\u002F` folder, `*.Tests.asmdef`\n   - Unreal: Check for `Tests\u002F` in Source, `*Tests.Build.cs`\n   - Godot: Check for `tests\u002F` folder, GUT plugin in `addons\u002Fgut\u002F`\n\n**Halt Condition:** If existing framework detected, offer upgrade path or HALT.\n\n---\n\n### Step 2: Scaffold Framework\n\n#### Unity Test Framework\n\n**Knowledge Base Reference**: `knowledge\u002Funity-testing.md`\n\n1. **Create Directory Structure**\n\n   ```\n   Assets\u002F\n   ├── Tests\u002F\n   │   ├── EditMode\u002F\n   │   │   ├── EditModeTests.asmdef\n   │   │   └── ExampleEditModeTest.cs\n   │   └── PlayMode\u002F\n   │       ├── PlayModeTests.asmdef\n   │       └── ExamplePlayModeTest.cs\n   ```\n\n2. **Generate Assembly Definitions**\n\n   `EditModeTests.asmdef`:\n\n   ```json\n   {\n     \"name\": \"EditModeTests\",\n     \"references\": [\"\u003CGameAssembly>\"],\n     \"includePlatforms\": [\"Editor\"],\n     \"defineConstraints\": [\"UNITY_INCLUDE_TESTS\"],\n     \"optionalUnityReferences\": [\"TestAssemblies\"]\n   }\n   ```\n\n   `PlayModeTests.asmdef`:\n\n   ```json\n   {\n     \"name\": \"PlayModeTests\",\n     \"references\": [\"\u003CGameAssembly>\"],\n     \"includePlatforms\": [],\n     \"defineConstraints\": [\"UNITY_INCLUDE_TESTS\"],\n     \"optionalUnityReferences\": [\"TestAssemblies\"]\n   }\n   ```\n\n3. **Generate Sample Tests**\n\n   Edit Mode test example:\n\n   ```csharp\n   using NUnit.Framework;\n\n   [TestFixture]\n   public class DamageCalculatorTests\n   {\n       [Test]\n       public void Calculate_BaseDamage_ReturnsCorrectValue()\n       {\n           \u002F\u002F Arrange\n           var calculator = new DamageCalculator();\n\n           \u002F\u002F Act\n           float result = calculator.Calculate(100f, 1f);\n\n           \u002F\u002F Assert\n           Assert.AreEqual(100f, result);\n       }\n   }\n   ```\n\n   Play Mode test example:\n\n   ```csharp\n   using System.Collections;\n   using NUnit.Framework;\n   using UnityEngine;\n   using UnityEngine.TestTools;\n\n   public class PlayerMovementTests\n   {\n       [UnityTest]\n       public IEnumerator Player_WhenInputApplied_Moves()\n       {\n           \u002F\u002F Arrange\n           var playerGO = new GameObject(\"Player\");\n           var controller = playerGO.AddComponent\u003CPlayerController>();\n\n           \u002F\u002F Act\n           controller.SetMoveInput(Vector2.right);\n           yield return new WaitForSeconds(0.5f);\n\n           \u002F\u002F Assert\n           Assert.Greater(playerGO.transform.position.x, 0f);\n\n           \u002F\u002F Cleanup\n           Object.Destroy(playerGO);\n       }\n   }\n   ```\n\n---\n\n#### Unreal Engine Automation\n\n**Knowledge Base Reference**: `knowledge\u002Funreal-testing.md`\n\n1. **Create Directory Structure**\n\n   ```\n   Source\u002F\n   ├── \u003CProjectName>\u002F\n   │   └── ...\n   └── \u003CProjectName>Tests\u002F\n       ├── \u003CProjectName>Tests.Build.cs\n       └── Private\u002F\n           ├── DamageCalculationTests.cpp\n           └── PlayerCombatTests.cpp\n   ```\n\n2. **Generate Module Build File**\n\n   `\u003CProjectName>Tests.Build.cs`:\n\n   ```csharp\n   using UnrealBuildTool;\n\n   public class \u003CProjectName>Tests : ModuleRules\n   {\n       public \u003CProjectName>Tests(ReadOnlyTargetRules Target) : base(Target)\n       {\n           PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs;\n\n           PublicDependencyModuleNames.AddRange(new string[] {\n               \"Core\",\n               \"CoreUObject\",\n               \"Engine\",\n               \"\u003CProjectName>\"\n           });\n\n           PrivateDependencyModuleNames.AddRange(new string[] {\n               \"AutomationController\"\n           });\n       }\n   }\n   ```\n\n3. **Generate Sample Tests**\n\n   ```cpp\n   #include \"Misc\u002FAutomationTest.h\"\n\n   IMPLEMENT_SIMPLE_AUTOMATION_TEST(\n       FDamageCalculationTest,\n       \"\u003CProjectName>.Combat.DamageCalculation\",\n       EAutomationTestFlags::ApplicationContextMask |\n       EAutomationTestFlags::ProductFilter\n   )\n\n   bool FDamageCalculationTest::RunTest(const FString& Parameters)\n   {\n       \u002F\u002F Arrange\n       float BaseDamage = 100.f;\n       float CritMultiplier = 2.f;\n\n       \u002F\u002F Act\n       float Result = UDamageCalculator::Calculate(BaseDamage, CritMultiplier);\n\n       \u002F\u002F Assert\n       TestEqual(\"Critical hit doubles damage\", Result, 200.f);\n\n       return true;\n   }\n   ```\n\n---\n\n#### Godot GUT Framework\n\n**Knowledge Base Reference**: `knowledge\u002Fgodot-testing.md`\n\n1. **Create Directory Structure**\n\n   ```\n   project\u002F\n   ├── addons\u002F\n   │   └── gut\u002F (plugin files)\n   ├── tests\u002F\n   │   ├── unit\u002F\n   │   │   └── test_damage_calculator.gd\n   │   └── integration\u002F\n   │       └── test_player_combat.gd\n   └── gut_config.json\n   ```\n\n2. **Generate GUT Configuration**\n\n   `gut_config.json`:\n\n   ```json\n   {\n     \"dirs\": [\"res:\u002F\u002Ftests\u002F\"],\n     \"include_subdirs\": true,\n     \"prefix\": \"test_\",\n     \"suffix\": \".gd\",\n     \"should_exit\": true,\n     \"should_exit_on_success\": true,\n     \"log_level\": 1,\n     \"junit_xml_file\": \"results.xml\"\n   }\n   ```\n\n3. **Generate Sample Tests**\n\n   `tests\u002Funit\u002Ftest_damage_calculator.gd`:\n\n   ```gdscript\n   extends GutTest\n\n   var calculator: DamageCalculator\n\n   func before_each():\n       calculator = DamageCalculator.new()\n\n   func after_each():\n       calculator.free()\n\n   func test_calculate_base_damage():\n       var result = calculator.calculate(100.0, 1.0)\n       assert_eq(result, 100.0, \"Base damage should equal input\")\n\n   func test_calculate_critical_hit():\n       var result = calculator.calculate(100.0, 2.0)\n       assert_eq(result, 200.0, \"Critical hit should double damage\")\n   ```\n\n---\n\n### Step 3: Generate Documentation\n\nCreate `tests\u002FREADME.md` with:\n\n- Test framework overview for the detected engine\n- Directory structure explanation\n- Running tests locally\n- CI integration commands\n- Best practices for game testing\n- Links to knowledge base fragments\n\n---\n\n### Step 4: Deliverables\n\n#### Primary Artifacts Created\n\n1. **Directory Structure** — Engine-appropriate test folders\n2. **Configuration Files** — Framework-specific config (asmdef, Build.cs, gut_config.json)\n3. **Sample Tests** — Working examples for unit and integration tests\n4. **Documentation** — `tests\u002FREADME.md`\n\n---\n\n## Output Summary\n\nAfter completing this workflow, provide a summary:\n\n```markdown\n## Game Test Framework Scaffold Complete\n\n**Engine Detected**: {Unity | Unreal | Godot}\n**Framework**: {Unity Test Framework | Unreal Automation | GUT}\n\n**Artifacts Created**:\n\n- Test directory structure\n- Framework configuration\n- Sample unit tests\n- Sample integration\u002Fplay mode tests\n- Documentation\n\n**Next Steps**:\n\n1. Review sample tests and adapt to your game\n2. Run initial tests to verify setup\n3. Use `test-design` workflow to plan comprehensive test coverage\n4. Use `automate` workflow to generate additional tests\n\n**Knowledge Base References Applied**:\n\n- {engine}-testing.md\n- qa-automation.md\n- test-priorities.md\n```\n\n---\n\n## Validation\n\nRefer to `checklist.md` for comprehensive validation criteria.\n\n## On Complete\n\nRun: `python3 {project-root}\u002F_bmad\u002Fscripts\u002Fresolve_customization.py --skill {skill-root} --key workflow.on_complete`\n\nIf the resolved `workflow.on_complete` is non-empty, follow it as the final terminal instruction before exiting.\n","# Game Test Framework Setup\n\n**Workflow ID**: `gds-test-framework`\n**Version**: 1.0 (BMad v6)\n\n## Conventions\n\n- Bare paths (e.g. `template.md`) resolve from the skill root.\n- `{skill-root}` resolves to this skill's installed directory (where `customize.toml` lives).\n- `{project-root}`-prefixed paths resolve from the project working directory.\n- `{skill-name}` resolves to the skill directory's basename.\n\n## On Activation\n\n### Step 1: Resolve the Workflow Block\n\nRun: `python3 {project-root}\u002F_bmad\u002Fscripts\u002Fresolve_customization.py --skill {skill-root} --key workflow`\n\n**If the script fails**, resolve the `workflow` block yourself by reading these three files in base → team → user order and applying the same structural merge rules as the resolver:\n\n1. `{skill-root}\u002Fcustomize.toml` — defaults\n2. `{project-root}\u002F_bmad\u002Fcustom\u002F{skill-name}.toml` — team overrides\n3. `{project-root}\u002F_bmad\u002Fcustom\u002F{skill-name}.user.toml` — personal overrides\n\nAny missing file is skipped. Scalars override, tables deep-merge, arrays of tables keyed by `code` or `id` replace matching entries and append new entries, and all other arrays append.\n\n### Step 2: Execute Prepend Steps\n\nExecute each entry in `{workflow.activation_steps_prepend}` in order before proceeding.\n\n### Step 3: Load Persistent Facts\n\nTreat every entry in `{workflow.persistent_facts}` as foundational context you carry for the rest of the workflow run. Entries prefixed `file:` are paths or globs under `{project-root}` — load the referenced contents as facts. All other entries are facts verbatim.\n\n### Step 4: Load Config\n\nLoad config from `{project-root}\u002F_bmad\u002Fgds\u002Fconfig.yaml` and resolve:\n\n- `user_name`\n- `communication_language`\n\n### Step 5: Greet the User\n\nGreet `{user_name}`, speaking in `{communication_language}`.\n\n### Step 6: Execute Append Steps\n\nExecute each entry in `{workflow.activation_steps_append}` in order.\n\nActivation is complete. If `activation_steps_prepend` or `activation_steps_append` were non-empty, confirm every entry was executed in order before proceeding. Do not begin the main workflow until all activation steps have been completed.\n\n## Goal\n\nInitialize a production-ready game test framework for Unity, Unreal Engine, or Godot projects. This workflow scaffolds the complete testing infrastructure including unit tests, integration tests, and play mode tests appropriate for the detected game engine.\n\n## Role\n\nYou are a Game QA Architect specializing in test infrastructure. You detect the game engine in use, scaffold the appropriate test framework, generate working example tests, and produce documentation — leaving the team with a fully operational testing setup from day one.\n\n---\n\n## WORKFLOW ARCHITECTURE\n\nThis workflow detects the game engine and creates all necessary test infrastructure files directly in the game project.\n\n**Primary Output**: `{test_dir}\u002FREADME.md`\n\n**Supporting Components**:\n- Validation: `{installed_path}\u002Fchecklist.md`\n\n**Knowledge Base References**:\n- `knowledge\u002Funity-testing.md`\n- `knowledge\u002Funreal-testing.md`\n- `knowledge\u002Fgodot-testing.md`\n\n\nLoad and resolve configuration from `{module_config}`:\n\n```yaml\noutput_folder: {from config}\nuser_name: {from config}\ncommunication_language: {from config}\ndocument_output_language: {from config}\ngame_dev_experience: {from config}\ndate: {system-generated}\n```\n\nResolve workflow variables:\n```yaml\ntest_dir: \"{project-root}\u002Ftests\"    # Root test directory\ngame_engine: \"auto\"                  # auto | unity | unreal | godot\ntest_framework: \"auto\"               # auto | gut (godot) | unity-test-framework | unreal-automation\n```\n\n---\n\n## EXECUTION\n\n### Preflight Requirements\n\n**Critical:** Verify these requirements before proceeding. If any fail, HALT and notify the user.\n\n- Game project exists with identifiable engine\n- No test framework already configured (check for existing test directories)\n- Project structure is accessible\n\n---\n\n### Step 1: Detect Game Engine\n\n#### Actions\n\n1. **Identify Engine Type**\n\n   Look for engine-specific files:\n   - **Unity**: `Assets\u002F`, `ProjectSettings\u002FProjectSettings.asset`, `*.unity` scene files\n   - **Unreal**: `*.uproject`, `Source\u002F`, `Config\u002FDefaultEngine.ini`\n   - **Godot**: `project.godot`, `*.tscn`, `*.gd` files\n\n2. **Verify Engine Version**\n   - Unity: Check `ProjectSettings\u002FProjectVersion.txt`\n   - Unreal: Check `*.uproject` file for `EngineAssociation`\n   - Godot: Check `project.godot` for `config_version`\n\n3. **Check for Existing Test Framework**\n   - Unity: Check for `Tests\u002F` folder, `*.Tests.asmdef`\n   - Unreal: Check for `Tests\u002F` in Source, `*Tests.Build.cs`\n   - Godot: Check for `tests\u002F` folder, GUT plugin in `addons\u002Fgut\u002F`\n\n**Halt Condition:** If existing framework detected, offer upgrade path or HALT.\n\n---\n\n### Step 2: Scaffold Framework\n\n#### Unity Test Framework\n\n**Knowledge Base Reference**: `knowledge\u002Funity-testing.md`\n\n1. **Create Directory Structure**\n\n   ```\n   Assets\u002F\n   ├── Tests\u002F\n   │   ├── EditMode\u002F\n   │   │   ├── EditModeTests.asmdef\n   │   │   └── ExampleEditModeTest.cs\n   │   └── PlayMode\u002F\n   │       ├── PlayModeTests.asmdef\n   │       └── ExamplePlayModeTest.cs\n   ```\n\n2. **Generate Assembly Definitions**\n\n   `EditModeTests.asmdef`:\n\n   ```json\n   {\n     \"name\": \"EditModeTests\",\n     \"references\": [\"\u003CGameAssembly>\"],\n     \"includePlatforms\": [\"Editor\"],\n     \"defineConstraints\": [\"UNITY_INCLUDE_TESTS\"],\n     \"optionalUnityReferences\": [\"TestAssemblies\"]\n   }\n   ```\n\n   `PlayModeTests.asmdef`:\n\n   ```json\n   {\n     \"name\": \"PlayModeTests\",\n     \"references\": [\"\u003CGameAssembly>\"],\n     \"includePlatforms\": [],\n     \"defineConstraints\": [\"UNITY_INCLUDE_TESTS\"],\n     \"optionalUnityReferences\": [\"TestAssemblies\"]\n   }\n   ```\n\n3. **Generate Sample Tests**\n\n   Edit Mode test example:\n\n   ```csharp\n   using NUnit.Framework;\n\n   [TestFixture]\n   public class DamageCalculatorTests\n   {\n       [Test]\n       public void Calculate_BaseDamage_ReturnsCorrectValue()\n       {\n           \u002F\u002F Arrange\n           var calculator = new DamageCalculator();\n\n           \u002F\u002F Act\n           float result = calculator.Calculate(100f, 1f);\n\n           \u002F\u002F Assert\n           Assert.AreEqual(100f, result);\n       }\n   }\n   ```\n\n   Play Mode test example:\n\n   ```csharp\n   using System.Collections;\n   using NUnit.Framework;\n   using UnityEngine;\n   using UnityEngine.TestTools;\n\n   public class PlayerMovementTests\n   {\n       [UnityTest]\n       public IEnumerator Player_WhenInputApplied_Moves()\n       {\n           \u002F\u002F Arrange\n           var playerGO = new GameObject(\"Player\");\n           var controller = playerGO.AddComponent\u003CPlayerController>();\n\n           \u002F\u002F Act\n           controller.SetMoveInput(Vector2.right);\n           yield return new WaitForSeconds(0.5f);\n\n           \u002F\u002F Assert\n           Assert.Greater(playerGO.transform.position.x, 0f);\n\n           \u002F\u002F Cleanup\n           Object.Destroy(playerGO);\n       }\n   }\n   ```\n\n---\n\n#### Unreal Engine Automation\n\n**Knowledge Base Reference**: `knowledge\u002Funreal-testing.md`\n\n1. **Create Directory Structure**\n\n   ```\n   Source\u002F\n   ├── \u003CProjectName>\u002F\n   │   └── ...\n   └── \u003CProjectName>Tests\u002F\n       ├── \u003CProjectName>Tests.Build.cs\n       └── Private\u002F\n           ├── DamageCalculationTests.cpp\n           └── PlayerCombatTests.cpp\n   ```\n\n2. **Generate Module Build File**\n\n   `\u003CProjectName>Tests.Build.cs`:\n\n   ```csharp\n   using UnrealBuildTool;\n\n   public class \u003CProjectName>Tests : ModuleRules\n   {\n       public \u003CProjectName>Tests(ReadOnlyTargetRules Target) : base(Target)\n       {\n           PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs;\n\n           PublicDependencyModuleNames.AddRange(new string[] {\n               \"Core\",\n               \"CoreUObject\",\n               \"Engine\",\n               \"\u003CProjectName>\"\n           });\n\n           PrivateDependencyModuleNames.AddRange(new string[] {\n               \"AutomationController\"\n           });\n       }\n   }\n   ```\n\n3. **Generate Sample Tests**\n\n   ```cpp\n   #include \"Misc\u002FAutomationTest.h\"\n\n   IMPLEMENT_SIMPLE_AUTOMATION_TEST(\n       FDamageCalculationTest,\n       \"\u003CProjectName>.Combat.DamageCalculation\",\n       EAutomationTestFlags::ApplicationContextMask |\n       EAutomationTestFlags::ProductFilter\n   )\n\n   bool FDamageCalculationTest::RunTest(const FString& Parameters)\n   {\n       \u002F\u002F Arrange\n       float BaseDamage = 100.f;\n       float CritMultiplier = 2.f;\n\n       \u002F\u002F Act\n       float Result = UDamageCalculator::Calculate(BaseDamage, CritMultiplier);\n\n       \u002F\u002F Assert\n       TestEqual(\"Critical hit doubles damage\", Result, 200.f);\n\n       return true;\n   }\n   ```\n\n---\n\n#### Godot GUT Framework\n\n**Knowledge Base Reference**: `knowledge\u002Fgodot-testing.md`\n\n1. **Create Directory Structure**\n\n   ```\n   project\u002F\n   ├── addons\u002F\n   │   └── gut\u002F (plugin files)\n   ├── tests\u002F\n   │   ├── unit\u002F\n   │   │   └── test_damage_calculator.gd\n   │   └── integration\u002F\n   │       └── test_player_combat.gd\n   └── gut_config.json\n   ```\n\n2. **Generate GUT Configuration**\n\n   `gut_config.json`:\n\n   ```json\n   {\n     \"dirs\": [\"res:\u002F\u002Ftests\u002F\"],\n     \"include_subdirs\": true,\n     \"prefix\": \"test_\",\n     \"suffix\": \".gd\",\n     \"should_exit\": true,\n     \"should_exit_on_success\": true,\n     \"log_level\": 1,\n     \"junit_xml_file\": \"results.xml\"\n   }\n   ```\n\n3. **Generate Sample Tests**\n\n   `tests\u002Funit\u002Ftest_damage_calculator.gd`:\n\n   ```gdscript\n   extends GutTest\n\n   var calculator: DamageCalculator\n\n   func before_each():\n       calculator = DamageCalculator.new()\n\n   func after_each():\n       calculator.free()\n\n   func test_calculate_base_damage():\n       var result = calculator.calculate(100.0, 1.0)\n       assert_eq(result, 100.0, \"Base damage should equal input\")\n\n   func test_calculate_critical_hit():\n       var result = calculator.calculate(100.0, 2.0)\n       assert_eq(result, 200.0, \"Critical hit should double damage\")\n   ```\n\n---\n\n### Step 3: Generate Documentation\n\nCreate `tests\u002FREADME.md` with:\n\n- Test framework overview for the detected engine\n- Directory structure explanation\n- Running tests locally\n- CI integration commands\n- Best practices for game testing\n- Links to knowledge base fragments\n\n---\n\n### Step 4: Deliverables\n\n#### Primary Artifacts Created\n\n1. **Directory Structure** — Engine-appropriate test folders\n2. **Configuration Files** — Framework-specific config (asmdef, Build.cs, gut_config.json)\n3. **Sample Tests** — Working examples for unit and integration tests\n4. **Documentation** — `tests\u002FREADME.md`\n\n---\n\n## Output Summary\n\nAfter completing this workflow, provide a summary:\n\n```markdown\n## Game Test Framework Scaffold Complete\n\n**Engine Detected**: {Unity | Unreal | Godot}\n**Framework**: {Unity Test Framework | Unreal Automation | GUT}\n\n**Artifacts Created**:\n\n- Test directory structure\n- Framework configuration\n- Sample unit tests\n- Sample integration\u002Fplay mode tests\n- Documentation\n\n**Next Steps**:\n\n1. Review sample tests and adapt to your game\n2. Run initial tests to verify setup\n3. Use `test-design` workflow to plan comprehensive test coverage\n4. Use `automate` workflow to generate additional tests\n\n**Knowledge Base References Applied**:\n\n- {engine}-testing.md\n- qa-automation.md\n- test-priorities.md\n```\n\n---\n\n## Validation\n\nRefer to `checklist.md` for comprehensive validation criteria.\n\n## On Complete\n\nRun: `python3 {project-root}\u002F_bmad\u002Fscripts\u002Fresolve_customization.py --skill {skill-root} --key workflow.on_complete`\n\nIf the resolved `workflow.on_complete` is non-empty, follow it as the final terminal instruction before exiting.\n",{"name":5,"description":7},"main","ecd23b3c0458cd511812f643d9111e3d7c8235f4",".claude\u002Fskills\u002Fgds-test-framework","https:\u002F\u002Fgithub.com\u002Fthkennedy\u002Ftk-studio","https:\u002F\u002Fgithub.com\u002Fthkennedy","https:\u002F\u002Ftimothyhkennedy.com","Just a guy who loves making tools, automation and games.","2026-11-10 20:38:16",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add thkennedy\u002Ftk-studio --skill gds-test-framework",{"tool":38,"command":39},"bunx","bunx skills add thkennedy\u002Ftk-studio --skill gds-test-framework",{"tool":41,"command":42},"pnpm","pnpm dlx skills add thkennedy\u002Ftk-studio --skill gds-test-framework","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fthkennedy\u002Ftk-studio\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fgds-test-framework\u002FSKILL.md",true,[46,52],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"checklist.md","REFERENCE","参考文档",2418,"https:\u002F\u002Fgithub.com\u002Fthkennedy\u002Ftk-studio\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fgds-test-framework\u002Fchecklist.md",{"path":53,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":56,"sourceHtmlUrl":57},"customize.toml","OTHER","其他",1652,"https:\u002F\u002Fgithub.com\u002Fthkennedy\u002Ftk-studio\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fgds-test-framework\u002Fcustomize.toml",[59,66,73,80,87,94],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M79RYSQ8C3MWDFTDSRAYFJYA","tk-studio-track","Tracking verbs on the bound Jira project — `block` moves a story the loop cannot progress, and each dependent story, to \"Blocked - Awaiting User\" with a comment that @mentions the owner (or, with `--engagement`, one engagement's questions issue, which `close` later moves to \"Done\"); `reply` posts the owner's answer (or \"Done.\") with the owner's host-only token and moves the issue to \"Block Resolved\"; `validate` checks that resolution and passes the issue back to work or re-blocks it with a follow-up. Use when the user says \"block this story\", \"tk track block\", \"put it in the owner's inbox\", \"reply to the blocked issue\", \"validate the resolution\", or a supervisor or engagement payload names this skill.","https:\u002F\u002Fgithub.com\u002Fthkennedy\u002Ftk-studio\u002Fblob\u002Fmain\u002Fplugins\u002Ftk-studio\u002Fskills\u002Ftk-studio-track\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M79RYMVE0031EV5B64MBGD8V","tk-studio-session","Session discipline as a surface — land a boundary handoff (optionally carrying knowledge deltas) and end the session, or resume a fresh session from a run workspace alone. Use when the user says \"hand off this run\", \"tk session\", \"resume the run\", or a boundary\u002Fbudget trigger says the session must split.","https:\u002F\u002Fgithub.com\u002Fthkennedy\u002Ftk-studio\u002Fblob\u002Fmain\u002Fplugins\u002Ftk-studio\u002Fskills\u002Ftk-studio-session\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M79RYFM9ATWHM6HAXJ3D19WV","tk-studio-research","Run a chartered research pass — survey the topics a charter scopes, grade every finding by evidence, land the findings in the run workspace, and emit observation events for recommendation-worthy ones. Use when the user says \"run the ecosystem watch\", \"tk research\", or a research job's invoke-skill directive names this skill.","https:\u002F\u002Fgithub.com\u002Fthkennedy\u002Ftk-studio\u002Fblob\u002Fmain\u002Fplugins\u002Ftk-studio\u002Fskills\u002Ftk-studio-research\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M79RYA1AWZZF83KBHGR6JDN3","tk-studio-report","One-verb human defect report — \"the skill did the wrong thing\" — recorded as a report event in the local measurement ledger. Use when the user says \"tk report\", \"report a defect\", \"that skill misbehaved\", or \"log a studio issue\".","https:\u002F\u002Fgithub.com\u002Fthkennedy\u002Ftk-studio\u002Fblob\u002Fmain\u002Fplugins\u002Ftk-studio\u002Fskills\u002Ftk-studio-report\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M79RY33VMYR5YNPVFKWRNW9S","tk-studio-playable-judge","The playable-verify leg's screenshot judge (Story 34.3) — reads only a playable run's report.json and its frames, answers the fixed rubric (scene loaded, player visible and framed, no magenta or error overlay, HUD reads, the named moments shown) with pass or fail and findings each naming a frame and a rubric line. Driven headless by the supervisor's host leg on the project's sandbox tier; use when the payload names a playable `media` folder, or the user says \"judge the playable frames\".","https:\u002F\u002Fgithub.com\u002Fthkennedy\u002Ftk-studio\u002Fblob\u002Fmain\u002Fplugins\u002Ftk-studio\u002Fskills\u002Ftk-studio-playable-judge\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":19},"01M79RXY4AM8JM6ZK2MAR3W3X2","tk-studio-plan-sync","Planning adapter — canonicalize BMad-native planning artifacts (normalize pass, sole id authority) and sync them with the bound planning backend. Use when the user says \"sync the plan\", \"normalize planning artifacts\", \"tk plan sync\", or after stock BMad planning flows produce or change epics\u002Fstories.","https:\u002F\u002Fgithub.com\u002Fthkennedy\u002Ftk-studio\u002Fblob\u002Fmain\u002Fplugins\u002Ftk-studio\u002Fskills\u002Ftk-studio-plan-sync\u002FSKILL.md",[],[]]