/** * SMI-1788: SkillAnalyzer - Analyze skills for optimization patterns * * Detects optimization opportunities based on: * - Line count (>500 lines suggests decomposition) * - Tool usage patterns (heavy tool usage suggests subagent) * - Sequential Task() calls (can be parallelized) * - Large examples sections (can use progressive disclosure) * * Part of the Skillsmith Optimization Layer for transforming * community skills into more performant versions. */ export type { SkillAnalysis, ToolUsageAnalysis, TaskPatternAnalysis, ExtractableSection, OptimizationRecommendation, ParsedSection, ConfidenceLevel, } from './SkillAnalyzer.types.js'; import type { SkillAnalysis } from './SkillAnalyzer.types.js'; export { TOOL_PATTERNS, THRESHOLDS, escapeRegex, getConfidenceLevel, } from './SkillAnalyzer.helpers.js'; /** * Analyze a skill's content for optimization opportunities * * @param content - The full SKILL.md content * @returns Analysis of optimization potential * @remarks The lineCount for an empty string returns 1, matching standard * String.split('\n') behavior where ''.split('\n') yields [''] */ export declare function analyzeSkill(content: string): SkillAnalysis; /** * Quick check if a skill needs transformation without full analysis * * @param content - The full SKILL.md content * @returns Whether quick transformation check passed */ export declare function quickTransformCheck(content: string): boolean; declare const _default: { analyzeSkill: typeof analyzeSkill; quickTransformCheck: typeof quickTransformCheck; }; export default _default; //# sourceMappingURL=SkillAnalyzer.d.ts.map