feat(coding-agent): add configurable skills directories (#269)

This commit is contained in:
Nico Bailon 2025-12-21 11:48:40 -08:00 committed by GitHub
parent ace3563f0e
commit 70440f7591
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 186 additions and 39 deletions

View file

@ -285,12 +285,15 @@ export async function main(args: string[]) {
}
// Build system prompt
const skillsEnabled = !parsed.noSkills && settingsManager.getSkillsEnabled();
const skillsSettings = settingsManager.getSkillsSettings();
if (parsed.noSkills) {
skillsSettings.enabled = false;
}
const systemPrompt = buildSystemPrompt({
customPrompt: parsed.systemPrompt,
selectedTools: parsed.tools,
appendSystemPrompt: parsed.appendSystemPrompt,
skillsEnabled,
skillsSettings,
});
// Handle session restoration
@ -440,6 +443,7 @@ export async function main(args: string[]) {
fileCommands,
hookRunner,
customTools: loadedCustomTools,
skillsSettings,
});
// Route to appropriate mode