MCPcopy
hub / github.com/kodu-ai/claude-coder / formatCustomInstructions

Method formatCustomInstructions

extension/src/api/api-handler.ts:87–98  ·  view source on GitHub ↗

* Formats custom instructions with proper sectioning * @returns Formatted custom instructions string

()

Source from the content-addressed store, hash-verified

85 * @returns Formatted custom instructions string
86 */
87 public formatCustomInstructions(): string | undefined {
88 if (!this.customInstructions?.trim()) {
89 return undefined
90 }
91
92 return dedent`====
93USER'S CUSTOM INSTRUCTIONS
94The following additional instructions are provided by the user. They should be followed and given precedence in case of conflicts with previous instructions.
95
96${this.customInstructions.trim()}
97`
98 }
99
100 /**
101 * Creates a streaming API request

Callers 1

executeRequestMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected