/** * Skill Splitter Module * Splits a monolithic skill into focused sub-skills based on topic sections. */ export interface SplitSkill { /** Suggested name for this sub-skill */ name: string; /** Section heading(s) this came from */ headings: string[]; /** Content body */ body: string; /** Full SKILL.md content with frontmatter */ fullContent: string; /** Estimated token count */ tokens: number; } export interface SplitResult { /** Original skill name */ originalName: string; /** Original token count */ originalTokens: number; /** Generated sub-skills */ skills: SplitSkill[]; /** Whether the split was meaningful */ worthSplitting: boolean; /** Reason if not worth it */ reason?: string; } /** * Split a skill into sub-skills based on topic clustering. * * @param skillPath — path to skill directory or SKILL.md * @param minSections — minimum sections per sub-skill (default 2) */ export declare function splitSkill(skillPath: string, minSections?: number): Promise; //# sourceMappingURL=splitter.d.ts.map