Thanks for posting this.
I have been there and never want to go back but at the same time I am glad I have that learning experience so I can never end up being that person again.
I will say that I did not feel talking to HR would help. I went to my manager/supervisor to resolve some of what I felt were key issues to have it fall on deaf ears or half hearted that where only partly kept promises and in the end I just stopped trying to do more than the bear minimum.
I became a clock watcher and more than once I was a belligerent ass to my supervisor.
I will own my mistakes in how I acted but I will also stand firm that I was a good employee who was let stagnate and get rusty by the powers that be too focused on little skill boxes or bars to see the wood from the trees.
I am glad I got out before I got to the point where I grabbed for hardware or just quit on the spot leaving me with no option but to take the first role I could. That taught me alot about myself and what I need to do in the future to protect myself.