The story cards are the main input to the XP planning process.
Once the story cards have been developed, the development team breaks there down into tasks and estimates the effort and resources required for implementing each task. This usually involves discussions with the customer to refine the requirements. 53