mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-19 02:17:09 +00:00
Validate config semantics (source path, sync modes, target paths) at save time (API + CLI) instead of failing at sync time with cryptic errors. Sync no longer auto-creates missing target directories — fails fast to catch typos like ~/.cusor/skills. Dry-run also validates paths. - ValidateConfig / ValidateProjectConfig with warnings + errors - handlePutConfig returns 400 for invalid configs, 200 + warnings - handleSync pre-checks via ValidateConfig - ensureRealTargetDir shared helper (replaces duplicated blocks) - UI: warning toast on config save, warning banners on sync/preview - Dashboard shows full absolute source path