The "skill rot" risk: Will AI make us stupid?

If AI writes the code, designs the bridge, and diagnoses the patient, what happens to human expertise? How 'Glass Box' tools prevent the atrophy of skill.