Situation-specific manipulation patterns and sequence planning