Skip to content

Add FTS5 skill search and pluggable external skill sources (schema v35-v36)#58

Open
juice094 wants to merge 2 commits into
mainfrom
feature/skill-fts-and-sources
Open

Add FTS5 skill search and pluggable external skill sources (schema v35-v36)#58
juice094 wants to merge 2 commits into
mainfrom
feature/skill-fts-and-sources

Conversation

@juice094
Copy link
Copy Markdown
Owner

@juice094 juice094 commented Jun 4, 2026

Summary

  • Schema v35: FTS5 virtual table skills_fts with BM25 ranking on skills (name, description, tags, category)
  • Schema v36: sync_sources / sync_log tables for external skill source audit trail
  • New MCP tool: devkit_skill_sync (Beta tier) — sync skills from GitHub repos or local directories
  • New CLI: devbase skill import — import skills from external sources
  • search_skills_text() now uses FTS5-first with LIKE fallback
  • MCP tools: 69 → 70
  • All 494 tests pass

Changed Files

Type Files
Migration v35_skill_fts.rs, v36_skill_sources.rs
Core registry.rs, migrate.rs, test_helpers.rs
Skill Runtime sources.rs (new)
MCP skill_sync.rs (new), mod.rs, tests.rs
CLI main.rs, commands/skill.rs
Config server.json, Cargo.toml
Docs README.md, CHANGELOG.md, AGENTS.md

Co-Authored-By: Claude Opus 4.7 noreply@anthropic.com

juice094 and others added 2 commits June 4, 2026 17:39
Phase 1 (schema v35): FTS5 virtual table over skills with BM25 ranking
- skills_fts with triggers for name/description/tags/category indexing
- search_skills_text() now uses FTS5-first with LIKE fallback
- BM25 weights: name=1.0, desc=0.8, tags=0.4, category=0.2

Phase 2 (schema v36): Pluggable external skill sources
- SkillSource trait with GitHubSource and LocalFileSource
- sync_sources and sync_log tables for audit trail
- devkit_skill_sync MCP tool (Beta tier)
- devbase skill import CLI subcommand

70 MCP tools (was 69). All 494 tests pass.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- README: 69→70 MCP tools, add FTS5 hybrid search highlight
- CHANGELOG: document FTS5 skills_fts (v35), SkillSource trait + sync
  audit (v36), devkit_skill_sync MCP tool, skill import CLI
- AGENTS: Schema 34→36, 69→70 tools, updated test counts

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
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