adapt lego spike pybricks robots for robocup junior rescue line and advanced precision line courses. use when the user wants to handle gaps, intersections, sharp turns, obstacles, ramps, pickup zones, victim logic, or line-loss recovery in autonomous rescue-line style events.
Installation
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
adapt lego spike pybricks robots for robocup junior rescue line and advanced precision line courses. use when the user wants to handle gaps, intersections, sharp turns, obstacles, ramps, pickup zones, victim logic, or line-loss recovery in autonomous rescue-line style events.
Rescue Line Course Planner
Overview
Break rescue-line style courses into reusable perception and recovery modules instead of one continuous fragile loop.
Workflow
Identify the ruleset and course features.
precision line only.
rescue line with gaps.
branches or intersections.
obstacles, ramps, or victim zones.
Separate the course into modules.
line tracking.
line-loss recovery.
gap crossing.
intersection decision.
ramp mode.
pickup or drop logic if needed.
Use assets/rescue_line_modules.py as the module skeleton.
Define how the robot exits each event.
back on line.
new heading confirmed.
object loaded or released.
Return the result in this order.
course assumptions.
module list.
code structure.
prioritized test ladder.
Rules
Keep event detectors independent from the main controller when possible.
Recovery behavior must be explicit; do not rely on lucky reacquisition.
If the course includes ramps or obstacles, lower speed before adding logic.
When the user mentions victims or evacuation behavior, separate transport logic from line logic.
Resources
Use references/rescue-line-patterns.md for module design.
Use assets/rescue_line_modules.py as the code scaffold.