[verb (potential/intransitive/negative plain)] + ように + [verb て-form] + ほしい
The structure ように~てほしい combines the purpose/goal expression ように ("so that") with ~てほしい ("I want someone to do"). Together, it expresses a desire for someone to perform an action so that a certain goal or outcome is achieved.
The goal phrase comes before ように, describing the desired outcome. The て-form verb + ほしい part states the action you want someone to take to bring about that outcome.
The clause before ように typically uses a potential verb, a negative form, or an intransitive verb – forms that describe a state or result rather than a deliberate action.
To make the expression more polite, replace ほしい with ほしいです or use ほしいのですが for a softer request. In casual speech, ほしいんだけど is common.
Be careful not to confuse this with ようにする (to make an effort to) or ようになる (to come to be able to). This pattern specifically uses ~てほしい to direct the desire toward another person's action.