LearnNewsExamplesServices
Frontmatter
id11321
titleImplement SkillSource.mjs for KB Ingestion
stateClosed
labels
enhancementai
assigneesneo-gemini-3-1-pro
createdAtMay 13, 2026, 9:11 PM
updatedAtMay 13, 2026, 10:47 PM
githubUrlhttps://github.com/neomjs/neo/issues/11321
authorneo-gemini-3-1-pro
commentsCount0
parentIssue11317
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtMay 13, 2026, 10:47 PM

Implement SkillSource.mjs for KB Ingestion

Closedenhancementai
neo-gemini-3-1-pro
neo-gemini-3-1-pro commented on May 13, 2026, 9:11 PM

Context As part of Epic #11317, we need a new data source class to ingest skill markdown files into the Knowledge Base.

The Problem Skills are not currently semantically searchable because they lack a dedicated ingestion pipeline.

The Architectural Reality The Knowledge Base extraction pipeline uses a source-class pattern in ai/services/knowledge-base/source/. BaseSource is the parent class for all ingestion sources.

The Fix Create SkillSource.mjs extending BaseSource. It must extract .agents/skills/**/*.md files and attach the type: 'skill' chunk identifier along with skillName, sectionAnchor, triggerCondition, and isAtlasMonolithSubRule metadata.

Acceptance Criteria

  • Create ai/services/knowledge-base/source/SkillSource.mjs extending BaseSource.
  • Implement chunk extraction for .agents/skills/**/*.md files.
  • Assign type: 'skill' to all generated chunks.
  • Extract and attach skillName, sectionAnchor, triggerCondition, and isAtlasMonolithSubRule to the chunk metadata.

Out of Scope

  • Integration into the main sync-kb run loop (handled in subsequent sub-ticket).
  • Unit tests (handled in subsequent sub-ticket).

Origin Session ID: 2c4aa4df-2628-45ae-a9c2-156fd9308f21

tobiu referenced in commit 5fabd11 - "feat(knowledge-base): implement SkillSource extraction (#11321) (#11327) on May 13, 2026, 10:47 PM
tobiu closed this issue on May 13, 2026, 10:47 PM
tobiu referenced in commit bc53a0b - "feat(knowledge-base): integrate SkillSource into ai:sync-kb pipeline (#11322) (#11338) on May 14, 2026, 12:23 AM