Re-TASK: Revisiting LLM Tasks from Capability, Skill, and Knowledge Perspectives