[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79N1ZD1F6G8N1TC7AXNV837":3,"skill-same:01M79N1ZD1F6G8N1TC7AXNV837":56},{"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":30,"commitSha":31,"skillDirectory":5,"forksCount":14,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":34,"updatedAt":35,"install":36,"resources":49},"01M79N1ZD1F6G8N1TC7AXNV837","platformer",null,"Build a 2D platformer: run\u002Fjump control with coyote time, jump buffering, and variable jump height, plus tiled levels and hazards. Use for a platformer or Mario\u002FCeleste-like, or tuning jump feel.","mistervaibhav\u002Fskills","mistervaibhav","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F41189028?v=4","01M79KACH05EG9FMM6DQVHAVK9","Vaibhav Singh","01M79KACJB3431Y8CFJQ02MTTM",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fmistervaibhav\u002Fskills\u002Fblob\u002Fmain\u002Fplatformer\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: platformer\ndescription: >\n  Build a 2D platformer: run\u002Fjump control with coyote time, jump buffering, and variable jump\n  height, plus tiled levels and hazards. Use for a platformer or Mario\u002FCeleste-like, or tuning jump feel.\nlicense: Apache-2.0\ncompatibility: Engine-agnostic design patterns; snippets are pseudocode (port to your engine)\nmetadata:\n  engine: none\n  category: genres\n  difficulty: intermediate\n---\n\n# Platformer\n\nA playbook for 2D platformers — the run\u002Fjump controller \"feel\", level structure, hazards,\nand goals. This is a **compositional** skill: it wires an engine movement skill, a tilemap\nskill, and design skills into a working game. It does **not** re-teach physics or tilemaps;\nit tells you what to build and how to make jumping feel good.\n\n## When to use\n\n- Use when building a side-scrolling or single-screen platformer, a \"Mario-like\" \u002F\n  \"Celeste-like\", or any game whose core verb is **jump between surfaces**.\n- Use when a jump feels floaty, unresponsive, or \"unfair\" and you need feel fixes\n  (coyote time, jump buffering, variable height, corner correction).\n\n**When *not* to use:** top-down movement with no gravity → use the engine movement skill\ndirectly. 3D first-person traversal → `fps-shooter`. Grid\u002Fturn movement → `roguelike`.\nFor the raw kinematic body API, use `godot-2d-movement` (or your engine's controller skill).\n\n## Core loop\n\n**Observe a gap\u002Fhazard → commit to a jump or move → land safely (or die) → reach the next\ncheckpoint\u002Fgoal.** A platformer lives or dies on the *moment-to-moment* feel of that single\njump, repeated thousands of times. Tighten the controller first; everything else is content.\n\n## Must-have systems\n\n1. **Run\u002Fjump controller** — horizontal accel\u002Fdecel, gravity, jump, with the feel aids below.\n2. **Solid + one-way collision** — ground, walls, and \"jump-through\" platforms.\n3. **Level geometry** — a tilemap or hand-placed colliders; the playable space.\n4. **Hazards + death\u002Frespawn** — spikes, pits, enemies; reset to the last checkpoint.\n5. **Checkpoints \u002F level goal** — progress markers and a win condition (flag, door, exit).\n6. **Camera** — follows the player with a deadzone and look-ahead, clamped to level bounds.\n7. **Juice** — landing dust, squash\u002Fstretch, hit-stop, sound. Cheap, huge feel payoff.\n\n## Design knobs (make the jump feel right)\n\nTune these by **outcome** (height in tiles, time to apex in seconds), not by raw numbers.\n\n| Knob | Effect | Sane starting point |\n|------|--------|---------------------|\n| Max jump height | reach | 3–4 tiles |\n| Time to apex | \"weight\"\u002Fsnappiness | 0.30–0.40 s |\n| Fall gravity multiplier | snappy, non-floaty fall | 1.5–2.0× rise gravity |\n| Coyote time | jump just after leaving a ledge | 0.08–0.12 s (~5–7 frames @60) |\n| Jump buffer | press just before landing still jumps | 0.10–0.15 s |\n| Variable jump cut | tap = short hop, hold = full | cut upward velocity ×0.4–0.5 on release |\n| Apex hang | brief float at the top for air control | reduce gravity ×0.5 near `|vy|`\u003Cthreshold |\n| Ground accel \u002F friction | responsiveness vs. ice | reach top speed in 0.05–0.1 s |\n| Corner correction | nudge past a ledge clipped by 1–2 px | nudge up to ~4 px sideways |\n\nDerive gravity and jump velocity from the *feel* values rather than guessing — see Pattern 1.\n\n## Patterns\n\n### 1. Solve jump physics from height + time (not magic numbers)\n\n```python\n# Pseudocode. Pick the FEEL you want, then derive the physics. y-axis points DOWN.\n# From kinematics: h = (g * t^2) \u002F 2  and  v0 = g * t.\nJUMP_HEIGHT   = 3.5 * TILE      # how high, in world units\nTIME_TO_APEX  = 0.35            # seconds to reach the top\n\ngravity       = (2 * JUMP_HEIGHT) \u002F (TIME_TO_APEX ** 2)   # rising gravity\njump_velocity = -(2 * JUMP_HEIGHT) \u002F TIME_TO_APEX         # negative = upward\nfall_gravity  = gravity * 1.8   # heavier on the way down → less floaty\n```\n\n### 2. Coyote time + jump buffer + variable height (the feel core)\n\n```python\n# Pseudocode in the per-frame update. dt = seconds since last frame.\n# Timers count DOWN; refresh coyote while grounded, buffer on a fresh press.\nif on_floor:\n    coyote_timer = COYOTE_TIME           # 0.1\nif jump_pressed_this_frame:\n    buffer_timer = JUMP_BUFFER           # 0.12\ncoyote_timer -= dt\nbuffer_timer -= dt\n\n# A jump is allowed if we pressed recently AND were grounded recently.\nif buffer_timer > 0 and coyote_timer > 0:\n    velocity.y   = jump_velocity\n    buffer_timer = 0\n    coyote_timer = 0                     # consume both so we can't double-jump\n\n# Variable height: releasing jump early while still rising cuts the arc short.\nif jump_released_this_frame and velocity.y \u003C 0:\n    velocity.y *= 0.45\n\n# Asymmetric gravity: snappier fall than rise.\ng = fall_gravity if velocity.y > 0 else gravity\nvelocity.y += g * dt\n```\n\n### 3. One-way platforms\n\nSolid from above, pass-through from below. Most engines expose a \"one-way collision\" flag on\nthe tile\u002Fcollider; enable it and let the player **drop through** by disabling that collision\nfor a few frames when the player holds Down + Jump. Do not re-implement collision math.\n\n## Pitfalls \u002F failure modes\n\n- **Per-frame movement not scaled by `dt`** → speed changes with frame rate. Every velocity\n  integration and timer must use `dt`. (See `physics-tuning`.)\n- **Floaty jumps** → symmetric gravity. Make fall gravity heavier than rise gravity.\n- **\"The jump didn't register\"** → no input buffering. Buffer presses for ~0.1 s before landing.\n- **\"I fell off and couldn't jump\"** → no coyote time. Allow a jump for ~0.1 s after leaving ground.\n- **Sticking to walls \u002F catching on tile seams** → use a single capsule\u002Fbox collider, not\n  per-tile colliders, and add corner correction.\n- **Tunneling through floors at high speed** → enable continuous collision \u002F smaller fixed\n  timestep for fast bodies (see `physics-tuning`).\n- **Camera snaps and induces nausea** → smooth\u002Flerp the follow, add a deadzone, clamp to bounds.\n- **Difficulty wall from bad teaching** → introduce one mechanic per area before combining them.\n\n## Composition (build it from these skills)\n\n- **Controller body:** `godot-2d-movement` (Godot `CharacterBody2D`); for other engines use\n  the engine core + physics skill (`unity-physics`, `phaser-arcade-physics`, `pygame-core`).\n- **Levels:** `godot-tilemap` \u002F `unity-tilemap-2d` for geometry; `level-design` for layout,\n  pacing, and teaching order.\n- **Feel\u002Fphysics:** `physics-tuning` for timestep, CCD, and stability.\n- **Input:** `input-systems` for buffering, rebinding, and gamepad support.\n- **Polish:** `audio-design` for SFX\u002Fmusic; the engine animation skill for squash\u002Fstretch.\n- **Process:** `prototype-fast` to greybox the controller before building content.\n\n## References\n\n- For jump math derivation, a full feel-tuning table, corner correction, moving\u002Fone-way\n  platforms, and camera follow, read `references\u002Ffeel-tuning.md`.\n","# Platformer\n\nA playbook for 2D platformers — the run\u002Fjump controller \"feel\", level structure, hazards,\nand goals. This is a **compositional** skill: it wires an engine movement skill, a tilemap\nskill, and design skills into a working game. It does **not** re-teach physics or tilemaps;\nit tells you what to build and how to make jumping feel good.\n\n## When to use\n\n- Use when building a side-scrolling or single-screen platformer, a \"Mario-like\" \u002F\n  \"Celeste-like\", or any game whose core verb is **jump between surfaces**.\n- Use when a jump feels floaty, unresponsive, or \"unfair\" and you need feel fixes\n  (coyote time, jump buffering, variable height, corner correction).\n\n**When *not* to use:** top-down movement with no gravity → use the engine movement skill\ndirectly. 3D first-person traversal → `fps-shooter`. Grid\u002Fturn movement → `roguelike`.\nFor the raw kinematic body API, use `godot-2d-movement` (or your engine's controller skill).\n\n## Core loop\n\n**Observe a gap\u002Fhazard → commit to a jump or move → land safely (or die) → reach the next\ncheckpoint\u002Fgoal.** A platformer lives or dies on the *moment-to-moment* feel of that single\njump, repeated thousands of times. Tighten the controller first; everything else is content.\n\n## Must-have systems\n\n1. **Run\u002Fjump controller** — horizontal accel\u002Fdecel, gravity, jump, with the feel aids below.\n2. **Solid + one-way collision** — ground, walls, and \"jump-through\" platforms.\n3. **Level geometry** — a tilemap or hand-placed colliders; the playable space.\n4. **Hazards + death\u002Frespawn** — spikes, pits, enemies; reset to the last checkpoint.\n5. **Checkpoints \u002F level goal** — progress markers and a win condition (flag, door, exit).\n6. **Camera** — follows the player with a deadzone and look-ahead, clamped to level bounds.\n7. **Juice** — landing dust, squash\u002Fstretch, hit-stop, sound. Cheap, huge feel payoff.\n\n## Design knobs (make the jump feel right)\n\nTune these by **outcome** (height in tiles, time to apex in seconds), not by raw numbers.\n\n| Knob | Effect | Sane starting point |\n|------|--------|---------------------|\n| Max jump height | reach | 3–4 tiles |\n| Time to apex | \"weight\"\u002Fsnappiness | 0.30–0.40 s |\n| Fall gravity multiplier | snappy, non-floaty fall | 1.5–2.0× rise gravity |\n| Coyote time | jump just after leaving a ledge | 0.08–0.12 s (~5–7 frames @60) |\n| Jump buffer | press just before landing still jumps | 0.10–0.15 s |\n| Variable jump cut | tap = short hop, hold = full | cut upward velocity ×0.4–0.5 on release |\n| Apex hang | brief float at the top for air control | reduce gravity ×0.5 near `|vy|`\u003Cthreshold |\n| Ground accel \u002F friction | responsiveness vs. ice | reach top speed in 0.05–0.1 s |\n| Corner correction | nudge past a ledge clipped by 1–2 px | nudge up to ~4 px sideways |\n\nDerive gravity and jump velocity from the *feel* values rather than guessing — see Pattern 1.\n\n## Patterns\n\n### 1. Solve jump physics from height + time (not magic numbers)\n\n```python\n# Pseudocode. Pick the FEEL you want, then derive the physics. y-axis points DOWN.\n# From kinematics: h = (g * t^2) \u002F 2  and  v0 = g * t.\nJUMP_HEIGHT   = 3.5 * TILE      # how high, in world units\nTIME_TO_APEX  = 0.35            # seconds to reach the top\n\ngravity       = (2 * JUMP_HEIGHT) \u002F (TIME_TO_APEX ** 2)   # rising gravity\njump_velocity = -(2 * JUMP_HEIGHT) \u002F TIME_TO_APEX         # negative = upward\nfall_gravity  = gravity * 1.8   # heavier on the way down → less floaty\n```\n\n### 2. Coyote time + jump buffer + variable height (the feel core)\n\n```python\n# Pseudocode in the per-frame update. dt = seconds since last frame.\n# Timers count DOWN; refresh coyote while grounded, buffer on a fresh press.\nif on_floor:\n    coyote_timer = COYOTE_TIME           # 0.1\nif jump_pressed_this_frame:\n    buffer_timer = JUMP_BUFFER           # 0.12\ncoyote_timer -= dt\nbuffer_timer -= dt\n\n# A jump is allowed if we pressed recently AND were grounded recently.\nif buffer_timer > 0 and coyote_timer > 0:\n    velocity.y   = jump_velocity\n    buffer_timer = 0\n    coyote_timer = 0                     # consume both so we can't double-jump\n\n# Variable height: releasing jump early while still rising cuts the arc short.\nif jump_released_this_frame and velocity.y \u003C 0:\n    velocity.y *= 0.45\n\n# Asymmetric gravity: snappier fall than rise.\ng = fall_gravity if velocity.y > 0 else gravity\nvelocity.y += g * dt\n```\n\n### 3. One-way platforms\n\nSolid from above, pass-through from below. Most engines expose a \"one-way collision\" flag on\nthe tile\u002Fcollider; enable it and let the player **drop through** by disabling that collision\nfor a few frames when the player holds Down + Jump. Do not re-implement collision math.\n\n## Pitfalls \u002F failure modes\n\n- **Per-frame movement not scaled by `dt`** → speed changes with frame rate. Every velocity\n  integration and timer must use `dt`. (See `physics-tuning`.)\n- **Floaty jumps** → symmetric gravity. Make fall gravity heavier than rise gravity.\n- **\"The jump didn't register\"** → no input buffering. Buffer presses for ~0.1 s before landing.\n- **\"I fell off and couldn't jump\"** → no coyote time. Allow a jump for ~0.1 s after leaving ground.\n- **Sticking to walls \u002F catching on tile seams** → use a single capsule\u002Fbox collider, not\n  per-tile colliders, and add corner correction.\n- **Tunneling through floors at high speed** → enable continuous collision \u002F smaller fixed\n  timestep for fast bodies (see `physics-tuning`).\n- **Camera snaps and induces nausea** → smooth\u002Flerp the follow, add a deadzone, clamp to bounds.\n- **Difficulty wall from bad teaching** → introduce one mechanic per area before combining them.\n\n## Composition (build it from these skills)\n\n- **Controller body:** `godot-2d-movement` (Godot `CharacterBody2D`); for other engines use\n  the engine core + physics skill (`unity-physics`, `phaser-arcade-physics`, `pygame-core`).\n- **Levels:** `godot-tilemap` \u002F `unity-tilemap-2d` for geometry; `level-design` for layout,\n  pacing, and teaching order.\n- **Feel\u002Fphysics:** `physics-tuning` for timestep, CCD, and stability.\n- **Input:** `input-systems` for buffering, rebinding, and gamepad support.\n- **Polish:** `audio-design` for SFX\u002Fmusic; the engine animation skill for squash\u002Fstretch.\n- **Process:** `prototype-fast` to greybox the controller before building content.\n\n## References\n\n- For jump math derivation, a full feel-tuning table, corner correction, moving\u002Fone-way\n  platforms, and camera follow, read `references\u002Ffeel-tuning.md`.\n",{"name":5,"license":15,"metadata":24,"description":28,"compatibility":29},{"engine":25,"category":26,"difficulty":27},"none","genres","intermediate","Build a 2D platformer: run\u002Fjump control with coyote time, jump buffering, and variable jump height, plus tiled levels and hazards. Use for a platformer or Mario\u002FCeleste-like, or tuning jump feel.\n","Engine-agnostic design patterns; snippets are pseudocode (port to your engine)","main","6d4e3296d58b2720c5b1026197cd069b1dde4789","https:\u002F\u002Fgithub.com\u002Fmistervaibhav\u002Fskills","https:\u002F\u002Fgithub.com\u002Fmistervaibhav","Software Engineer","2026-07-24 17:16:42",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add mistervaibhav\u002Fskills --skill platformer",{"tool":42,"command":43},"bunx","bunx skills add mistervaibhav\u002Fskills --skill platformer",{"tool":45,"command":46},"pnpm","pnpm dlx skills add mistervaibhav\u002Fskills --skill platformer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmistervaibhav\u002Fskills\u002Fblob\u002Fmain\u002Fplatformer\u002FSKILL.md",true,[50],{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"references\u002Ffeel-tuning.md","REFERENCE","参考文档",5106,"https:\u002F\u002Fgithub.com\u002Fmistervaibhav\u002Fskills\u002Fblob\u002Fmain\u002Fplatformer\u002Freferences\u002Ffeel-tuning.md",[57,65,73,81,88,95],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":61,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M79NZDV5781GA6SJMN1QPXB4","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","https:\u002F\u002Fgithub.com\u002Fmistervaibhav\u002Fskills\u002Fblob\u002Fmain\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fmistervaibhav\u002Fskills\u002Fblob\u002Fmain\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":69,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M79NZ8SEVWT4WYD49BV980YW","web-typography","Select, pair, and implement typefaces for web projects. Use when the user mentions \"font pairing\", \"which typeface\", \"line height\", \"responsive typography\", \"web font loading\", or \"type hierarchy\". Covers readability evaluation, CSS implementation, and performance optimization. For overall UI design systems, see refactoring-ui. For dramatic typographic experiences, see top-design.","MIT","https:\u002F\u002Fgithub.com\u002Fmistervaibhav\u002Fskills\u002Fblob\u002Fmain\u002Fweb-typography\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":69,"licenseFileUrl":77,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M79NYVQS5NYHH36NXF2AHP8B","web-haptics","Add haptic feedback to web apps using the web-haptics library. Use when building mobile-facing UIs that need tactile feedback on buttons, toggles, forms, pickers, and other interactive elements.","https:\u002F\u002Fgithub.com\u002Fmistervaibhav\u002Fskills\u002Fblob\u002Fmain\u002Fweb-haptics\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fmistervaibhav\u002Fskills\u002Fblob\u002Fmain\u002Fweb-haptics\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M79NY8AMC62DDRSH21WKXJVE","visual-novel","Build a visual novel: a branching script, character and background display, a text box with choices, save\u002Fload, backlog, and skip\u002Fauto. Use for a VN, dating sim, or branching story game.","https:\u002F\u002Fgithub.com\u002Fmistervaibhav\u002Fskills\u002Fblob\u002Fmain\u002Fvisual-novel\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":69,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M79NWFM5R9QC9Y2AT40EHF44","ux-heuristics","Evaluate and improve interface usability using heuristic analysis. Use when the user mentions \"usability audit\", \"UX review\", \"users are confused\", \"heuristic evaluation\", \"form usability\", or \"navigation problems\". Covers Nielsen's 10 heuristics, severity ratings, and information architecture. For visual design fixes, see refactoring-ui. For conversion-focused audits, see cro-methodology.","https:\u002F\u002Fgithub.com\u002Fmistervaibhav\u002Fskills\u002Fblob\u002Fmain\u002Fux-heuristics\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":19},"01M79NVSG7AB3MSFT8Y6EEHG1B","unreal-packaging","Package and ship an Unreal Engine 5 project: the Platforms menu Package Project flow, build configurations (Development vs Shipping), cooking content, packaging settings and the Game Default Map, and command-line builds with RunUAT BuildCookRun. Use when packaging a build, making a shipping build, cooking content, configuring packaging settings, or when the user mentions package Unreal, cook content, shipping build, or BuildCookRun.","https:\u002F\u002Fgithub.com\u002Fmistervaibhav\u002Fskills\u002Fblob\u002Fmain\u002Funreal-packaging\u002FSKILL.md",[],[]]