Initial commit: pi-project-map skill scaffolding

- 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
This commit is contained in:
2026-06-09 17:45:19 +02:00
commit fd958671ca
20 changed files with 4667 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
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;
}