In my opinion, in both cases I'd use the Present Perfect Continuous - the actions that took place a very short time ago are normally described by that tense - you focus on the action itself, not on the result of the action:
Look, the streets are wet. - It has been raining.
Why are your hands dirty? - I have been repairing my bike.
Bear in mind I'm not a teacher!
Student or Learner