MCPcopy Index your code
hub / github.com/getsentry/XcodeBuildMCP / readSkillContent

Function readSkillContent

src/cli/commands/init.ts:68–74  ·  view source on GitHub ↗
(skillType: SkillType)

Source from the content-addressed store, hash-verified

66}
67
68function readSkillContent(skillType: SkillType): string {
69 const sourcePath = getSkillSourcePath(skillType);
70 if (!fs.existsSync(sourcePath)) {
71 throw new Error(`Skill source not found: ${sourcePath}`);
72 }
73 return fs.readFileSync(sourcePath, 'utf8');
74}
75
76async function promptConfirm(question: string): Promise<boolean> {
77 if (!isInteractiveTTY()) {

Callers 2

installSkillFunction · 0.85
registerInitCommandFunction · 0.85

Calls 2

getSkillSourcePathFunction · 0.85
existsSyncMethod · 0.80

Tested by

no test coverage detected