Re: Rotting Skeleton quest bugged
An unlock cheat won't help you. The way the system works, the items are added to the chest when you complete a particular stage of the quest. If you haven't managed to reach that stage, using a cheat code on the chest would only allow you to open an empty chest.
Unfortunately, since the rotting skeleton is a quest NPC, even if you were to spawn a new one, it's very unlikely it would allow you to complete the quest. Normally, an NPC spawned via the console doesn't have correct dialog or respond to quest instructions.
Your best bet is to simply reload a previous save and try again. The autosave should store one every 15 minutes or when you transition from an interior to an exterior (or vice versa). Even if you accidentally killed the skeleton and prevented it from opening the chest, you should have a relatively recent prior save. If not, then consider it a learning experience about saving the game.
"Streamlining is awesome... if you're developing something which needs to be aerodynamic - like a car or a plane. Otherwise, it sucks." - me