Employee was attempting to uncouple cars when the employee's foot slipped onto the rail and into the path of the flat car that the employee had just uncoupled from. Compliance with rules/regs, PPE, mining equip/systems not a factor. Miner proficiency may be a factor.