UNPKG

ctrlshiftleft

Version:

AI-powered toolkit for embedding QA and security testing into development workflows

46 lines (45 loc) 1.32 kB
import { ChecklistItem } from '../types/checklistTypes'; interface ChecklistGeneratorOptions { type: string; format: string; } export interface ChecklistResult { items: ChecklistItem[]; itemCount: number; file: string; categories: string[]; securityItemsCount?: number; } export declare class ChecklistGenerator { private options; private llmService; constructor(options?: ChecklistGeneratorOptions); /** * Generate QA and security checklist from source code * @param sourcePath Path to source file or directory * @param outputDir Optional output directory to save the checklist * @returns Generated checklist result with additional metadata */ generateChecklist(sourcePath: string, outputDir?: string): Promise<ChecklistResult>; /** * Get all source files from a path (file or directory) */ private getSourceFiles; /** * Determine if a file should be skipped for checklist generation */ private shouldSkipFile; /** * Merge file checklist into main checklist */ private mergeChecklists; /** * Convert JSON checklist to markdown format */ private convertToMarkdown; /** * Generate markdown representation of checklist */ private generateMarkdown; } export {};