Skip to content

feat: split skills/ into discovery stubs and skill-data/#340

Merged
mglaman merged 2 commits into
mainfrom
feat/skill-data-directory
May 19, 2026
Merged

feat: split skills/ into discovery stubs and skill-data/#340
mglaman merged 2 commits into
mainfrom
feat/skill-data-directory

Conversation

@mglaman
Copy link
Copy Markdown
Owner

@mglaman mglaman commented May 19, 2026

Summary

  • Closes Change skills workflow to how agent-browser works #334 follow-up: enables npx skills add mglaman/drupalorg-cli
  • skills/ now contains only the thin drupalorg-cli discovery stub — the format npx skills expects
  • Full skill content moves to skill-data/ (embedded in phar, served by skill:get)
  • skill:install simplified: copies skills/drupalorg-cli/SKILL.md directly, no dynamic generation
  • box.json updated to bundle skill-data/ in the phar

Directory layout

skills/
  drupalorg-cli/SKILL.md        ← discovery stub (npx skills installs this)

skill-data/
  drupalorg-cli/SKILL.md        ← full CLI reference (skill:get serves this)
  drupalorg-cli/references/     ← workflow guides (skill:get --full)
  drupalorg-issue-search/
  drupalorg-issue-summary-update/
  drupalorg-work-on-issue/

Test plan

  • npx skills add mglaman/drupalorg-cli installs the discovery stub
  • drupalorg skill:install installs the discovery stub
  • drupalorg skill:get drupalorg-cli outputs full CLI reference
  • drupalorg skill:get drupalorg-cli --full includes reference files
  • drupalorg skill:get drupalorg-work-on-issue outputs workflow skill
  • CI passes

🤖 Generated with Claude Code

mglaman and others added 2 commits May 19, 2026 11:10
skills/ now contains only the thin discovery stub for drupalorg-cli,
making the repo compatible with `npx skills add mglaman/drupalorg-cli`.
Full skill content moves to skill-data/ which is embedded in the phar.

- skill:install copies skills/drupalorg-cli/SKILL.md directly (no generation)
- skill:get reads from skill-data/ (always current from the binary)
- box.json includes skill-data/ in the phar bundle

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Add hidden: true to mark stub as non-invokable in skill list.
Rewrite body to clearly identify it as a discovery stub, explain
why it points to skill:get, and list specialized skills.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@mglaman mglaman merged commit f29b0f0 into main May 19, 2026
9 checks passed
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.

Change skills workflow to how agent-browser works

1 participant