style: use code blocks for skill descriptions in /skills output
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
67ec7ee08f
commit
b00ca6e8f0
1 changed files with 1 additions and 1 deletions
|
|
@ -1340,7 +1340,7 @@ func (al *AgentLoop) handleSkillsCommand() string {
|
||||||
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("```\n%s\n```\n", s.Description))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
sb.WriteString("\nUse: /skill <name> [message]")
|
sb.WriteString("\nUse: /skill <name> [message]")
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue