/** * SMI-1788: SkillDecomposer - Decompose large skills into sub-skills * * Transforms skills >500 lines into a main SKILL.md + sub-skills structure * following the Skillsmith optimization standard: * - Main SKILL.md: <500 lines, contains header + navigation + core content * - Sub-skills: Extracted sections loaded on-demand * * Part of the Skillsmith Optimization Layer for transforming * community skills into more performant versions. */ import type { SkillAnalysis } from './SkillAnalyzer.js'; export type { DecompositionResult, DecomposedSkill, SubSkill, DecompositionStats, SkillMetadata, DecomposerOptions, } from './SkillDecomposer.types.js'; import type { DecompositionResult, DecomposerOptions } from './SkillDecomposer.types.js'; export { DEFAULT_EXTRACT_KEYWORDS, sanitizeFilename } from './SkillDecomposer.helpers.js'; /** * Decompose a skill into main + sub-skills based on analysis * * @param content - The original SKILL.md content * @param analysis - Analysis from SkillAnalyzer * @param options - Decomposition options * @returns Decomposition result with main skill and sub-skills */ export declare function decomposeSkill(content: string, analysis: SkillAnalysis, options?: DecomposerOptions): DecompositionResult; /** * Parallelize sequential Task() calls in skill content * * @param content - The skill content * @returns Content with Task() calls batched for parallel execution */ export declare function parallelizeTaskCalls(content: string): string; declare const _default: { decomposeSkill: typeof decomposeSkill; parallelizeTaskCalls: typeof parallelizeTaskCalls; }; export default _default; //# sourceMappingURL=SkillDecomposer.d.ts.map