Skip to content

feat(tsdown): migrate from vendor sync to skills.sh#77

Merged
amondnet merged 1 commit intomainfrom
feat/tsdown-vendor-to-skills-sh
Mar 6, 2026
Merged

feat(tsdown): migrate from vendor sync to skills.sh#77
amondnet merged 1 commit intomainfrom
feat/tsdown-vendor-to-skills-sh

Conversation

@amondnet
Copy link
Contributor

@amondnet amondnet commented Mar 6, 2026

Summary

  • Replace Type 2 vendor submodule (vendor/tsdown) with skills.sh-managed skill
  • Install skill directly via bunx skills add rolldown/tsdown --skill tsdown
  • Move skill files from plugins/tsdown/skills/tsdown/plugins/tsdown/.agents/skills/tsdown/
  • Update plugin.json to use "skills": "./.agents/skills/" field

Changes

  • Remove vendor/tsdown git submodule (rolldown/tsdown)
  • Remove tsdown entry from scripts/meta.ts vendors
  • Remove tsdown from SKILL_TO_PLUGIN in scripts/cli.ts
  • Add plugins/tsdown/skills-lock.json (managed by skills.sh)
  • Update plugins/tsdown/.claude-plugin/plugin.json: author, homepage, repository, skills field

Why

Skills.sh approach is preferred over vendor sync because:

  • Skills are updated via bunx skills update without needing a git submodule
  • No need to run bun scripts/cli.ts sync for updates
  • Plugin directly sources from rolldown/tsdown's official skills

Test

/plugin install tsdown@pleaseai

To update in the future:

cd plugins/tsdown && bunx skills update

Summary by cubic

Migrated tsdown from a vendor submodule to a skills.sh-managed skill for simpler updates and a direct source from rolldown/tsdown. This removes vendor sync and updates the plugin to load skills from .agents/skills.

  • Refactors

    • Removed vendor/tsdown and its .gitmodules entry.
    • Moved skill files to plugins/tsdown/.agents/skills/tsdown and added skills-lock.json.
    • Updated plugin.json (author/homepage/repository) and set "skills": "./.agents/skills/"; cleaned tsdown entries from scripts/meta.ts and scripts/cli.ts.
  • Migration

    • Install for testing: /plugin install tsdown@pleaseai
    • Update later: cd plugins/tsdown && bunx skills update

Written for commit 5628950. Summary will update on new commits.

Replace Type 2 vendor submodule with skills.sh-managed skill.

- Remove vendor/tsdown submodule (rolldown/tsdown)
- Remove tsdown entry from scripts/meta.ts vendors
- Remove tsdown from SKILL_TO_PLUGIN in scripts/cli.ts
- Install skill via `bunx skills add rolldown/tsdown --skill tsdown`
- Move skills from skills/tsdown/ to .agents/skills/tsdown/
- Update plugin.json: add "skills" field, fix author/homepage/repository
@vercel
Copy link

vercel bot commented Mar 6, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
claude-code-plugins Ready Ready Preview, Comment Mar 6, 2026 2:31am

Request Review

@amondnet amondnet self-assigned this Mar 6, 2026
@amondnet amondnet merged commit 0aa8a74 into main Mar 6, 2026
7 checks passed
@amondnet amondnet deleted the feat/tsdown-vendor-to-skills-sh branch March 6, 2026 02:32
@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request refactors how the tsdown skill is integrated and managed within the project. By transitioning from a Git submodule to skills.sh for dependency handling, the update process for tsdown is simplified, eliminating the need for manual submodule operations and custom sync scripts. This change ensures the plugin directly consumes updates from the official rolldown/tsdown source, improving maintainability and consistency.

Highlights

  • Dependency Management Migration: The tsdown skill has been migrated from a Git submodule (vendor/tsdown) to being managed by skills.sh, streamlining future updates.
  • File Relocation: All tsdown skill files were moved from plugins/tsdown/skills/tsdown/ to plugins/tsdown/.agents/skills/tsdown/ to align with the new skills.sh structure.
  • Plugin Configuration Update: The plugins/tsdown/.claude-plugin/plugin.json file was updated to reflect new author and repository information, and to include a skills field pointing to the new skill directory.
  • Cleanup of Old References: Entries related to the tsdown submodule were removed from .gitmodules, scripts/meta.ts, and scripts/cli.ts.
  • New Lock File Introduced: A plugins/tsdown/skills-lock.json file was added to manage the tsdown skill's dependencies via skills.sh.
Changelog
  • .gitmodules
    • Removed the tsdown submodule configuration.
  • plugins/tsdown/.agents/skills/tsdown/README.md
    • Renamed from plugins/tsdown/skills/tsdown/README.md.
  • plugins/tsdown/.agents/skills/tsdown/SKILL.md
    • Renamed from plugins/tsdown/skills/tsdown/SKILL.md.
  • plugins/tsdown/.agents/skills/tsdown/references/README.md
    • Renamed from plugins/tsdown/skills/tsdown/references/README.md.
  • plugins/tsdown/.agents/skills/tsdown/references/advanced-ci.md
    • Renamed from plugins/tsdown/skills/tsdown/references/advanced-ci.md.
  • plugins/tsdown/.agents/skills/tsdown/references/advanced-hooks.md
    • Renamed from plugins/tsdown/skills/tsdown/references/advanced-hooks.md.
  • plugins/tsdown/.agents/skills/tsdown/references/advanced-plugins.md
    • Renamed from plugins/tsdown/skills/tsdown/references/advanced-plugins.md.
  • plugins/tsdown/.agents/skills/tsdown/references/advanced-programmatic.md
    • Renamed from plugins/tsdown/skills/tsdown/references/advanced-programmatic.md.
  • plugins/tsdown/.agents/skills/tsdown/references/advanced-rolldown-options.md
    • Renamed from plugins/tsdown/skills/tsdown/references/advanced-rolldown-options.md.
  • plugins/tsdown/.agents/skills/tsdown/references/guide-getting-started.md
    • Renamed from plugins/tsdown/skills/tsdown/references/guide-getting-started.md.
  • plugins/tsdown/.agents/skills/tsdown/references/guide-migrate-from-tsup.md
    • Renamed from plugins/tsdown/skills/tsdown/references/guide-migrate-from-tsup.md.
  • plugins/tsdown/.agents/skills/tsdown/references/option-cjs-default.md
    • Renamed from plugins/tsdown/skills/tsdown/references/option-cjs-default.md.
  • plugins/tsdown/.agents/skills/tsdown/references/option-cleaning.md
    • Renamed from plugins/tsdown/skills/tsdown/references/option-cleaning.md.
  • plugins/tsdown/.agents/skills/tsdown/references/option-config-file.md
    • Renamed from plugins/tsdown/skills/tsdown/references/option-config-file.md.
  • plugins/tsdown/.agents/skills/tsdown/references/option-css.md
    • Renamed from plugins/tsdown/skills/tsdown/references/option-css.md.
  • plugins/tsdown/.agents/skills/tsdown/references/option-dependencies.md
    • Renamed from plugins/tsdown/skills/tsdown/references/option-dependencies.md.
  • plugins/tsdown/.agents/skills/tsdown/references/option-dts.md
    • Renamed from plugins/tsdown/skills/tsdown/references/option-dts.md.
  • plugins/tsdown/.agents/skills/tsdown/references/option-entry.md
    • Renamed from plugins/tsdown/skills/tsdown/references/option-entry.md.
  • plugins/tsdown/.agents/skills/tsdown/references/option-exe.md
    • Renamed from plugins/tsdown/skills/tsdown/references/option-exe.md.
  • plugins/tsdown/.agents/skills/tsdown/references/option-lint.md
    • Renamed from plugins/tsdown/skills/tsdown/references/option-lint.md.
  • plugins/tsdown/.agents/skills/tsdown/references/option-log-level.md
    • Renamed from plugins/tsdown/skills/tsdown/references/option-log-level.md.
  • plugins/tsdown/.agents/skills/tsdown/references/option-minification.md
    • Renamed from plugins/tsdown/skills/tsdown/references/option-minification.md.
  • plugins/tsdown/.agents/skills/tsdown/references/option-output-directory.md
    • Renamed from plugins/tsdown/skills/tsdown/references/option-output-directory.md.
  • plugins/tsdown/.agents/skills/tsdown/references/option-output-format.md
    • Renamed from plugins/tsdown/skills/tsdown/references/option-output-format.md.
  • plugins/tsdown/.agents/skills/tsdown/references/option-package-exports.md
    • Renamed from plugins/tsdown/skills/tsdown/references/option-package-exports.md.
  • plugins/tsdown/.agents/skills/tsdown/references/option-platform.md
    • Renamed from plugins/tsdown/skills/tsdown/references/option-platform.md.
  • plugins/tsdown/.agents/skills/tsdown/references/option-shims.md
    • Renamed from plugins/tsdown/skills/tsdown/references/option-shims.md.
  • plugins/tsdown/.agents/skills/tsdown/references/option-sourcemap.md
    • Renamed from plugins/tsdown/skills/tsdown/references/option-sourcemap.md.
  • plugins/tsdown/.agents/skills/tsdown/references/option-target.md
    • Renamed from plugins/tsdown/skills/tsdown/references/option-target.md.
  • plugins/tsdown/.agents/skills/tsdown/references/option-tree-shaking.md
    • Renamed from plugins/tsdown/skills/tsdown/references/option-tree-shaking.md.
  • plugins/tsdown/.agents/skills/tsdown/references/option-unbundle.md
    • Renamed from plugins/tsdown/skills/tsdown/references/option-unbundle.md.
  • plugins/tsdown/.agents/skills/tsdown/references/option-watch-mode.md
    • Renamed from plugins/tsdown/skills/tsdown/references/option-watch-mode.md.
  • plugins/tsdown/.agents/skills/tsdown/references/recipe-react.md
    • Renamed from plugins/tsdown/skills/tsdown/references/recipe-react.md.
  • plugins/tsdown/.agents/skills/tsdown/references/recipe-vue.md
    • Renamed from plugins/tsdown/skills/tsdown/references/recipe-vue.md.
  • plugins/tsdown/.agents/skills/tsdown/references/recipe-wasm.md
    • Renamed from plugins/tsdown/skills/tsdown/references/recipe-wasm.md.
  • plugins/tsdown/.agents/skills/tsdown/references/reference-cli.md
    • Renamed from plugins/tsdown/skills/tsdown/references/reference-cli.md.
  • plugins/tsdown/.claude-plugin/plugin.json
    • Updated author, homepage, repository, and keywords.
    • Added a new skills field pointing to the skill's location.
  • plugins/tsdown/skills-lock.json
    • Added a new lock file for the tsdown skill.
  • plugins/tsdown/skills/tsdown/LICENSE.md
    • Removed the tsdown skill license file.
  • plugins/tsdown/skills/tsdown/SYNC.md
    • Removed the tsdown skill sync information file.
  • scripts/cli.ts
    • Removed the tsdown entry from the SKILL_TO_PLUGIN mapping.
  • scripts/meta.ts
    • Removed the tsdown vendor configuration.
  • vendor/tsdown
    • Removed the tsdown Git submodule.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@pleaeai-bot pleaeai-bot bot mentioned this pull request Mar 6, 2026
Copy link

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 43 files

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request successfully migrates the tsdown skill from a git submodule-based vendor sync to a more modern skills.sh-managed approach. The changes are well-contained and correctly update the plugin configuration, remove the old submodule and sync scripts entries, and introduce the new skills-lock.json. This is a great improvement for maintainability. I've only found a couple of minor formatting issues that were likely unintentional.

slidev: "slidev",
tsdown: "tsdown",
turborepo: "turborepo",
turborepo: "turborepo",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

It looks like the indentation for this line was accidentally removed when deleting the line above. To maintain consistent code formatting, please restore the indentation.

  turborepo: "turborepo",

},
},
"vuejs-ai": {
"vuejs-ai": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Similar to the change in scripts/cli.ts, the indentation for this line seems to have been accidentally removed. Please add it back to keep the code formatting consistent.

Suggested change
"vuejs-ai": {
"vuejs-ai": {

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.

1 participant