What to build
Extract the single-skill parsing logic from scan_skill_dir into read_single_skill(), then add scan_one_skill(name) with embedded fallback.
Scope
scanner.rs: extract read_single_skill(skill_dir, scope, trust, config, skip_pending) from scan_skill_dir inline logic, refactor scan_skill_dir to call it
scan_one_skill(name, sources, config): iterate sources + fallback to embedded_skills::builtin_skills()
lib.rs: export scan_one_skill
- Tests: filesystem scan, embedded fallback, skip pending, max_file_size, canonicalize
Acceptance criteria
Blocked by
None — can start immediately.
What to build
Extract the single-skill parsing logic from
scan_skill_dirintoread_single_skill(), then addscan_one_skill(name)with embedded fallback.Scope
scanner.rs: extractread_single_skill(skill_dir, scope, trust, config, skip_pending)from scan_skill_dir inline logic, refactor scan_skill_dir to call itscan_one_skill(name, sources, config): iterate sources + fallback toembedded_skills::builtin_skills()lib.rs: exportscan_one_skillAcceptance criteria
Blocked by
None — can start immediately.