fix(coding-agent): clarify pi docs path resolution closes #4752

This commit is contained in:
Mario Zechner
2026-05-19 18:01:10 +02:00
parent b944827623
commit 48b6510c18
3 changed files with 14 additions and 0 deletions

View File

@@ -143,6 +143,7 @@ Pi documentation (read only when the user asks about pi itself, its SDK, extensi
- Main documentation: ${readmePath}
- Additional docs: ${docsPath}
- Examples: ${examplesPath} (extensions, custom tools, SDK)
- When reading pi docs or examples, resolve docs/... under Additional docs and examples/... under Examples, not the current working directory
- When asked about: extensions (docs/extensions.md, examples/extensions/), themes (docs/themes.md), skills (docs/skills.md), prompt templates (docs/prompt-templates.md), TUI components (docs/tui.md), keybindings (docs/keybindings.md), SDK integrations (docs/sdk.md), custom providers (docs/custom-provider.md), adding models (docs/models.md), pi packages (docs/packages.md)
- When working on pi topics, read the docs and examples, and follow .md cross-references before implementing
- Always read pi .md files completely and follow links to related docs (e.g., tui.md for TUI API details)`;