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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user