Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AgentsMdContent string
Embed AGENTS.md from agents/
Functions ¶
func CopyDocsToProject ¶
CopyDocsToProject copies the embedded docs folder to .archie/docs/ in the project
func GetSchemaTemplate ¶
GetSchemaTemplate 获取指定的 schema 模板内容 templateName: "background.md", "feature.md" 等
func LoadCommands ¶
func LoadCommands() (map[string]*CommandTemplate, error)
LoadCommands loads all command templates from the embedded commands folder Returns a map where key is filename (without extension) and value is CommandTemplate
func LoadSubAgents ¶
LoadSubAgents loads all subagent templates from the embedded subagents folder Returns a map where key is filename and value is file content
Types ¶
type CommandTemplate ¶
type CommandTemplate struct {
// Metadata 包含所有非 content 的字段
Metadata map[string]interface{} `yaml:",inline"`
// Content 是命令的正文内容
Content string `yaml:"content"`
}
CommandTemplate 表示一个命令模板的结构
Click to show internal directories.
Click to hide internal directories.