Restore the deleted skill and confirm it appears in Skills.
Confirm validation messages are visible and save is disabled while invalid.
Privacy Acceptance
Import preview does not reveal full home paths in response payloads.
GitHub import preview does not execute scripts.
Archive import rejects path traversal.
Supporting-file previews are bounded and sanitized.
Checkpoint Recommendation
Checkpoint as feat(skills): add lifecycle templates and import preview only after tests, build, and browser smoke pass.
Implementation Evidence
Added template, import preview/apply, local trash/restore, validation, and quality modules with focused assertion tests.
Updated create/edit/delete flows so skill changes preserve official-style frontmatter, require exact delete confirmation, move deleted skills to an app-controlled local backup, refuse unsafe restore overwrites, and mark the RAG index stale.
Updated Skills, Editor, and Settings UI for template selection, import preview/apply, invalid-preview blocking, restore affordance, semantic skill row buttons, and quality categories.
Hardened import handling for oversized GitHub responses, zip entries with unsafe inflated output size, invalid preview apply, and non-local endpoint access.
Live browser smoke used a temporary workspace and confirmed /settings, /chat, template selection, invalid preview apply blocking, local import preview/apply, duplicate overwrite typed confirmation, exact-name delete, restore, stale-index notice, and zero console errors.