/** * Skill Quality Scoring Module * 4-dimension quality assessment for skills * * Dimensions: * Structure (30%) — frontmatter, required fields, directory layout * Clarity (30%) — description quality, headings, examples, "when to use" * Specificity (30%) — actionable steps, code examples, numbered instructions * Advanced (10%) — scripts, references, assets, anti-patterns, changelog */ export interface QualityScore { /** Overall weighted score 0–100 */ overall: number; /** Structure dimension 0–100 */ structure: number; /** Clarity dimension 0–100 */ clarity: number; /** Specificity dimension 0–100 */ specificity: number; /** Advanced dimension 0–100 */ advanced: number; /** Individual check results */ details: ScoreDetail[]; /** Human-readable grade */ grade: string; } export interface ScoreDetail { dimension: 'structure' | 'clarity' | 'specificity' | 'advanced'; check: string; passed: boolean; points: number; maxPoints: number; tip?: string; } /** * Assess the quality of a skill at the given path. * @param skillPath — path to skill directory or SKILL.md file */ export declare function assessQuality(skillPath: string): Promise; /** * Format a quality score as a colored bar string (for terminal output). */ export declare function formatScoreBar(score: number, width?: number): string; /** * Get color name for a score (for chalk usage). */ export declare function getScoreColor(score: number): 'green' | 'yellow' | 'red'; //# sourceMappingURL=quality.d.ts.map