Expert patterns for Godot 2D physics including collision layers/masks, Area2D triggers, raycasting, and PhysicsDirectSpaceState2D queries. Use when implementing collision detection, trigger zones, line-of-sight systems, or manual physics queries. Trigger keywords: CollisionShape2D, CollisionPolygon2D, collision_layer, collision_mask, set_collision_layer_value, set_collision_mask_value, Area2D, body_entered, body_exited, RayCast2D, force_raycast_update, PhysicsPointQueryParameters2D, PhysicsShapeQueryParameters2D, direct_space_state, move_and_collide, move_and_slide.
$npx -y skills add thedivergentai/gd-agentic-skills --skill godot-2d-physicsInstalls into the current project.
Run `npx skills use "https://github.com/thedivergentai/gd-agentic-skills" --skill "thedivergentai/gd-agentic-skills/godot-2d-physics"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/thedivergentai/gd-agentic-skills" that are relevant to the current task. Run `npx skills add "https://github.com/thedivergentai/gd-agentic-skills"` and select the relevant skills, then follow their instructions.