-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Description
Problem
When Claude CLI lists available slash commands, it shows a short preview of the first line of each command file. Currently, the first line of every generated file is the sync marker comment:
<!-- generated by CodeCanon/sync.sh | skill: start | adapter: claude | hash: 24909c1a | DO NOT EDIT -->
This means the preview looks like:
/start <!-- generated by CodeCanon/sync.sh | skill: start | adapter: claude | hash: 24909c1a | DO NOT ED...
/ship <!-- generated by CodeCanon/sync.sh | skill: ship | adapter: claude | hash: 3a68d170 | DO NOT EDI...
Instead of showing something useful about what the command does.
Solution
Move the sync marker comment from the first line to the last line of the generated file. This way the preview will show the invocation header (e.g., "You are executing the /start skill...") which is more meaningful.
Impact
- All generated command files will have the marker at the end instead of the beginning
- The sync hash detection logic needs to check the last line instead of the first
- No functional change to how skills work — purely a cosmetic/UX improvement
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels