/** * Merge safe skills into the main database * * This script merges skills from a safe-skills.json file (security scan output) * with full skill data from imported-skills.json into a SQLite database. * Only adds skills that don't already exist (by repo_url). * * Usage: * npx tsx packages/core/src/scripts/merge-skills.ts [options] * * Required Arguments: * --safe-skills, -s Path to safe skills JSON (from security scan) * --imported-skills, -i Path to imported skills JSON (full skill data) * --database, -d Path to target SQLite database * * Options: * --dry-run, -n Preview changes without modifying database * --verbose, -v Show detailed per-skill output * --help, -h Show usage information * * Example: * npx tsx packages/core/src/scripts/merge-skills.ts \ * -s data/safe-skills.json \ * -i data/imported-skills.json \ * -d data/skills.db \ * --dry-run */ import type { Skill, SafeSkillRef, SafeSkillsFile, ImportedSkillsFile, MergeOptions, MergeReport } from './merge-types.js'; export type { Skill, SafeSkillRef, SafeSkillsFile, ImportedSkillsFile, MergeOptions, MergeReport }; /** * Main merge logic */ export declare function mergeSkills(options: MergeOptions): Promise; //# sourceMappingURL=merge-skills.d.ts.map