Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var EmbeddedClaudeTemplate = scribe.AgentClaudeTemplate
EmbeddedClaudeTemplate is the generated agent-facing CLI contract.
var EmbeddedSkillTemplate = scribe.AgentSkillTemplate
EmbeddedSkillTemplate is the scribe SKILL.md template. It lives at the repo root (SKILL.md.tmpl) and is embedded via the root package.
var EmbeddedVersion = func() string { blob := append([]byte(embeddedRendererFormatVersion+"\n"), EmbeddedSkillTemplate...) blob = append(blob, []byte("\n---CLAUDE.md---\n")...) blob = append(blob, EmbeddedClaudeTemplate...) sum := sha256.Sum256(blob) return hex.EncodeToString(sum[:]) }()
Functions ¶
func EnsureScribeAgent ¶
EnsureScribeAgent installs or refreshes the embedded scribe skill in the canonical store. It never performs network I/O.
func InstallScribeAgent ¶
func InstallScribeAgent(store string, st *state.State, content []byte, version string) (bool, error)
InstallScribeAgent validates and installs a scribe skill payload into the canonical store and state using the provided version string.
func RenderSkillTemplate ¶
RenderSkillTemplate parses tmpl as a Go text/template and renders it with the same context that EnsureScribeAgent uses. Use this when upgrading from a fetched SKILL.md.tmpl so the bootstrap section is shown only when needed.
Types ¶
This section is empty.