fd958671ca
- Design doc with full spec (dense markdown format, hybrid AST+LLM pipeline, consumption model, stale data mitigation) - Implementation plan with 6 milestones and rollout strategy - TypeScript package structure with all source stubs - CLI entry point, formatter, discover, init, patch, validate, extract, merge - Pi SKILL.md with tool definitions and format documentation
24 lines
586 B
TypeScript
24 lines
586 B
TypeScript
export interface SkillConfig {
|
|
ignorePatterns: string[];
|
|
smallPackageThreshold: number;
|
|
llmModel: string;
|
|
contextBudget: number;
|
|
autoInjectPrompt: boolean;
|
|
}
|
|
|
|
export const DEFAULT_CONFIG: SkillConfig = {
|
|
ignorePatterns: [
|
|
'node_modules', '.git', 'dist', 'build', 'coverage',
|
|
'.next', '.venv', '__pycache__', '.DS_Store', '*.log'
|
|
],
|
|
smallPackageThreshold: 10,
|
|
llmModel: 'gpt-4o-mini',
|
|
contextBudget: 4000,
|
|
autoInjectPrompt: true
|
|
};
|
|
|
|
export function loadConfig(): SkillConfig {
|
|
// TODO: load from .pi-project-map.json or similar
|
|
return DEFAULT_CONFIG;
|
|
}
|