MCPcopy Index your code
hub / github.com/shareAI-lab/learn-claude-code / build_system

Function build_system

s07_skill_loading/code.py:93–100  ·  view source on GitHub ↗

Build SYSTEM prompt with skill catalog injected at startup.

()

Source from the content-addressed store, hash-verified

91
92# s07: SYSTEM includes skill catalog (cheap — just names + descriptions)
93def build_system() -> str:
94 """Build SYSTEM prompt with skill catalog injected at startup."""
95 catalog = list_skills()
96 return (
97 f"You are a coding agent at {WORKDIR}. "
98 f"Skills available:\n{catalog}\n"
99 "Use load_skill to get full details when needed."
100 )
101
102SYSTEM = build_system()
103

Callers 1

code.pyFile · 0.70

Calls 1

list_skillsFunction · 0.70

Tested by

no test coverage detected