Class InstructionsLoader
Discovers and merges project instruction files (JDAI.md, CLAUDE.md, AGENTS.md, etc.) from the working directory up to the git root, and injects them into the system prompt.
public static class InstructionsLoader
- Inheritance
-
InstructionsLoader
- Inherited Members
Methods
Load(string?)
Scans from startDir up to the git root for instruction files.
Returns merged content from all found files, with JDAI.md content first.
Org-level instructions (from OrgConfigPath) are prepended.
public static InstructionsResult Load(string? startDir = null)
Parameters
startDirstring