Towards a General Framework for HTN Modeling with LLMs