Skill import safety checks (reserved names, oversized or symlinked files) are now shared code instead of duplicated
The checks Claude Code runs when importing a skill (a packaged set of instructions) — rejecting reserved directory names, catching symlinked or oversized SKILL.md files, detecting embedded plugin markers, handling multiple SKILL.md variants, and guarding against symlinks at the project scope — were previously duplicated for the Codex import path and are now consolidated into one shared function. The copy step was also changed to skip skill.md during the raw directory copy, avoiding a race where the file could be written twice.
This is an internal cleanup: the same validation now applies consistently wherever skills are imported, and the double-write race fix should make imports slightly more reliable.