style: format /skills output with bold names and code descriptions
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
f981c9016d
commit
67ec7ee08f
1 changed files with 3 additions and 3 deletions
|
|
@ -1338,12 +1338,12 @@ func (al *AgentLoop) handleSkillsCommand() string {
|
||||||
var sb strings.Builder
|
var sb strings.Builder
|
||||||
sb.WriteString("Available Skills\n\n")
|
sb.WriteString("Available Skills\n\n")
|
||||||
for _, s := range skillsList {
|
for _, s := range skillsList {
|
||||||
sb.WriteString(fmt.Sprintf(" %s (%s)\n", s.Name, s.Source))
|
sb.WriteString(fmt.Sprintf("**%s** (%s)\n", s.Name, s.Source))
|
||||||
if s.Description != "" {
|
if s.Description != "" {
|
||||||
sb.WriteString(fmt.Sprintf(" %s\n", s.Description))
|
sb.WriteString(fmt.Sprintf("`%s`\n", s.Description))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
sb.WriteString(fmt.Sprintf("\nUse: /skill <name> [message]"))
|
sb.WriteString("\nUse: /skill <name> [message]")
|
||||||
return sb.String()
|
return sb.String()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue