arch-tsdown-cli

v2026.09.24

TypeScript CLI starter using tsdown. Use when scaffolding or maintaining an npm CLI package with tsdown, pnpm, Vitest, and npm Trusted Publisher.

GitHub
Install command
npx skhub add hairyf/arch-tsdown-cli
Markdown
SKILL.md

arch-tsdown-cli is a TypeScript CLI package starter (based on hairyf/starter-cli) that uses tsdown for building. It provides a minimal, opinionated setup: dual surface (library + bin), ESM-only output, automatic .d.ts generation, dev bin via tsx, pnpm, Vitest, ESLint, and optional npm Trusted Publisher for CI-based releases.

The skill is based on starter-cli (arch-tsdown-cli source), generated at 2026-01-30.

Recommended practices:

  • Use dev bin (tsx) locally and prod bin (dist) in publishConfig
  • Build pure ESM; enable dts and keep external for dependencies
  • Use npm Trusted Publisher for releases

Core References

TopicDescriptionReference
OverviewProject purpose, structure, when to usecore-overview
Bin Entrydev vs prod bin, shebang, tsxcore-bin-entry
tsdown Configentry, format, dts, externalcore-tsdown-config
Scripts & Releasebuild, dev, start, release, npm Trusted Publishercore-scripts
Package Exportsdist, bin, publishConfig, filescore-package-exports
ToolingESLint, TypeScript, Vitest configcore-tooling
Git Hookssimple-git-hooks, lint-staged, pre-commitcore-git-hooks
CIGitHub Actions — lint, typecheck, test matrixcore-ci
TestingVitest, vitest-package-exportscore-testing

Best Practices

TopicDescriptionReference
CLI & Packagebin, ESM, dts, external, releasebest-practices-cli
Discovery
Tags

No tags published for this skill.

Version
Latest version metadata

Version

v2026.09.24

Published

Sep 24, 2026

Category

Uncategorized

License

MIT

Source path

skills/arch-tsdown-cli

Default branch

main

Latest commit

4f463c7

Tree SHA

73bcd03