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

Function buildInlineReference

src/skills/bundled/claudeApi.ts:81–94  ·  view source on GitHub ↗
(
  filePaths: string[],
  content: SkillContent,
)

Source from the content-addressed store, hash-verified

79}
80
81function buildInlineReference(
82 filePaths: string[],
83 content: SkillContent,
84): string {
85 const sections: string[] = []
86 for (const filePath of filePaths.sort()) {
87 const md = content.SKILL_FILES[filePath]
88 if (!md) continue
89 sections.push(
90 `<doc path="${filePath}">\n${processContent(md, content).trim()}\n</doc>`,
91 )
92 }
93 return sections.join('\n\n')
94}
95
96const INLINE_READING_GUIDE = `## Reference Documentation
97

Callers 1

buildPromptFunction · 0.85

Calls 2

processContentFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected