MCPcopy Create free account
hub / github.com/codeaashu/claude-code / getSimpleIntroSection

Function getSimpleIntroSection

src/constants/prompts.ts:175–184  ·  view source on GitHub ↗
(
  outputStyleConfig: OutputStyleConfig | null,
)

Source from the content-addressed store, hash-verified

173}
174
175function getSimpleIntroSection(
176 outputStyleConfig: OutputStyleConfig | null,
177): string {
178 // eslint-disable-next-line custom-rules/prompt-spacing
179 return `
180You are an interactive agent that helps users ${outputStyleConfig !== null ? 'according to your "Output Style" below, which describes how you should respond to user queries.' : 'with software engineering tasks.'} Use the instructions below and the tools available to you to assist the user.
181
182${CYBER_RISK_INSTRUCTION}
183IMPORTANT: You must NEVER generate or guess URLs for the user unless you are confident that the URLs are for helping the user with programming. You may use URLs provided by the user in their messages or local files.`
184}
185
186function getSimpleSystemSection(): string {
187 const items = [

Callers 1

getSystemPromptFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected