51: Psy Reformation + Temporary HD = Doc Roc's Dusk Giant quickstep, or a lame version via inspire greatness
Fix: Add a small "check" to the max skill point determination so that if your temporary HD go away, the old skillpoint max is no re-enforced and feats - whether they have been turned into something else by psychic reformation or not - also disappear (similar to alertness feat via familiar DCFS)
I was under the impression that the quickstep didn't give you more skills or feats than usual, it just let you reassign your existing skill points (and feats) at a higher skill cap due to the increased HD. Unless I'm misreading you, your fix is just to remove the extra skill points given by the temporary HD, right? The problem is that your reassigned skill points are above your cap after it drops again from losing the HD. The fix should address that, such as by forcibly reassigning any skill points above your skill rank cap if your rank cap changes.
I will admit I didn't find that bit of TO aesthetically pleasing and don't have it well memorized. From memory:
1 it does temporarily give skills and feats.
2 by reassigning the skills over the max while the max is artificially high, you have a larger max than you would pre-buffing
3 when the HD go away, there is no "check" to make sure your regular skill point max is enforced
4 This now leaves you with skill points over what your max should be.
edit: nevermind you and I want the same thing, and it was I who was not clear. I have edited my fix and the quote. Thanks for pointing that out.
I think, technically, this trick doesn't work unless you gain an actual level while you have the extra HD. I think I wind up making an assumption about the rules somewhere in here that is incorrect though, so please help me find it (if it exists).
Psy Ref lets you remake choices made at previous levels. According to the rules, HD are levels. At the time that you would have made your skill point selections for previous levels (the ones that don't go away), you didn't have the temporary HD you have now, and thus you could not have stuck extra ranks into a skill. Since Psy Ref only lets you remake your choices from before, rather than flat our reassigning things now, those reassigned permanent skill points are still subject to the same limits they had before. If you reassign the skill points granted by the temporary HD, you'll lose them anyways when the HD go away. However, if you gain the temporary HD and then gain an actual level, you should be able to assign those skill points as you wish according to your newly inflated HD total/rank cap, and they should stay once the HD go away (since as you said, there's no check for rank maximum enforcement). This way also removes the need for a Psy Ref, too.