Our bridge is shaky like a skeleton. What kind of figurative language is this? What is the author trying to say?

This is a simile, as it directly compares the bridge to a skeleton using "like." The author is trying to convey that the bridge is unstable and frail, much like a skeleton would be.