felicitously

adverb
  1. in a way that is well-suited to the circumstances; appropriately and skillfully

Examples