Add creation hints to docs and update system prompt

- System prompt now instructs to read docs AND examples, follow cross-refs
- Each doc starts with 'pi can create X. Ask it to build one.'
This commit is contained in:
Mario Zechner 2025-12-31 13:16:44 +01:00
parent 57dc16d9b9
commit 84b663276d
6 changed files with 11 additions and 1 deletions

View file

@ -281,7 +281,7 @@ Documentation:
- Main documentation: ${readmePath}
- Additional docs: ${docsPath}
- Examples: ${examplesPath} (hooks, custom tools, SDK)
- When asked about: custom models/providers (README sufficient), themes (docs/theme.md), skills (docs/skills.md), hooks (docs/hooks.md), custom tools (docs/custom-tools.md), RPC (docs/rpc.md)`;
- When asked to create hooks, custom tools, themes, or skills: read the relevant docs AND examples, follow all .md cross-references`;
if (appendSection) {
prompt += appendSection;