Skip to content

Feat/skill export 41 - #89

Open
derrickCcc wants to merge 2 commits into
ob-labs:mainfrom
derrickCcc:feat/skill-export-41
Open

Feat/skill export 41#89
derrickCcc wants to merge 2 commits into
ob-labs:mainfrom
derrickCcc:feat/skill-export-41

Conversation

@derrickCcc

Copy link
Copy Markdown

Summary

Solution Description

Smart_Chen added 2 commits July 16, 2026 11:30
- Backend: add update_skill, confirm_skill, skill_status methods to ContextSeek client
- Backend: add PUT /skill and POST /skill/confirm HTTP endpoints
- Frontend: add edit mode to SkillsPanel (name, description, body, parameters, tags)
- Frontend: add human confirmation action with confidence=1.0 and verified=True
- Frontend: add status badges (auto-generated / edited / confirmed)
- Frontend: add error messages for save/confirm failures
- i18n: add 17 new translation keys (zh/en/ja)
- Tests: 18 new tests (4 HTTP + 14 domain)
Add selective skill export with conflict strategy support to the Skills
page. Users can now export confirmed skills as SKILL.md files to a target
directory for use by other agents (Claude Code, Cursor, Codex, etc.).

Backend:
- Extend export_skills() with item_ids, conflict_strategy, require_confirmed
- Add POST /skill/export HTTP endpoint with Pydantic validation
- Implement overwrite/skip/rename conflict strategies for external files
- Selective export auto-disables prune to preserve other exports

Frontend:
- Add SkillExportDialog with skill selection, quick targets, directory picker
- Support Tauri native directory dialog + manual input fallback
- Remember last export directory via localStorage
- Show success (with target path) / error messages inline
- Disable unconfirmed skills from selection (double-gate with backend)

Tests:
- 19 unit tests for export_skills (selective, conflict, confirmed gate, etc.)
- 9 HTTP endpoint tests (success, validation, error handling)
- All 28 tests passing, TypeScript 0 errors

Closes ob-labs#41
@derrickCcc

Copy link
Copy Markdown
Author

#41

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant