Skip to content

fix: migrate Claude distribution from commands/ to skills/ format (#78)#93

Draft
ktwu01 wants to merge 1 commit intomainfrom
fix/78-migrate-skills-format
Draft

fix: migrate Claude distribution from commands/ to skills/ format (#78)#93
ktwu01 wants to merge 1 commit intomainfrom
fix/78-migrate-skills-format

Conversation

@ktwu01
Copy link
Copy Markdown
Collaborator

@ktwu01 ktwu01 commented Apr 24, 2026

Summary

  • Migrated Claude Code install targets from legacy ~/.claude/commands/ + ~/.claude/utils/ to standard ~/.claude/skills/ format
  • store-local.js now preserves YAML frontmatter for Claude (stopped stripping it), matching Codex behavior
  • Added backward-compatible cleanup of legacy paths in postinstall
  • Updated all script path references in command files
  • Codex side untouched (already using correct format)

Files changed: postinstall.js, postuninstall.js, store-local.js, researchskills-extract.md, SKILL.md, README.md

Fixes #78

🤖 Generated with Claude Code

…tandard skills/ format

- postinstall.js: install bootstrap to ~/.claude/skills/researchskills-extract/SKILL.md,
  convert to ~/.claude/skills/researchskills-convert/SKILL.md, helpers to
  ~/.claude/skills/researchskills-extract/scripts/; add cleanup of legacy
  ~/.claude/commands/ and ~/.claude/utils/ paths
- postuninstall.js: update cleanup targets to new skills/ paths; also clean
  legacy paths if they still exist
- store-local.js: output extracted skills to ~/.claude/skills/researchskills/<slug>/SKILL.md
  instead of ~/.claude/commands/researchskills/<slug>.md; keep YAML frontmatter
  (stop stripping via extractBody) and add description field like Codex path
- researchskills-extract.md: update all ~/.claude/utils/ references to
  ~/.claude/skills/researchskills-extract/scripts/
- SKILL.md, README.md: update path references

Closes #78

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@ktwu01 ktwu01 requested a review from HHHHHejia as a code owner April 24, 2026 18:05
@ktwu01 ktwu01 marked this pull request as draft April 25, 2026 06:32
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.

Migrate Claude distribution from legacy commands/ to standard skills/ format

1 participant