arch-tsdown-cli

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

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "arch-tsdown-cli" with this command: npx skills add hairyf/skills/hairyf-skills-arch-tsdown-cli

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

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

github-workflow

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

github-cli

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

arch-vscode

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

slidev

No summary provided by upstream source.

Repository SourceNeeds Review