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:
dj-oyu 2026-02-20 18:14:27 +09:00
parent 67ec7ee08f
commit b00ca6e8f0

View file

@ -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]")