- You shall not have any other gods than Yahweh.
- You shall not make any carved images (i.e. idols).
- You shall not take Yahweh's name in vain.
- Keep the Sabbath day holy by refraining from work.
- Honor your father and mother.
- You shall not murder.
- You shall not commit adultery.
- You shall not steal.
- You shall not lie.
- You shall not covet your neighbor's wife or possessions.
- Respect Yahweh and have no other gods than him.
- You shall not persecute those who do not follow Yahweh.
- You shall not own other humans as slaves.
- You shall not kill or mistreat animals unnecessarily, or sacrifice them.
- Honor your parents except in cases of abuse.
- You shall not kill humans except in self-defense.
- You shall not commit rape or adultery.
- You shall not steal.
- You shall not lie with the intent of causing harm.
- You shall not treat others as inferior due to race, gender or sexual orientation.
I only needed to make relatively minor changes to the next bunch. Honoring one's parents is a good sentiment, but it could be misused to apply even to extreme cases. I made the "kill" commandment less vague by forbidding all cases except self-defense (which could apply to defensive wars as well). Adultery, while certainly immoral, pales in comparison to the evil of rape. I couldn't think of any obvious scenarios where it would unambiguously acceptable to steal, so that's the only commandment I left untouched.
I added "with the intent of causing harm" to the ninth commandment to allow for "white lies" that avoid offending people, and for scenarios such as lying to Nazis to hide Jews. And finally, as others have pointed out in the past, coveting isn't necessarily a bad thing at all. In fact, it's an extremely useful trait in a capitalist society. I replaced it with a broad commandment against racism, sexism and homophobia—wiping out centuries of intolerance against countless groups with just one sentence.
Are my revised Ten Commandments perfect? Certainly not—nor are they meant to be. But as with my reworked version of Genesis 1, I would expect an omniscient and all-good God to come up with something even better than a lowly human could. The fact that I could improve upon the holy commandments of the Almighty so easily suggests that they are not, in fact, what they claim to be.