Intent can't really be proven conclusively. At best you're guessing as to the intent of the actor. Maybe I intended to show off my great knife skills by doing a trick and stopping an inch from the belly of the dude who was sleeping with my wife. ...
The exact rules vary by jurisdiction, so to make things concrete, I will use the law of California as an example. Let's consider the question of whether GuitarStv would be guilty of assault in California on these hypothetical facts.
In California, the
mens rea for assault "does not require a specific intent to injure the victim".
People v. Williams, 26 Cal4th 779, 788 (Ca Sup Ct 2001). Rather, the key question is whether the defendant has "actual knowledge of the facts sufficient to establish that the defendant's act by its nature will
probably and directly result in injury to another" (emphasis added).
Id., 26 Cal4th at 782. In other words, the key questions for
mens rea are whether (1) the defendant's actions were of such a nature so as to "probably" result in injury to the victim, and (2) if so, whether the defendant was aware that his actions were of that nature.
The exact details of GuitarStv's "knife ... trick" have not been specified but if it involves rapidly wieldy a knife toward the victim and only intending to stop right before collision, a prosecutor might be able to convince a jury that such an act would "probably" result in injury, and that GuitarStv would have been aware of that, given the patently dangerous nature of the activity. Or maybe not. It would depend on all the facts. In any event, GuitarStv's specific intent is not relevant to the question of whether his actions were assault.
California also has a statute that arguably provides a separate defence of "accident". Cal Penal Code § 26. However, various lower courts in California have held that, notwithstanding its arguable statutory basis as separate defence, "accident" is not really a defence but merely amounts to a claim that the prosecution has not proved the necessary
mens rea. See various citations in
People v. Anderson, 51 Cal4th 989 (Ca Sup Ct 2001). The Supreme Court of California has not expressed an explicit view on whether "accident" as a defence amounts to anything more than an argument that the prosecution has not proved
mena rea, although in
Anderson, they appeared to be sceptical of the existence of a separate "accident" defence.
(Note: I do not discuss any other possible crimes that might arise on the above hypothetical facts.)