[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7E6H9F8H93WYJBV6KKKBNNT":3,"skill-same:01M7E6H9F8H93WYJBV6KKKBNNT":47},{"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":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":6,"updatedAt":32,"install":33,"resources":46},"01M7E6H9F8H93WYJBV6KKKBNNT","game-juice",null,"Use when a Godot game feels flat or actions do not seem to land, when adding feedback to hits, jumps, pickups or deaths, or when checking that every action gets feedback in time.","nick-vas\u002Fhyperdot","nick-vas","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F7181961?v=4","01M7E6F6F0BQ49V0JZHX9BXCBD","Nikolaos Vasilikiotis","01M7E6F6FZW8SW1AJ1S7ARFE89",1,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fnick-vas\u002Fhyperdot\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fgame-juice\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: game-juice\ndescription: Use when a Godot game feels flat or actions do not seem to land, when adding feedback to hits, jumps, pickups or deaths, or when checking that every action gets feedback in time.\n---\n\n# Juice: feedback a player can feel, checked by a bot\n\n\"Juice\" is the feedback that makes an action land: the game answers within a tenth of a second, through more than one sense.\nAdd it deliberately, and verify it with the `juice` runner instead of by eye.\n\n## Checklist\n\n| Feedback | What it does | Godot 4 |\n|---|---|---|\n| Response under 100 ms | the action visibly starts on the frame it is pressed | act in `_UnhandledInput`\u002F`_PhysicsProcess` of that frame, never after an await |\n| Sound on every action | confirms the action without looking | `AudioStreamPlayer` with a few variations and slight `PitchScale` randomness |\n| Hit-stop | a 30 to 80 ms freeze on a big hit sells the impact | pause the two actors (`ProcessMode`), not `Engine.TimeScale`, which also slows UI and audio |\n| Screen shake | weight; small and short | trauma squared on smooth noise, added to a camera the shake never moves; rotation only in 3D (see Screen shake); scale it by a 0 to 100% settings slider (XAG 117) |\n| Squash and stretch | elasticity on jumps, landings and hits | a `Tween` on the visual's `Scale`, never on the physics body |\n| Button press bounce | the button answers the finger | scale a child visual (a `TextureRect` or `Panel` with `MouseFilter = Ignore`), never the `Button`: Godot hit-tests a `Control` through its transform, so at 0.8 a click 5 px inside the corner missed (tested, 4.7.2). Touch builds need no hover look |\n| Flash | marks who was hit | a shader `flash` uniform on the visual for 1 to 3 frames; never more than three flashes a second over about 20% of the screen, less for saturated red (WCAG 2.3.1, XAG 118: a seizure risk): at a fast hit rate, flash only the first hit or tint instead |\n| Particles | spark, dust, debris at the contact point | pre-warmed `GpuParticles2D`, one-shot, pooled (`patterns` Object Pool) |\n| Telegraphs | a danger is readable before it lands | a wind-up animation or marker at least 300 ms ahead |\n| Numbers | damage and score pop where they happened | pooled labels with a short rise-and-fade tween |\n| Marks | a death or big hit leaves a trace: where it happened, and by fading, when (Move or Die's death paint, GDC) | a `Sprite2D` splat in the victim's colour, randomly rotated and scaled, drawn behind the play layer (`ZIndex`), its `Modulate` alpha tweened down over seconds; pooled, with a cap |\n| Rumble | the player who did not see it still feels it | `input` haptics: one helper scaled by the player's setting, never the only cue |\n\nFeedback is information, not decoration. Nicolae Berbece layered Move or Die's death (sounds, paint, particles, shake,\na colour split, a shockwave, rumble) until players knew someone had died elsewhere on screen without looking there.\nIn the `juice` runner, `mark` and `rumble` are feedback names like any other.\n\nOptional, at boot: a short sound under the splash logo tells the player the game is running; Kenji Eno had Ryuichi\nSakamoto write the Dreamcast's (*Untold History*). Keep the splash short and skippable.\n\nKeep feedback on the presentation side: it must never change gameplay state, so tests and bots stay deterministic\n(`patterns`).\n\n## Screen shake\n\nFrom the GDC talk \"Juicing Your Cameras With Math\":\n\n- Keep **trauma** (0 to 1) separate from the shake. Each hit adds to it (about 0.5 for a heavy one, 0.1 to 0.2 for a light\n  one, clamped at 1) and it falls **linearly** in game time. Shake = trauma squared (or cubed): heavy and light hits feel\n  clearly different, three light hits in a row escalate, and the shake fades out instead of stopping dead.\n- Drive each channel with **smooth noise** sampled at game time (`FastNoiseLite`, a different row or seed per channel, or x\n  moves with y), never a new random value each frame: random values jitter at full speed in slow motion and at every frame\n  rate, while sampled noise slows with `Engine.TimeScale`, repeats with its seed, and at 1 to 2 cycles a second becomes a\n  handheld-camera sway.\n- **2D**: translation plus a little rotation (`IgnoreRotation = false`). **3D**: rotation only (pitch, yaw and roll, each\n  with its own maximum): moving a 3D camera throws near geometry around and pushes the camera into walls. **VR**: none.\n- Never move the real camera. The follow code owns the camera's position; the shake rebuilds its offset from scratch every\n  frame. In 3D, shake a child `Camera3D` of the pivot that follows and aims, and touch only its `Rotation`.\n\n```csharp\npublic partial class ShakeCamera : Camera2D   \u002F\u002F its parent or the follow code moves it; the shake never does\n{\n    [Export] public float MaxOffset = 12f, MaxAngle = 0.05f, Decay = 1.5f, NoiseSpeed = 20f;\n    [Export] public float Strength = 1f;   \u002F\u002F the 0 to 100% settings slider\n    private readonly FastNoiseLite _noise = new() { Seed = 1, Frequency = 1f };\n    private float _trauma, _time;\n\n    public void AddTrauma(float amount) => _trauma = Mathf.Clamp(_trauma + amount, 0f, 1f);\n\n    public override void _Process(double delta)\n    {\n        _trauma = Mathf.Max(_trauma - Decay * (float)delta, 0f);\n        _time += (float)delta * NoiseSpeed;   \u002F\u002F delta is game time: slow motion slows the shake too\n        float shake = _trauma * _trauma * Strength;\n        Offset = new Vector2(_noise.GetNoise2D(_time, 0f), _noise.GetNoise2D(_time, 50f)) * MaxOffset * shake;\n        Rotation = _noise.GetNoise2D(_time, 100f) * MaxAngle * shake;\n    }\n}\n```\n\nIn 3D the child camera gets `Rotation = new Vector3(pitch, yaw, roll) * shake` from three noise rows, and its `Position`\nstays where the pivot put it. A tested trauma and noise core:\n`${CLAUDE_PLUGIN_ROOT}\u002Fexamples\u002Fcsharp\u002Fsrc\u002FExample.Core\u002FFeel\u002FCameraShake.cs`. Smoothing a follow camera: `math`.\n\nJuicee (MIT, v2.0.0 of 2026-10-13, a C# singleton API) ships shake, hit stop and camera effects (`docs\u002Faddons.md`). If a game\nuses it, the shake still scales with the player's settings slider; it is young, so pin its tag.\n\n## Make it checkable\n\n1. Log one line per gameplay event and per feedback, with game time in milliseconds:\n   `[juice] event brick_hit 1234.5` and `[juice] feedback flash 1240.1`. Game time is the sum of `_Process` deltas, kept by an\n   autoload, so it is the same on every machine:\n\n   ```csharp\n   public partial class Juice : Node   \u002F\u002F autoload\n   {\n       private static double _ms;\n       public override void _Process(double delta) => _ms += delta * 1000.0;\n       public static void Event(string name) => GD.Print($\"[juice] event {name} {_ms:F1}\");\n       public static void Feedback(string name) => GD.Print($\"[juice] feedback {name} {_ms:F1}\");\n   }\n   ```\n   (The interpolated strings allocate; that is fine for a log line on an event, not for one every frame.)\n\n2. Write `juice.json` in the Godot project:\n\n   ```json\n   { \"frames\": 1800, \"args\": [\"--autoplay\", \"--seed=1\"],\n     \"rules\": [ { \"event\": \"brick_hit\", \"feedback\": [\"flash\", \"sfx\"], \"withinMs\": 100 },\n                { \"event\": \"player_death\", \"feedback\": [\"shake\", \"sfx\"], \"withinMs\": 100 } ] }\n   ```\n\n3. The `juice` runner is detected from it and runs with every `test`: Godot plays headless at a fixed 60 fps for `frames`\n   frames with `args` (your bot, `automation-hooks`), and each rule fails when an event had no such feedback within the\n   window, or never happened at all (the bot did not reach it).\n\n```powershell\npwsh ${CLAUDE_PLUGIN_ROOT}\u002Fci\u002Fgodot\u002Fhyperdot.ps1 test -Json -Quiet -Runners juice\n```\n\nHow it looks is a different question: screenshots and the style guide are `\u002Flook`.\n","# Juice: feedback a player can feel, checked by a bot\n\n\"Juice\" is the feedback that makes an action land: the game answers within a tenth of a second, through more than one sense.\nAdd it deliberately, and verify it with the `juice` runner instead of by eye.\n\n## Checklist\n\n| Feedback | What it does | Godot 4 |\n|---|---|---|\n| Response under 100 ms | the action visibly starts on the frame it is pressed | act in `_UnhandledInput`\u002F`_PhysicsProcess` of that frame, never after an await |\n| Sound on every action | confirms the action without looking | `AudioStreamPlayer` with a few variations and slight `PitchScale` randomness |\n| Hit-stop | a 30 to 80 ms freeze on a big hit sells the impact | pause the two actors (`ProcessMode`), not `Engine.TimeScale`, which also slows UI and audio |\n| Screen shake | weight; small and short | trauma squared on smooth noise, added to a camera the shake never moves; rotation only in 3D (see Screen shake); scale it by a 0 to 100% settings slider (XAG 117) |\n| Squash and stretch | elasticity on jumps, landings and hits | a `Tween` on the visual's `Scale`, never on the physics body |\n| Button press bounce | the button answers the finger | scale a child visual (a `TextureRect` or `Panel` with `MouseFilter = Ignore`), never the `Button`: Godot hit-tests a `Control` through its transform, so at 0.8 a click 5 px inside the corner missed (tested, 4.7.2). Touch builds need no hover look |\n| Flash | marks who was hit | a shader `flash` uniform on the visual for 1 to 3 frames; never more than three flashes a second over about 20% of the screen, less for saturated red (WCAG 2.3.1, XAG 118: a seizure risk): at a fast hit rate, flash only the first hit or tint instead |\n| Particles | spark, dust, debris at the contact point | pre-warmed `GpuParticles2D`, one-shot, pooled (`patterns` Object Pool) |\n| Telegraphs | a danger is readable before it lands | a wind-up animation or marker at least 300 ms ahead |\n| Numbers | damage and score pop where they happened | pooled labels with a short rise-and-fade tween |\n| Marks | a death or big hit leaves a trace: where it happened, and by fading, when (Move or Die's death paint, GDC) | a `Sprite2D` splat in the victim's colour, randomly rotated and scaled, drawn behind the play layer (`ZIndex`), its `Modulate` alpha tweened down over seconds; pooled, with a cap |\n| Rumble | the player who did not see it still feels it | `input` haptics: one helper scaled by the player's setting, never the only cue |\n\nFeedback is information, not decoration. Nicolae Berbece layered Move or Die's death (sounds, paint, particles, shake,\na colour split, a shockwave, rumble) until players knew someone had died elsewhere on screen without looking there.\nIn the `juice` runner, `mark` and `rumble` are feedback names like any other.\n\nOptional, at boot: a short sound under the splash logo tells the player the game is running; Kenji Eno had Ryuichi\nSakamoto write the Dreamcast's (*Untold History*). Keep the splash short and skippable.\n\nKeep feedback on the presentation side: it must never change gameplay state, so tests and bots stay deterministic\n(`patterns`).\n\n## Screen shake\n\nFrom the GDC talk \"Juicing Your Cameras With Math\":\n\n- Keep **trauma** (0 to 1) separate from the shake. Each hit adds to it (about 0.5 for a heavy one, 0.1 to 0.2 for a light\n  one, clamped at 1) and it falls **linearly** in game time. Shake = trauma squared (or cubed): heavy and light hits feel\n  clearly different, three light hits in a row escalate, and the shake fades out instead of stopping dead.\n- Drive each channel with **smooth noise** sampled at game time (`FastNoiseLite`, a different row or seed per channel, or x\n  moves with y), never a new random value each frame: random values jitter at full speed in slow motion and at every frame\n  rate, while sampled noise slows with `Engine.TimeScale`, repeats with its seed, and at 1 to 2 cycles a second becomes a\n  handheld-camera sway.\n- **2D**: translation plus a little rotation (`IgnoreRotation = false`). **3D**: rotation only (pitch, yaw and roll, each\n  with its own maximum): moving a 3D camera throws near geometry around and pushes the camera into walls. **VR**: none.\n- Never move the real camera. The follow code owns the camera's position; the shake rebuilds its offset from scratch every\n  frame. In 3D, shake a child `Camera3D` of the pivot that follows and aims, and touch only its `Rotation`.\n\n```csharp\npublic partial class ShakeCamera : Camera2D   \u002F\u002F its parent or the follow code moves it; the shake never does\n{\n    [Export] public float MaxOffset = 12f, MaxAngle = 0.05f, Decay = 1.5f, NoiseSpeed = 20f;\n    [Export] public float Strength = 1f;   \u002F\u002F the 0 to 100% settings slider\n    private readonly FastNoiseLite _noise = new() { Seed = 1, Frequency = 1f };\n    private float _trauma, _time;\n\n    public void AddTrauma(float amount) => _trauma = Mathf.Clamp(_trauma + amount, 0f, 1f);\n\n    public override void _Process(double delta)\n    {\n        _trauma = Mathf.Max(_trauma - Decay * (float)delta, 0f);\n        _time += (float)delta * NoiseSpeed;   \u002F\u002F delta is game time: slow motion slows the shake too\n        float shake = _trauma * _trauma * Strength;\n        Offset = new Vector2(_noise.GetNoise2D(_time, 0f), _noise.GetNoise2D(_time, 50f)) * MaxOffset * shake;\n        Rotation = _noise.GetNoise2D(_time, 100f) * MaxAngle * shake;\n    }\n}\n```\n\nIn 3D the child camera gets `Rotation = new Vector3(pitch, yaw, roll) * shake` from three noise rows, and its `Position`\nstays where the pivot put it. A tested trauma and noise core:\n`${CLAUDE_PLUGIN_ROOT}\u002Fexamples\u002Fcsharp\u002Fsrc\u002FExample.Core\u002FFeel\u002FCameraShake.cs`. Smoothing a follow camera: `math`.\n\nJuicee (MIT, v2.0.0 of 2026-10-13, a C# singleton API) ships shake, hit stop and camera effects (`docs\u002Faddons.md`). If a game\nuses it, the shake still scales with the player's settings slider; it is young, so pin its tag.\n\n## Make it checkable\n\n1. Log one line per gameplay event and per feedback, with game time in milliseconds:\n   `[juice] event brick_hit 1234.5` and `[juice] feedback flash 1240.1`. Game time is the sum of `_Process` deltas, kept by an\n   autoload, so it is the same on every machine:\n\n   ```csharp\n   public partial class Juice : Node   \u002F\u002F autoload\n   {\n       private static double _ms;\n       public override void _Process(double delta) => _ms += delta * 1000.0;\n       public static void Event(string name) => GD.Print($\"[juice] event {name} {_ms:F1}\");\n       public static void Feedback(string name) => GD.Print($\"[juice] feedback {name} {_ms:F1}\");\n   }\n   ```\n   (The interpolated strings allocate; that is fine for a log line on an event, not for one every frame.)\n\n2. Write `juice.json` in the Godot project:\n\n   ```json\n   { \"frames\": 1800, \"args\": [\"--autoplay\", \"--seed=1\"],\n     \"rules\": [ { \"event\": \"brick_hit\", \"feedback\": [\"flash\", \"sfx\"], \"withinMs\": 100 },\n                { \"event\": \"player_death\", \"feedback\": [\"shake\", \"sfx\"], \"withinMs\": 100 } ] }\n   ```\n\n3. The `juice` runner is detected from it and runs with every `test`: Godot plays headless at a fixed 60 fps for `frames`\n   frames with `args` (your bot, `automation-hooks`), and each rule fails when an event had no such feedback within the\n   window, or never happened at all (the bot did not reach it).\n\n```powershell\npwsh ${CLAUDE_PLUGIN_ROOT}\u002Fci\u002Fgodot\u002Fhyperdot.ps1 test -Json -Quiet -Runners juice\n```\n\nHow it looks is a different question: screenshots and the style guide are `\u002Flook`.\n",{"name":5,"description":7},"main","5fa4c2262d814d50f72198a95b8c483ff195f90f",".agents\u002Fskills\u002Fgame-juice",0,"https:\u002F\u002Fgithub.com\u002Fnick-vas\u002Fhyperdot","https:\u002F\u002Fnick-vas.github.io\u002Fhyperdot\u002F","https:\u002F\u002Fgithub.com\u002Fnick-vas","https:\u002F\u002Fcommon-beef.itch.io\u002F","2026-11-13 18:55:29",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add nick-vas\u002Fhyperdot --skill game-juice",{"tool":39,"command":40},"bunx","bunx skills add nick-vas\u002Fhyperdot --skill game-juice",{"tool":42,"command":43},"pnpm","pnpm dlx skills add nick-vas\u002Fhyperdot --skill game-juice","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fnick-vas\u002Fhyperdot\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fgame-juice\u002FSKILL.md",true,[],[48,55,61,68,75,82],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M7E6RF2S03S92PB9RZB4S4W0","over-budget","Use when a fixture exceeds the size budget.","https:\u002F\u002Fgithub.com\u002Fnick-vas\u002Fhyperdot\u002Fblob\u002Fmain\u002Ftests\u002Fskill-fixtures\u002Fover-budget\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M7E6RBY8SDNMA3ZARE8MAH0G","bad-yaml","https:\u002F\u002Fgithub.com\u002Fnick-vas\u002Fhyperdot\u002Fblob\u002Fmain\u002Ftests\u002Fskill-fixtures\u002Fbad-yaml\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M7E6R9S9YHTC552SR41RQAJ1","bad-workflow-description","Use when testing; runs the kit and then reads the JSON.","https:\u002F\u002Fgithub.com\u002Fnick-vas\u002Fhyperdot\u002Fblob\u002Fmain\u002Ftests\u002Fskill-fixtures\u002Fbad-workflow-description\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M7E6R6CWSAN48C80130CM1AK","bad-version","Use when a fixture quotes a stale package version.","https:\u002F\u002Fgithub.com\u002Fnick-vas\u002Fhyperdot\u002Fblob\u002Fmain\u002Ftests\u002Fskill-fixtures\u002Fbad-version\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7E6R2C0E24TC133ESHKZT9R","bad-value","Use when a fixture passes a value outside a parameter's set.","https:\u002F\u002Fgithub.com\u002Fnick-vas\u002Fhyperdot\u002Fblob\u002Fmain\u002Ftests\u002Fskill-fixtures\u002Fbad-value\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7E6QYM81V061X7DSQ94CZRP","bad-trigger","Helps with Godot tests.","https:\u002F\u002Fgithub.com\u002Fnick-vas\u002Fhyperdot\u002Fblob\u002Fmain\u002Ftests\u002Fskill-fixtures\u002Fbad-trigger\u002FSKILL.md",[],[]]