sync-tsdown-cli

Compares tsdown CLI options with pack-bin.ts to identify discrepancies and verify parity via builds and vp pack help.

3|1|Updated Feb 6, 2026
One-click install
npx skills add https://github.com/wfvue/SynapSH --skill sync-tsdown-cli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sync-tsdown-cli
Source: https://github.com/wfvue/SynapSH/tree/main/.agent/skills/sync-tsdown-cli
Command: npx skills add https://github.com/wfvue/SynapSH --skill sync-tsdown-cli

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Align tsdown CLI options with vp pack to prevent drift between upstream CLI changes and pack definitions, ensuring parity across the project.

Core Features & Use Cases

  • Compare the current tsdown --help output with packages/cli/src/pack-bin.ts to identify new, removed, or modified options.
  • Update pack-bin.ts using the existing .option() pattern to reflect new options and add notes for removed options instead of deleting them.
  • Preserve intentional differences (e.g., commented-out options or defaults) and verify changes with repository builds and vp pack help.

Quick Start

Run the comparison, update pack-bin.ts to align options, and verify parity by running the build and vp pack help commands.

Frequently Asked Questions about sync-tsdown-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I sync tsdown CLI options with vp pack to prevent drift?

Syncing tsdown CLI options with vp pack requires comparing tsdown --help output against packages/cli/src/pack-bin.ts to identify discrepancies, then updating the .option() definitions to reflect new or modified options.

What happens to intentionally missing options when synchronizing tsdown and vp pack?

Intentionally missing options are preserved with a comment in pack-bin.ts rather than deleted, ensuring intentional differences like defaults or commented-out options remain documented during the synchronization process.

How do I verify CLI option parity after updating pack-bin.ts?

Verify CLI option parity by running pnpm build and vp pack help commands after updating pack-bin.ts, ensuring the repository builds successfully and the help output reflects the synchronized options.

Why do tsdown CLI options drift from vp pack definitions?

Tsdown CLI options drift from vp pack definitions when upstream CLI changes introduce new, removed, or modified options that are not simultaneously updated in the pack-bin.ts file, breaking project parity.

Can I automate the comparison of new tsdown options with pack-bin.ts?

Yes, you can automate the comparison by evaluating tsdown --help output against pack-bin.ts, enforcing that new options follow the established .option() pattern and flagging discrepancies across the repository's packages/cli.

What is the scope of tsdown and vp pack option synchronization?

The scope includes all options currently present in tsdown and pack-bin.ts across the repository's packages/cli, covering any new, removed, or modified options to ensure complete parity between the CLI and pack definitions.