[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79PSZ8BNGRH2VVK189F746A":3,"skill-same:01M79PSZ8BNGRH2VVK189F746A":62},{"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":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M79PSZ8BNGRH2VVK189F746A","gds-performance-test",null,"Design game performance testing strategy. Use when the user says \"performance test\" or \"benchmark\"","OrigoStudio\u002Forigo-design","OrigoStudio","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F256943203?v=4","01M79P1MQHVZ4PTXBQVM11Q00S","Origo Studio","01M79P1MR8S30QEEM0Z6MGX1MA",1,"MIT","https:\u002F\u002Fgithub.com\u002FOrigoStudio\u002Forigo-design\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fgds-performance-test\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: gds-performance-test\ndescription: 'Design game performance testing strategy. Use when the user says \"performance test\" or \"benchmark\"'\n---\n\n# Performance Testing Strategy Workflow\n\n**Goal:** Design a comprehensive performance testing strategy covering frame rate, memory usage, loading times, and platform-specific requirements. Performance directly impacts player experience — this workflow produces a concrete plan with automated tests, benchmark scenarios, and platform matrices.\n\n**Your Role:** You are a senior game performance engineer and QA strategist. Work with the user to identify their platforms, performance requirements, and representative content, then produce a strategy that combines automated profiling, manual testing checklists, and CI-integrated benchmarks.\n\n---\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- `project_name`\n- `user_name`\n- `communication_language`\n- `output_folder`\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## WORKFLOW ARCHITECTURE\n\nThis uses an **inline workflow pattern** for autonomous execution:\n\n- Steps execute sequentially, building toward a complete performance test plan document\n- Platform detection and target configuration drive all subsequent decisions\n- The final deliverable is a comprehensive Performance Test Plan document\n- Knowledge base reference: `knowledge\u002Fperformance-testing.md`\n\n### Preflight Requirements\n\nBefore proceeding, verify:\n\n- Target platforms identified (or discoverable from project files)\n- Performance requirements known (target FPS, memory limits), or to be defined in Step 1\n- Representative content available for testing\n- Profiling tools accessible\n\n\n### Paths\n\n- `installed_path` = `{skill_root}`\n- `validation` = `{installed_path}\u002Fchecklist.md`\n- `template` = `{installed_path}\u002Fperformance-template.md`\n- `default_output_file` = `{output_folder}\u002Fperformance-test-plan.md`\n\n### Variables\n\n- `target_fps` = `60` (configurable per platform in Step 1)\n- `target_platform` = `auto` (options: `auto`, `pc`, `console`, `mobile`)\n- `game_engine` = `auto` (options: `auto`, `unity`, `unreal`, `godot`)\n\n---\n\n## EXECUTION\n\n\u003Cworkflow>\n\n\u003Cstep n=\"1\" goal=\"Define Performance Targets\">\n  \u003Caction>Detect game engine and target platforms from project files. If ambiguous, ask the user.\u003C\u002Faction>\n  \u003Caction>Establish frame rate targets per platform:\n\n| Platform          | Target FPS | Minimum FPS | Notes              |\n| ----------------- | ---------- | ----------- | ------------------ |\n| PC (High)         | 60+        | 30          | Uncapped option    |\n| PC (Low)          | 30         | 30          | Scalable settings  |\n| PS5\u002FXbox X        | 60         | 60          | Performance mode   |\n| PS4\u002FXbox One      | 30         | 30          | Locked             |\n| Switch Docked     | 30         | 30          | Stable             |\n| Switch Handheld   | 30         | 25          | Power saving       |\n| Mobile (High)     | 60         | 30          | Device dependent   |\n| Mobile (Standard) | 30         | 30          | Thermal throttling |\n\n  Filter this table to the user's actual target platforms. Adjust targets based on game genre and user input.\n  \u003C\u002Faction>\n  \u003Caction>Establish memory budgets per target platform:\n\n| Platform      | Total RAM | Game Budget | Notes               |\n| ------------- | --------- | ----------- | ------------------- |\n| PC (Min spec) | 8 GB      | 4 GB        | Leave room for OS   |\n| PS5           | 16 GB     | 12 GB       | Unified memory      |\n| Xbox Series X | 16 GB     | 13 GB       | With Smart Delivery |\n| Switch        | 4 GB      | 2.5 GB      | Tight constraints   |\n| Mobile        | 4-6 GB    | 1.5-2 GB    | Background apps     |\n\n  \u003C\u002Faction>\n  \u003Caction>Establish loading time targets:\n\n| Scenario     | Target | Maximum |\n| ------------ | ------ | ------- |\n| Initial boot | \u003C 10s  | 30s     |\n| Level load   | \u003C 15s  | 30s     |\n| Fast travel  | \u003C 5s   | 10s     |\n| Respawn      | \u003C 3s   | 5s      |\n\n  Adjust based on genre (e.g., fast travel may not apply to linear games).\n  \u003C\u002Faction>\n\u003C\u002Fstep>\n\n\u003Cstep n=\"2\" goal=\"Identify Test Scenarios\">\n  \u003Caction>Define stress test scenarios for frame rate validation:\n```\nSCENARIO: Maximum Entity Count\n  GIVEN game level with normal enemy spawn\n  WHEN enemy count reaches 50+\n  THEN frame rate stays above minimum\n  AND no visual artifacts\n  AND audio doesn't stutter\n\nSCENARIO: Particle System Stress\n  GIVEN combat with multiple effects\n  WHEN 20+ particle systems active\n  THEN frame rate degradation \u003C 20%\n  AND memory allocation stable\n\nSCENARIO: Draw Call Stress\n  GIVEN level with maximum visible geometry\n  WHEN camera shows worst-case view\n  THEN frame rate stays above minimum\n  AND no hitching or stuttering\n```\n  \u003C\u002Faction>\n  \u003Caction>Define memory test scenarios:\n```\nSCENARIO: Extended Play Session\n  GIVEN game running for 4+ hours\n  WHEN normal gameplay occurs\n  THEN memory usage remains stable\n  AND no memory leaks detected\n  AND no crash from fragmentation\n\nSCENARIO: Level Transition\n  GIVEN player completes level\n  WHEN transitioning to new level\n  THEN previous level fully unloaded\n  AND memory baseline returns\n  AND no cumulative growth\n```\n  \u003C\u002Faction>\n  \u003Caction>Define loading test scenarios:\n```\nSCENARIO: Cold Boot\n  GIVEN game not in memory\n  WHEN launching game\n  THEN reaches interactive state in \u003C target\n  AND loading feedback shown\n  AND no apparent hang\n\nSCENARIO: Save\u002FLoad Performance\n  GIVEN large save file (max progress)\n  WHEN loading save\n  THEN completes in \u003C target\n  AND no corruption\n  AND gameplay resumes smoothly\n```\n  \u003C\u002Faction>\n  \u003Caction>Adapt scenario details to match the specific game type and identified systems\u003C\u002Faction>\n\u003C\u002Fstep>\n\n\u003Cstep n=\"3\" goal=\"Define Test Methodology\">\n  \u003Caction>Generate automated performance test code for the detected engine\u003C\u002Faction>\n\n  \u003Ccheck if=\"engine == 'unity'\">\n    \u003Caction>Generate Unity Performance Test Runner examples:\n```csharp\n[UnityTest]\npublic IEnumerator Performance_CombatScene_MaintainsFPS()\n{\n    using (Measure.ProfilerMarkers(new[] { \"Main Thread\" }))\n    {\n        SceneManager.LoadScene(\"CombatStressTest\");\n        yield return new WaitForSeconds(30f);\n    }\n    var metrics = Measure.Custom(new SampleGroupDefinition(\"FPS\"));\n    Assert.Greater(metrics.Median, 30, \"FPS should stay above 30\");\n}\n```\n    \u003C\u002Faction>\n  \u003C\u002Fcheck>\n\n  \u003Ccheck if=\"engine == 'unreal'\">\n    \u003Caction>Generate Unreal Automation test examples:\n```cpp\nbool FPerformanceTest::RunTest(const FString& Parameters)\n{\n    float StartTime = FPlatformTime::Seconds();\n    for (int i = 0; i \u003C 100; i++)\n        GetWorld()->SpawnActor\u003CAStressTestActor>();\n    float FrameTime = FApp::GetDeltaTime();\n    TestTrue(\"Frame time under budget\", FrameTime \u003C 0.033f);\n    return true;\n}\n```\n    \u003C\u002Faction>\n  \u003C\u002Fcheck>\n\n  \u003Ccheck if=\"engine == 'godot'\">\n    \u003Caction>Generate Godot benchmark test examples:\n```gdscript\nfunc test_performance_entity_stress():\n    var frame_times = []\n    for i in range(100):\n        var entity = stress_entity.instantiate()\n        add_child(entity)\n    for i in range(300):\n        await get_tree().process_frame\n        frame_times.append(Performance.get_monitor(Performance.TIME_PROCESS))\n    var avg_frame_time = frame_times.reduce(func(a, b): return a + b) \u002F frame_times.size()\n    assert_lt(avg_frame_time, 0.033, \"Average frame time under 33ms (30 FPS)\")\n```\n    \u003C\u002Faction>\n  \u003C\u002Fcheck>\n\n  \u003Caction>Define manual profiling checklists:\n\n**CPU Profiling**\n- [ ] Identify hotspots using engine profiler\n- [ ] Check GC frequency and allocation pressure\n- [ ] Verify multithreading usage and thread contention\n\n**GPU Profiling**\n- [ ] Draw call count at target scenes\n- [ ] Overdraw analysis on complex areas\n- [ ] Shader complexity assessment\n\n**Memory Profiling**\n- [ ] Heap allocation patterns over a 30-minute session\n- [ ] Asset memory usage by category\n- [ ] Leak detection across multiple level loads\n  \u003C\u002Faction>\n\u003C\u002Fstep>\n\n\u003Cstep n=\"4\" goal=\"Create Benchmark Suite\">\n  \u003Caction>Define the benchmark levels and their purpose:\n\n| Benchmark       | Purpose                  | Duration |\n| --------------- | ------------------------ | -------- |\n| Combat Stress   | Max entities, effects    | 60s      |\n| Open World      | Draw distance, streaming | 120s     |\n| Menu Navigation | UI performance           | 30s      |\n| Save\u002FLoad       | Persistence performance  | 30s      |\n\n  Adapt benchmark names and durations to match the actual game content.\n  \u003C\u002Faction>\n  \u003Caction>Define baseline capture process:\n    1. Run benchmarks on reference hardware (document hardware specs)\n    2. Record baseline metrics (avg FPS, P95 frame time, peak memory)\n    3. Set regression thresholds (e.g., 10% FPS degradation = fail, 5% memory growth = fail)\n    4. Integrate benchmarks into CI pipeline as gated checks\n  \u003C\u002Faction>\n\u003C\u002Fstep>\n\n\u003Cstep n=\"5\" goal=\"Platform-Specific Testing\">\n  \u003Caction>Define platform-specific testing requirements for each target platform\u003C\u002Faction>\n\n  \u003Ccheck if=\"platform includes 'pc'\">\n    \u003Caction>PC testing requirements:\n      - Test across min\u002Frecommended hardware specs\n      - Verify quality settings (Low\u002FMedium\u002FHigh\u002FUltra) all perform within budget\n      - Check VRAM usage at each quality tier\n      - Test at multiple resolutions (1080p, 1440p, 4K)\n    \u003C\u002Faction>\n  \u003C\u002Fcheck>\n\n  \u003Ccheck if=\"platform includes 'console'\">\n    \u003Caction>Console testing requirements:\n      - Test in both Performance and Quality modes if applicable\n      - Verify thermal throttling behavior during extended sessions\n      - Check suspend\u002Fresume impact on frame rate and memory\n      - Test with varying storage speeds (internal SSD vs extended storage)\n    \u003C\u002Faction>\n  \u003C\u002Fcheck>\n\n  \u003Ccheck if=\"platform includes 'mobile'\">\n    \u003Caction>Mobile testing requirements:\n      - Test on low\u002Fmid\u002Fhigh tier representative devices\n      - Monitor thermal throttling onset time and severity\n      - Measure battery drain per hour of gameplay\n      - Test with background apps consuming memory\n    \u003C\u002Faction>\n  \u003C\u002Fcheck>\n\u003C\u002Fstep>\n\n\u003Cstep n=\"6\" goal=\"Generate Performance Test Plan\">\n  \u003Caction>Load `{template}` and use it as the structural foundation for the output document\u003C\u002Faction>\n  \u003Caction>Compile all information from Steps 1-5 into a comprehensive Performance Test Plan at `{default_output_file}` with this structure:\n\n```markdown\n# Performance Test Plan: {project_name}\n\n## Performance Targets\n[FPS tables filtered to target platforms]\n[Memory budget tables]\n[Loading time targets]\n\n## Test Scenarios\n\n### Frame Rate Tests\n[Stress test scenarios from Step 2]\n\n### Memory Tests\n[Extended play and leak detection scenarios]\n\n### Loading Tests\n[Boot, level load, save\u002Fload scenarios]\n\n## Methodology\n\n### Automated Tests\n[Engine-specific code examples]\n[CI integration instructions]\n\n### Manual Profiling\n[Checklists from Step 3]\n[Tools to use per engine]\n\n## Benchmark Suite\n[Benchmark definitions from Step 4]\n[Baseline capture process]\n[Regression thresholds]\n\n## Platform Matrix\n[Platform-specific requirements from Step 5]\n\n## Regression Criteria\n[Quantified thresholds: FPS drop %, memory growth %, load time delta]\n[CI gate configuration]\n\n## Schedule\n[When performance tests run: nightly, per-sprint, pre-release]\n[Who reviews results and owns regressions]\n```\n  \u003C\u002Faction>\n  \u003Caction>Load and apply `{validation}` checklist to verify all deliverables are complete\u003C\u002Faction>\n  \u003Caction>Present a summary of what was produced and the recommended next steps to the user\u003C\u002Faction>\n\u003Caction>Run: `python3 {project-root}\u002F_bmad\u002Fscripts\u002Fresolve_customization.py --skill {skill-root} --key workflow.on_complete` — if the resolved value is non-empty, follow it as the final terminal instruction before exiting.\u003C\u002Faction>\n\u003C\u002Fstep>\n\n\u003C\u002Fworkflow>\n","# Performance Testing Strategy Workflow\n\n**Goal:** Design a comprehensive performance testing strategy covering frame rate, memory usage, loading times, and platform-specific requirements. Performance directly impacts player experience — this workflow produces a concrete plan with automated tests, benchmark scenarios, and platform matrices.\n\n**Your Role:** You are a senior game performance engineer and QA strategist. Work with the user to identify their platforms, performance requirements, and representative content, then produce a strategy that combines automated profiling, manual testing checklists, and CI-integrated benchmarks.\n\n---\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- `project_name`\n- `user_name`\n- `communication_language`\n- `output_folder`\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## WORKFLOW ARCHITECTURE\n\nThis uses an **inline workflow pattern** for autonomous execution:\n\n- Steps execute sequentially, building toward a complete performance test plan document\n- Platform detection and target configuration drive all subsequent decisions\n- The final deliverable is a comprehensive Performance Test Plan document\n- Knowledge base reference: `knowledge\u002Fperformance-testing.md`\n\n### Preflight Requirements\n\nBefore proceeding, verify:\n\n- Target platforms identified (or discoverable from project files)\n- Performance requirements known (target FPS, memory limits), or to be defined in Step 1\n- Representative content available for testing\n- Profiling tools accessible\n\n\n### Paths\n\n- `installed_path` = `{skill_root}`\n- `validation` = `{installed_path}\u002Fchecklist.md`\n- `template` = `{installed_path}\u002Fperformance-template.md`\n- `default_output_file` = `{output_folder}\u002Fperformance-test-plan.md`\n\n### Variables\n\n- `target_fps` = `60` (configurable per platform in Step 1)\n- `target_platform` = `auto` (options: `auto`, `pc`, `console`, `mobile`)\n- `game_engine` = `auto` (options: `auto`, `unity`, `unreal`, `godot`)\n\n---\n\n## EXECUTION\n\n\u003Cworkflow>\n\n\u003Cstep n=\"1\" goal=\"Define Performance Targets\">\n  \u003Caction>Detect game engine and target platforms from project files. If ambiguous, ask the user.\u003C\u002Faction>\n  \u003Caction>Establish frame rate targets per platform:\n\n| Platform          | Target FPS | Minimum FPS | Notes              |\n| ----------------- | ---------- | ----------- | ------------------ |\n| PC (High)         | 60+        | 30          | Uncapped option    |\n| PC (Low)          | 30         | 30          | Scalable settings  |\n| PS5\u002FXbox X        | 60         | 60          | Performance mode   |\n| PS4\u002FXbox One      | 30         | 30          | Locked             |\n| Switch Docked     | 30         | 30          | Stable             |\n| Switch Handheld   | 30         | 25          | Power saving       |\n| Mobile (High)     | 60         | 30          | Device dependent   |\n| Mobile (Standard) | 30         | 30          | Thermal throttling |\n\n  Filter this table to the user's actual target platforms. Adjust targets based on game genre and user input.\n  \u003C\u002Faction>\n  \u003Caction>Establish memory budgets per target platform:\n\n| Platform      | Total RAM | Game Budget | Notes               |\n| ------------- | --------- | ----------- | ------------------- |\n| PC (Min spec) | 8 GB      | 4 GB        | Leave room for OS   |\n| PS5           | 16 GB     | 12 GB       | Unified memory      |\n| Xbox Series X | 16 GB     | 13 GB       | With Smart Delivery |\n| Switch        | 4 GB      | 2.5 GB      | Tight constraints   |\n| Mobile        | 4-6 GB    | 1.5-2 GB    | Background apps     |\n\n  \u003C\u002Faction>\n  \u003Caction>Establish loading time targets:\n\n| Scenario     | Target | Maximum |\n| ------------ | ------ | ------- |\n| Initial boot | \u003C 10s  | 30s     |\n| Level load   | \u003C 15s  | 30s     |\n| Fast travel  | \u003C 5s   | 10s     |\n| Respawn      | \u003C 3s   | 5s      |\n\n  Adjust based on genre (e.g., fast travel may not apply to linear games).\n  \u003C\u002Faction>\n\u003C\u002Fstep>\n\n\u003Cstep n=\"2\" goal=\"Identify Test Scenarios\">\n  \u003Caction>Define stress test scenarios for frame rate validation:\n```\nSCENARIO: Maximum Entity Count\n  GIVEN game level with normal enemy spawn\n  WHEN enemy count reaches 50+\n  THEN frame rate stays above minimum\n  AND no visual artifacts\n  AND audio doesn't stutter\n\nSCENARIO: Particle System Stress\n  GIVEN combat with multiple effects\n  WHEN 20+ particle systems active\n  THEN frame rate degradation \u003C 20%\n  AND memory allocation stable\n\nSCENARIO: Draw Call Stress\n  GIVEN level with maximum visible geometry\n  WHEN camera shows worst-case view\n  THEN frame rate stays above minimum\n  AND no hitching or stuttering\n```\n  \u003C\u002Faction>\n  \u003Caction>Define memory test scenarios:\n```\nSCENARIO: Extended Play Session\n  GIVEN game running for 4+ hours\n  WHEN normal gameplay occurs\n  THEN memory usage remains stable\n  AND no memory leaks detected\n  AND no crash from fragmentation\n\nSCENARIO: Level Transition\n  GIVEN player completes level\n  WHEN transitioning to new level\n  THEN previous level fully unloaded\n  AND memory baseline returns\n  AND no cumulative growth\n```\n  \u003C\u002Faction>\n  \u003Caction>Define loading test scenarios:\n```\nSCENARIO: Cold Boot\n  GIVEN game not in memory\n  WHEN launching game\n  THEN reaches interactive state in \u003C target\n  AND loading feedback shown\n  AND no apparent hang\n\nSCENARIO: Save\u002FLoad Performance\n  GIVEN large save file (max progress)\n  WHEN loading save\n  THEN completes in \u003C target\n  AND no corruption\n  AND gameplay resumes smoothly\n```\n  \u003C\u002Faction>\n  \u003Caction>Adapt scenario details to match the specific game type and identified systems\u003C\u002Faction>\n\u003C\u002Fstep>\n\n\u003Cstep n=\"3\" goal=\"Define Test Methodology\">\n  \u003Caction>Generate automated performance test code for the detected engine\u003C\u002Faction>\n\n  \u003Ccheck if=\"engine == 'unity'\">\n    \u003Caction>Generate Unity Performance Test Runner examples:\n```csharp\n[UnityTest]\npublic IEnumerator Performance_CombatScene_MaintainsFPS()\n{\n    using (Measure.ProfilerMarkers(new[] { \"Main Thread\" }))\n    {\n        SceneManager.LoadScene(\"CombatStressTest\");\n        yield return new WaitForSeconds(30f);\n    }\n    var metrics = Measure.Custom(new SampleGroupDefinition(\"FPS\"));\n    Assert.Greater(metrics.Median, 30, \"FPS should stay above 30\");\n}\n```\n    \u003C\u002Faction>\n  \u003C\u002Fcheck>\n\n  \u003Ccheck if=\"engine == 'unreal'\">\n    \u003Caction>Generate Unreal Automation test examples:\n```cpp\nbool FPerformanceTest::RunTest(const FString& Parameters)\n{\n    float StartTime = FPlatformTime::Seconds();\n    for (int i = 0; i \u003C 100; i++)\n        GetWorld()->SpawnActor\u003CAStressTestActor>();\n    float FrameTime = FApp::GetDeltaTime();\n    TestTrue(\"Frame time under budget\", FrameTime \u003C 0.033f);\n    return true;\n}\n```\n    \u003C\u002Faction>\n  \u003C\u002Fcheck>\n\n  \u003Ccheck if=\"engine == 'godot'\">\n    \u003Caction>Generate Godot benchmark test examples:\n```gdscript\nfunc test_performance_entity_stress():\n    var frame_times = []\n    for i in range(100):\n        var entity = stress_entity.instantiate()\n        add_child(entity)\n    for i in range(300):\n        await get_tree().process_frame\n        frame_times.append(Performance.get_monitor(Performance.TIME_PROCESS))\n    var avg_frame_time = frame_times.reduce(func(a, b): return a + b) \u002F frame_times.size()\n    assert_lt(avg_frame_time, 0.033, \"Average frame time under 33ms (30 FPS)\")\n```\n    \u003C\u002Faction>\n  \u003C\u002Fcheck>\n\n  \u003Caction>Define manual profiling checklists:\n\n**CPU Profiling**\n- [ ] Identify hotspots using engine profiler\n- [ ] Check GC frequency and allocation pressure\n- [ ] Verify multithreading usage and thread contention\n\n**GPU Profiling**\n- [ ] Draw call count at target scenes\n- [ ] Overdraw analysis on complex areas\n- [ ] Shader complexity assessment\n\n**Memory Profiling**\n- [ ] Heap allocation patterns over a 30-minute session\n- [ ] Asset memory usage by category\n- [ ] Leak detection across multiple level loads\n  \u003C\u002Faction>\n\u003C\u002Fstep>\n\n\u003Cstep n=\"4\" goal=\"Create Benchmark Suite\">\n  \u003Caction>Define the benchmark levels and their purpose:\n\n| Benchmark       | Purpose                  | Duration |\n| --------------- | ------------------------ | -------- |\n| Combat Stress   | Max entities, effects    | 60s      |\n| Open World      | Draw distance, streaming | 120s     |\n| Menu Navigation | UI performance           | 30s      |\n| Save\u002FLoad       | Persistence performance  | 30s      |\n\n  Adapt benchmark names and durations to match the actual game content.\n  \u003C\u002Faction>\n  \u003Caction>Define baseline capture process:\n    1. Run benchmarks on reference hardware (document hardware specs)\n    2. Record baseline metrics (avg FPS, P95 frame time, peak memory)\n    3. Set regression thresholds (e.g., 10% FPS degradation = fail, 5% memory growth = fail)\n    4. Integrate benchmarks into CI pipeline as gated checks\n  \u003C\u002Faction>\n\u003C\u002Fstep>\n\n\u003Cstep n=\"5\" goal=\"Platform-Specific Testing\">\n  \u003Caction>Define platform-specific testing requirements for each target platform\u003C\u002Faction>\n\n  \u003Ccheck if=\"platform includes 'pc'\">\n    \u003Caction>PC testing requirements:\n      - Test across min\u002Frecommended hardware specs\n      - Verify quality settings (Low\u002FMedium\u002FHigh\u002FUltra) all perform within budget\n      - Check VRAM usage at each quality tier\n      - Test at multiple resolutions (1080p, 1440p, 4K)\n    \u003C\u002Faction>\n  \u003C\u002Fcheck>\n\n  \u003Ccheck if=\"platform includes 'console'\">\n    \u003Caction>Console testing requirements:\n      - Test in both Performance and Quality modes if applicable\n      - Verify thermal throttling behavior during extended sessions\n      - Check suspend\u002Fresume impact on frame rate and memory\n      - Test with varying storage speeds (internal SSD vs extended storage)\n    \u003C\u002Faction>\n  \u003C\u002Fcheck>\n\n  \u003Ccheck if=\"platform includes 'mobile'\">\n    \u003Caction>Mobile testing requirements:\n      - Test on low\u002Fmid\u002Fhigh tier representative devices\n      - Monitor thermal throttling onset time and severity\n      - Measure battery drain per hour of gameplay\n      - Test with background apps consuming memory\n    \u003C\u002Faction>\n  \u003C\u002Fcheck>\n\u003C\u002Fstep>\n\n\u003Cstep n=\"6\" goal=\"Generate Performance Test Plan\">\n  \u003Caction>Load `{template}` and use it as the structural foundation for the output document\u003C\u002Faction>\n  \u003Caction>Compile all information from Steps 1-5 into a comprehensive Performance Test Plan at `{default_output_file}` with this structure:\n\n```markdown\n# Performance Test Plan: {project_name}\n\n## Performance Targets\n[FPS tables filtered to target platforms]\n[Memory budget tables]\n[Loading time targets]\n\n## Test Scenarios\n\n### Frame Rate Tests\n[Stress test scenarios from Step 2]\n\n### Memory Tests\n[Extended play and leak detection scenarios]\n\n### Loading Tests\n[Boot, level load, save\u002Fload scenarios]\n\n## Methodology\n\n### Automated Tests\n[Engine-specific code examples]\n[CI integration instructions]\n\n### Manual Profiling\n[Checklists from Step 3]\n[Tools to use per engine]\n\n## Benchmark Suite\n[Benchmark definitions from Step 4]\n[Baseline capture process]\n[Regression thresholds]\n\n## Platform Matrix\n[Platform-specific requirements from Step 5]\n\n## Regression Criteria\n[Quantified thresholds: FPS drop %, memory growth %, load time delta]\n[CI gate configuration]\n\n## Schedule\n[When performance tests run: nightly, per-sprint, pre-release]\n[Who reviews results and owns regressions]\n```\n  \u003C\u002Faction>\n  \u003Caction>Load and apply `{validation}` checklist to verify all deliverables are complete\u003C\u002Faction>\n  \u003Caction>Present a summary of what was produced and the recommended next steps to the user\u003C\u002Faction>\n\u003Caction>Run: `python3 {project-root}\u002F_bmad\u002Fscripts\u002Fresolve_customization.py --skill {skill-root} --key workflow.on_complete` — if the resolved value is non-empty, follow it as the final terminal instruction before exiting.\u003C\u002Faction>\n\u003C\u002Fstep>\n\n\u003C\u002Fworkflow>\n",{"name":5,"description":7},"main","5d8b301b16a0b47e4c97f8c6d68ad82e0f86be2c",".agents\u002Fskills\u002Fgds-performance-test",0,"https:\u002F\u002Fgithub.com\u002FOrigoStudio\u002Forigo-design","https:\u002F\u002Fgithub.com\u002FOrigoStudio","Engineering ideas into products","2026-10-23 00:02:46",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add OrigoStudio\u002Forigo-design --skill gds-performance-test",{"tool":38,"command":39},"bunx","bunx skills add OrigoStudio\u002Forigo-design --skill gds-performance-test",{"tool":41,"command":42},"pnpm","pnpm dlx skills add OrigoStudio\u002Forigo-design --skill gds-performance-test","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FOrigoStudio\u002Forigo-design\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fgds-performance-test\u002FSKILL.md",true,[46,52,58],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"checklist.md","REFERENCE","参考文档",1792,"https:\u002F\u002Fgithub.com\u002FOrigoStudio\u002Forigo-design\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fgds-performance-test\u002Fchecklist.md",{"path":53,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":56,"sourceHtmlUrl":57},"customize.toml","OTHER","其他",1638,"https:\u002F\u002Fgithub.com\u002FOrigoStudio\u002Forigo-design\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fgds-performance-test\u002Fcustomize.toml",{"path":59,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":60,"sourceHtmlUrl":61},"performance-template.md",5859,"https:\u002F\u002Fgithub.com\u002FOrigoStudio\u002Forigo-design\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fgds-performance-test\u002Fperformance-template.md",[63,70,77,84,91,98],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M79PWH7HW9TE5FTCHJ1W968C","wds-agent-saga-analyst","Strategic business analyst and product discovery partner for WDS. Use when the user asks to talk to Saga or requests the WDS analyst.","https:\u002F\u002Fgithub.com\u002FOrigoStudio\u002Forigo-design\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwds-agent-saga-analyst\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M79PWF5EAQTMC3XZBEFGP3HW","wds-agent-mimir-builder","Implementation agent. Owns the tech audit, the PRD, and the build. Reads Freya's Work Orders and turns them into working code — one verified task at a time.","https:\u002F\u002Fgithub.com\u002FOrigoStudio\u002Forigo-design\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwds-agent-mimir-builder\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M79PWCR1845ETM01V6SKVDMN","wds-agent-freya-ux","Strategic UX designer and design thinking partner for WDS. Use when the user asks to talk to Freya or requests the WDS designer.","https:\u002F\u002Fgithub.com\u002FOrigoStudio\u002Forigo-design\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwds-agent-freya-ux\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M79PW9MEM3299WHP4DN0AS46","wds-8-product-evolution","Brownfield improvements — the full WDS pipeline in miniature for existing products","https:\u002F\u002Fgithub.com\u002FOrigoStudio\u002Forigo-design\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwds-8-product-evolution\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M79PW81V0VQJJP0A9A47WR8N","wds-7-design-system","Create, import, browse, and maintain design system components and tokens","https:\u002F\u002Fgithub.com\u002FOrigoStudio\u002Forigo-design\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwds-7-design-system\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":19},"01M79PW550F0KPHSWF5Z8Z529B","wds-6-asset-generation","Generate visual and text assets from specifications through AI-powered creative production","https:\u002F\u002Fgithub.com\u002FOrigoStudio\u002Forigo-design\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwds-6-asset-generation\u002FSKILL.md",[],[]]