Table of Contents

Class InstructionsLoader

Namespace
JD.AI.Core.Agents
Assembly
JD.AI.Core.dll

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

startDir string

Returns

InstructionsResult