生半可に (superficially/half-heartedly) is a na-adjective used adverbially. The relative clause 仕事を生半可に知っている人 describes people with shallow knowledge. できれば (if possible) softens the wish. 避けたい (want to avoid) expresses a personal desire to maintain quality.