allod skill list is unreadable: full descriptions, no summary field #263
Labels
No labels
blocked
bug
decision
duplicate
enhancement
help wanted
invalid
landed?
question
ready-to-merge
stale
wontfix
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
allod/tools#263
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
allod skillprints each skill's full frontmatter description truncated near 100 characters, and the owner ruled the list unreadable: descriptions run several sentences, the lines wrap, anddelegate-implementationalone sets a 24-character name column. The list needs to be scannable by a human at a glance, which the description field cannot be — it is the agent's trigger text and stays long by design.Primary goals:
summary:frontmatter field — the one line humans see in the list, at most 70 characters.description:keeps its current role unchanged: the agent's trigger text, read in full viaallod skill <name>.summary:lists withdescriptiontruncated to the 70-character limit at a word boundary, so the format lands before any description is rewritten and skills can grow summaries independently.namelonger than 16 characters, or asummarylonger than 70, refuses the listing with exit 1, naming the SKILL.md path and the limit it exceeded. Limits the owner set so one long name cannot dominate the column again.Current state and specifics
cmd/allod/skill.goprintsname: description-truncated-to-100per skill viaprintSkillLines/briefDescription, withbriefLimit = 100.readSkillsreturnsskillEntry{name, description, dirName}; the summary field only needs to ride the same frontmatter parse (frontmatterValuealready handles block scalars).allod skill <name>(whole-file print) is unchanged and out of scope, as is--from.Scope
Rendering and limits in the list path plus tests in
cmd/allod/skill_test.go. Out of scope: writing the summaries themselves (allod/memory owns its frontmatter), any change todescription, and the whole-file print.