Fix system prompt: add specific doc/example paths for each topic

This commit is contained in:
Mario Zechner
2025-12-31 13:17:25 +01:00
parent c0aa4e3993
commit a9e1cdabb3
@@ -281,7 +281,8 @@ Documentation:
- Main documentation: ${readmePath}
- Additional docs: ${docsPath}
- Examples: ${examplesPath} (hooks, custom tools, SDK)
- When asked to create hooks, custom tools, themes, or skills: read the relevant docs AND examples, follow all .md cross-references`;
- When asked to create: hooks (docs/hooks.md, examples/hooks/), custom tools (docs/custom-tools.md, docs/tui.md, examples/custom-tools/), themes (docs/theme.md), skills (docs/skills.md)
- Always read the doc, examples, AND follow .md cross-references before implementing`;
if (appendSection) {
prompt += appendSection;