MCPcopy Index your code
hub / github.com/codeaashu/claude-code / getSimpleToneAndStyleSection

Function getSimpleToneAndStyleSection

src/constants/prompts.ts:430–442  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

428}
429
430function getSimpleToneAndStyleSection(): string {
431 const items = [
432 `Only use emojis if the user explicitly requests it. Avoid using emojis in all communication unless asked.`,
433 process.env.USER_TYPE === 'ant'
434 ? null
435 : `Your responses should be short and concise.`,
436 `When referencing specific functions or pieces of code include the pattern file_path:line_number to allow the user to easily navigate to the source code location.`,
437 `When referencing GitHub issues or pull requests, use the owner/repo#123 format (e.g. anthropics/claude-code#100) so they render as clickable links.`,
438 `Do not use a colon before tool calls. Your tool calls may not be shown directly in the output, so text like "Let me read the file:" followed by a read tool call should just be "Let me read the file." with a period.`,
439 ].filter(item => item !== null)
440
441 return [`# Tone and style`, ...prependBullets(items)].join(`\n`)
442}
443
444export async function getSystemPrompt(
445 tools: Tools,

Callers 1

getSystemPromptFunction · 0.85

Calls 1

prependBulletsFunction · 0.85

Tested by

no test coverage detected