[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79M63X29DAHRJ4AZB2SDHSN":3,"skill-same:01M79M63X29DAHRJ4AZB2SDHSN":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},"01M79M63X29DAHRJ4AZB2SDHSN","fps-shooter",null,"Build a first-person shooter: move+mouse-look controller, hitscan or projectile shooting, weapons, health, and enemy AI. Use for an FPS, or tuning aim feel, time-to-kill, recoil, or spread.","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\u002Ffps-shooter\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: fps-shooter\ndescription: >\n  Build a first-person shooter: move+mouse-look controller, hitscan or projectile shooting, weapons,\n  health, and enemy AI. Use for an FPS, or tuning aim feel, time-to-kill, recoil, or spread.\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: advanced\n---\n\n# FPS Shooter\n\nA playbook for first-person shooters — the look\u002Fmove controller, the shooting model, weapon\nfeel, and combat. This is a **compositional** skill: it wires a 3D controller, input, and AI\ninto a shooter. It does not re-teach 3D nodes or raycasts; it defines the shooting model and\nthe feel knobs (TTK, recoil, spread) that decide whether the guns feel good.\n\n## When to use\n\n- Use when building a first-person game whose core verb is **aim and shoot** — arena shooter,\n  tactical FPS, PvE shooter, boomer-shooter.\n- Use when deciding hitscan vs. projectile, tuning time-to-kill, recoil, spread, or aim feel.\n\n**When *not* to use:** third-person\u002F2D shooting → reuse the shooting model here but build the\ncamera\u002Fcontroller from the relevant genre. Wave survival with towers → `tower-defense`.\nFor the camera\u002Fcharacter body itself, use `godot-3d-essentials` \u002F `unreal-cpp-gameplay`.\n\n## Core loop\n\n**Scan → acquire a target → aim and fire → confirm the kill (feedback) → reposition \u002F reload\n\u002F advance.** The whole experience rests on the *aim-and-fire* micro-loop feeling crisp:\nresponsive look, clear hit feedback, and a death that reads instantly.\n\n## Must-have systems\n\n1. **First-person controller** — move (WASD\u002Fstick) + mouse\u002Fstick look, gravity, jump\u002Fcrouch.\n2. **Camera** — eye-height view, configurable FOV and sensitivity, recoil kick.\n3. **Shooting model** — hitscan raycast and\u002For projectile spawn; one impact path for feedback.\n4. **Weapons + ammo** — damage, fire rate, magazine, reload, switching.\n5. **Health + damage** — HP, hit\u002Fheadshot multipliers, death; player and enemy share the model.\n6. **Enemy AI** — perceive → alert → attack → search; cover and reaction delays (`game-ai`).\n7. **Feedback** — hitmarkers, impact decals\u002Fparticles, hit sounds, screen shake, kill confirms.\n8. **Objectives** — what you do besides shoot: clear, capture, survive, escort.\n\n## Design knobs\n\n| Knob | Effect | Sane default |\n|------|--------|--------------|\n| Time-to-kill (TTK) | lethality, forgiveness | Tune dmg × fire-rate × HP together (refs). |\n| Hitscan vs projectile | aim skill type | Hitscan = flick; projectile = lead\u002Fdodge. |\n| Damage falloff | range limiting | Full to ~20 m, floor by ~60 m. |\n| Headshot multiplier | skill reward | ~1.5–2.0×. |\n| Recoil pattern | learnable kick | Fixed pattern > pure random. |\n| Spread (bloom) | suppress laser-accuracy | First shot accurate; grows while firing. |\n| Fire rate \u002F magazine \u002F reload | rhythm, downtime | Reload = vulnerability window. |\n| Mouse sensitivity \u002F FOV | comfort, readability | Always expose both as options. |\n| Aim assist (pad) | controller parity | Magnetism\u002Fslowdown near targets. |\n\n## Patterns\n\n### 1. Hitscan shot (instant ray, the workhorse)\n\n```python\n# Pseudocode. Cast from the camera; first hit takes damage scaled by range + headshot.\ndirection = apply_spread(camera.forward, current_spread)\nhit = raycast(camera.world_position, direction, max_dist=RANGE, mask=SHOOTABLE)\nif hit:\n    dmg = base_damage * falloff(hit.distance)\n    if hit.is_head: dmg *= HEADSHOT_MULT\n    hit.actor.take_damage(dmg)\n    spawn_impact_fx(hit.point, hit.normal)        # decal + sound + hitmarker\n```\n\n### 2. Projectile shot (dodgeable, leads the target)\n\n```python\n# Pseudocode. Spawn a moving body; it deals damage on its own collision.\np = spawn(projectile_scene, at=muzzle.world_position)\np.velocity = camera.forward * PROJECTILE_SPEED\np.on_hit   = lambda other, point: (other.take_damage(base_damage), explode_fx(point))\np.lifetime = RANGE \u002F PROJECTILE_SPEED             # despawn so shots don't live forever\n```\n\n### 3. Time-to-kill (balance the trio together)\n\n```python\n# Pseudocode. TTK falls out of HP, per-shot damage, and fire rate — tune as one system.\nshots_to_kill = ceil(target_hp \u002F damage_per_shot)\nttk_seconds   = (shots_to_kill - 1) \u002F fire_rate_per_second   # first shot at t=0\n```\n\n## Pitfalls \u002F failure modes\n\n- **Look tied to frame rate or unscaled by `dt`** → sensitivity changes with FPS. Look should\n  be driven by raw mouse delta; movement integration uses `dt` (see `physics-tuning`).\n- **Pure random recoil\u002Fspread** → feels uncontrollable and unfair. Use a learnable recoil\n  pattern; keep the first shot accurate.\n- **Hitscan with no falloff** → pistols snipe across the map. Add range-based damage falloff.\n- **No hit feedback** → players can't tell if shots land. Always show hitmarkers, impact FX, and\n  a distinct kill confirm.\n- **Mismatched TTK** → too low feels twitchy\u002Funfair; too high feels spongy. Tune damage,\n  fire rate, and HP as one system (Pattern 3).\n- **Trusting the client in multiplayer** → cheating and \"I shot first\" disputes. Keep authority\n  server-side; use lag compensation (refs) and defer netcode to the engine multiplayer skill.\n- **No FOV \u002F sensitivity options** → motion sickness and accessibility failures. Always expose them.\n\n## Composition (build it from these skills)\n\n- **Controller + camera:** `godot-3d-essentials` (Godot) or `unreal-cpp-gameplay` \u002F `unreal-blueprints`; Unity uses `unity-physics` + a character controller.\n- **Input:** `input-systems` (or `unreal-enhanced-input`) for look\u002Fmove, rebinding, and gamepad aim assist.\n- **Shooting physics:** `godot-physics` \u002F `unity-physics` for raycasts and projectile collision.\n- **Enemies:** `game-ai` with `unity-navmesh` \u002F `unreal-behavior-trees` \u002F Godot navigation.\n- **Camera & feel:** `camera-systems` for FOV\u002Frecoil kick and look smoothing; `game-feel` for hit-stop, screen shake, and impact juice.\n- **Polish:** `audio-design` for weapon\u002Fimpact sound; `shader-programming` for muzzle\u002Fimpact VFX.\n- **Process:** `prototype-fast` to validate aim feel before building content.\n\n## References\n\n- For hitscan vs. projectile trade-offs, damage falloff, recoil\u002Fspread, TTK math, hit\n  registration\u002Flag compensation, and enemy AI states, read `references\u002Fshooting-and-feel.md`.\n","# FPS Shooter\n\nA playbook for first-person shooters — the look\u002Fmove controller, the shooting model, weapon\nfeel, and combat. This is a **compositional** skill: it wires a 3D controller, input, and AI\ninto a shooter. It does not re-teach 3D nodes or raycasts; it defines the shooting model and\nthe feel knobs (TTK, recoil, spread) that decide whether the guns feel good.\n\n## When to use\n\n- Use when building a first-person game whose core verb is **aim and shoot** — arena shooter,\n  tactical FPS, PvE shooter, boomer-shooter.\n- Use when deciding hitscan vs. projectile, tuning time-to-kill, recoil, spread, or aim feel.\n\n**When *not* to use:** third-person\u002F2D shooting → reuse the shooting model here but build the\ncamera\u002Fcontroller from the relevant genre. Wave survival with towers → `tower-defense`.\nFor the camera\u002Fcharacter body itself, use `godot-3d-essentials` \u002F `unreal-cpp-gameplay`.\n\n## Core loop\n\n**Scan → acquire a target → aim and fire → confirm the kill (feedback) → reposition \u002F reload\n\u002F advance.** The whole experience rests on the *aim-and-fire* micro-loop feeling crisp:\nresponsive look, clear hit feedback, and a death that reads instantly.\n\n## Must-have systems\n\n1. **First-person controller** — move (WASD\u002Fstick) + mouse\u002Fstick look, gravity, jump\u002Fcrouch.\n2. **Camera** — eye-height view, configurable FOV and sensitivity, recoil kick.\n3. **Shooting model** — hitscan raycast and\u002For projectile spawn; one impact path for feedback.\n4. **Weapons + ammo** — damage, fire rate, magazine, reload, switching.\n5. **Health + damage** — HP, hit\u002Fheadshot multipliers, death; player and enemy share the model.\n6. **Enemy AI** — perceive → alert → attack → search; cover and reaction delays (`game-ai`).\n7. **Feedback** — hitmarkers, impact decals\u002Fparticles, hit sounds, screen shake, kill confirms.\n8. **Objectives** — what you do besides shoot: clear, capture, survive, escort.\n\n## Design knobs\n\n| Knob | Effect | Sane default |\n|------|--------|--------------|\n| Time-to-kill (TTK) | lethality, forgiveness | Tune dmg × fire-rate × HP together (refs). |\n| Hitscan vs projectile | aim skill type | Hitscan = flick; projectile = lead\u002Fdodge. |\n| Damage falloff | range limiting | Full to ~20 m, floor by ~60 m. |\n| Headshot multiplier | skill reward | ~1.5–2.0×. |\n| Recoil pattern | learnable kick | Fixed pattern > pure random. |\n| Spread (bloom) | suppress laser-accuracy | First shot accurate; grows while firing. |\n| Fire rate \u002F magazine \u002F reload | rhythm, downtime | Reload = vulnerability window. |\n| Mouse sensitivity \u002F FOV | comfort, readability | Always expose both as options. |\n| Aim assist (pad) | controller parity | Magnetism\u002Fslowdown near targets. |\n\n## Patterns\n\n### 1. Hitscan shot (instant ray, the workhorse)\n\n```python\n# Pseudocode. Cast from the camera; first hit takes damage scaled by range + headshot.\ndirection = apply_spread(camera.forward, current_spread)\nhit = raycast(camera.world_position, direction, max_dist=RANGE, mask=SHOOTABLE)\nif hit:\n    dmg = base_damage * falloff(hit.distance)\n    if hit.is_head: dmg *= HEADSHOT_MULT\n    hit.actor.take_damage(dmg)\n    spawn_impact_fx(hit.point, hit.normal)        # decal + sound + hitmarker\n```\n\n### 2. Projectile shot (dodgeable, leads the target)\n\n```python\n# Pseudocode. Spawn a moving body; it deals damage on its own collision.\np = spawn(projectile_scene, at=muzzle.world_position)\np.velocity = camera.forward * PROJECTILE_SPEED\np.on_hit   = lambda other, point: (other.take_damage(base_damage), explode_fx(point))\np.lifetime = RANGE \u002F PROJECTILE_SPEED             # despawn so shots don't live forever\n```\n\n### 3. Time-to-kill (balance the trio together)\n\n```python\n# Pseudocode. TTK falls out of HP, per-shot damage, and fire rate — tune as one system.\nshots_to_kill = ceil(target_hp \u002F damage_per_shot)\nttk_seconds   = (shots_to_kill - 1) \u002F fire_rate_per_second   # first shot at t=0\n```\n\n## Pitfalls \u002F failure modes\n\n- **Look tied to frame rate or unscaled by `dt`** → sensitivity changes with FPS. Look should\n  be driven by raw mouse delta; movement integration uses `dt` (see `physics-tuning`).\n- **Pure random recoil\u002Fspread** → feels uncontrollable and unfair. Use a learnable recoil\n  pattern; keep the first shot accurate.\n- **Hitscan with no falloff** → pistols snipe across the map. Add range-based damage falloff.\n- **No hit feedback** → players can't tell if shots land. Always show hitmarkers, impact FX, and\n  a distinct kill confirm.\n- **Mismatched TTK** → too low feels twitchy\u002Funfair; too high feels spongy. Tune damage,\n  fire rate, and HP as one system (Pattern 3).\n- **Trusting the client in multiplayer** → cheating and \"I shot first\" disputes. Keep authority\n  server-side; use lag compensation (refs) and defer netcode to the engine multiplayer skill.\n- **No FOV \u002F sensitivity options** → motion sickness and accessibility failures. Always expose them.\n\n## Composition (build it from these skills)\n\n- **Controller + camera:** `godot-3d-essentials` (Godot) or `unreal-cpp-gameplay` \u002F `unreal-blueprints`; Unity uses `unity-physics` + a character controller.\n- **Input:** `input-systems` (or `unreal-enhanced-input`) for look\u002Fmove, rebinding, and gamepad aim assist.\n- **Shooting physics:** `godot-physics` \u002F `unity-physics` for raycasts and projectile collision.\n- **Enemies:** `game-ai` with `unity-navmesh` \u002F `unreal-behavior-trees` \u002F Godot navigation.\n- **Camera & feel:** `camera-systems` for FOV\u002Frecoil kick and look smoothing; `game-feel` for hit-stop, screen shake, and impact juice.\n- **Polish:** `audio-design` for weapon\u002Fimpact sound; `shader-programming` for muzzle\u002Fimpact VFX.\n- **Process:** `prototype-fast` to validate aim feel before building content.\n\n## References\n\n- For hitscan vs. projectile trade-offs, damage falloff, recoil\u002Fspread, TTK math, hit\n  registration\u002Flag compensation, and enemy AI states, read `references\u002Fshooting-and-feel.md`.\n",{"name":5,"license":15,"metadata":24,"description":28,"compatibility":29},{"engine":25,"category":26,"difficulty":27},"none","genres","advanced","Build a first-person shooter: move+mouse-look controller, hitscan or projectile shooting, weapons, health, and enemy AI. Use for an FPS, or tuning aim feel, time-to-kill, recoil, or spread.\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 fps-shooter",{"tool":42,"command":43},"bunx","bunx skills add mistervaibhav\u002Fskills --skill fps-shooter",{"tool":45,"command":46},"pnpm","pnpm dlx skills add mistervaibhav\u002Fskills --skill fps-shooter","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmistervaibhav\u002Fskills\u002Fblob\u002Fmain\u002Ffps-shooter\u002FSKILL.md",true,[50],{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"references\u002Fshooting-and-feel.md","REFERENCE","参考文档",4479,"https:\u002F\u002Fgithub.com\u002Fmistervaibhav\u002Fskills\u002Fblob\u002Fmain\u002Ffps-shooter\u002Freferences\u002Fshooting-and-feel.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",[],[]]