Refactor whalecat prompt