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
8f467e8ed1
commit
44ca457ddc
1 changed files with 3 additions and 3 deletions
|
|
@ -1338,12 +1338,12 @@ func (al *AgentLoop) handleSkillsCommand() string {
|
|||
var sb strings.Builder
|
||||
sb.WriteString("Available Skills\n\n")
|
||||
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 != "" {
|
||||
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()
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue