Skip to content

feat: configurable skill naming mode#9

Merged
Railly merged 1 commit intoRailly:mainfrom
trevorh:feature/naming-mode
Apr 2, 2026
Merged

feat: configurable skill naming mode#9
Railly merged 1 commit intoRailly:mainfrom
trevorh:feature/naming-mode

Conversation

@trevorh
Copy link
Copy Markdown
Contributor

@trevorh trevorh commented Mar 30, 2026

Summary

  • Adds a Display names setting with two modes:
    • Auto (default): derives name from frontmatter name field, then H1 heading, then filename
    • Filename only: always uses the filename, ignoring frontmatter and headings
  • Threads namingMode through all scan functions (scanPath, scanDirectoryWithSkillMd, scanFlatMd, scanMdc, parseSkillFile, extractName)
  • Minor CSS fix: .as-skill-header uses baseline alignment and .as-skill-name gets min-width: 0 for proper text truncation

Test plan

  • Open settings — verify "Display names" dropdown appears before the Marketplace section
  • Set to "Auto" — verify skills show frontmatter/heading names where available
  • Set to "Filename only" — verify all items show their filename
  • Switch back to "Auto" — verify names update immediately (triggers rescan)

🤖 Generated with Claude Code

Add a NamingMode setting that controls how skill names are derived:
- "auto" (default): uses frontmatter name, then H1 heading, then filename
- "filename": always uses the filename, ignoring frontmatter/headings

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Railly Railly force-pushed the feature/naming-mode branch from 7285a4d to 4acb6cb Compare April 2, 2026 05:06
@Railly Railly merged commit 44c605c into Railly:main Apr 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants