Split flat docs/ into user-docs/ (guides, config, troubleshooting) and dev/ (ADRs, architecture, extension guides, proposals). Updated docs/README.md index to reflect new paths.
873 B
873 B
Context Files — Project Instructions
Pi loads instruction files automatically at startup:
AGENTS.md (or CLAUDE.md)
Pi looks for AGENTS.md or CLAUDE.md in:
~/.gsd/agent/AGENTS.md(global)- Every parent directory from cwd up to filesystem root
- Current directory
All matching files are concatenated and included in the system prompt. Use these for project conventions, common commands, architectural notes.
System Prompt Override
Replace the default system prompt entirely:
.gsd/SYSTEM.md(project)~/.gsd/agent/SYSTEM.md(global)
Append to it instead:
.gsd/APPEND_SYSTEM.md(project)~/.gsd/agent/APPEND_SYSTEM.md(global)
File Arguments
Include files directly in prompts from the CLI:
pi @prompt.md "Answer this"
pi -p @screenshot.png "What's in this image?"
pi @code.ts @test.ts "Review these files"