An affectionate phrase used in a congratulatory fashion, primarily spoken towards someone whom you share a relationship, or potential relationship, with.
Person A: (Comes up with a good plan and executes it well) Person B: Sharp work, samurai.