mcpField
A
arch-tsdown

arch-tsdown

github.com/hairyfDevelopment26136 installsUpdated 2w ago
Repository

About arch-tsdown

arch-tsdown is a TypeScript library starter and guidance skill based on starter-ts, for developers setting up and releasing packages with tsdown. It documents an ESM-focused build and testing toolchain.

Key features

  1. 01tsdown build configuration
  2. 02Automatic .d.ts generation
  3. 03pnpm workspace setup
  4. 04Vitest and ESLint tooling
  5. 05CI and release guidance

Use cases

  1. 01Starting a TypeScript library
  2. 02Configuring package exports and types
  3. 03Setting up tests and CI releases

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/hairyf/skills --skill arch-tsdown

After installing, type/arch-tsdownin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

GENERATION.md
assets/
ci.yml
release.yml
references/
best-practices-tsdown.md
core-ci.md
core-git-hooks.md
core-overview.md
core-package-exports.md
core-pnpm-workspace.md
core-release.md
core-scripts.md
core-testing.md
core-tooling.md
core-tsdown-config.md

Details

From the project README

arch-tsdown is a TypeScript library starter (based on antfu/starter-ts) that uses tsdown for building. It provides a minimal, opinionated setup: ESM-only output, automatic .d.ts generation, pnpm, Vitest, ESLint, and optional npm Trusted Publisher for CI-based releases.

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

Recommended practices:

  • Build pure ESM; enable dts and exports in tsdown config
  • Use npm Trusted Publisher for releases
  • Run publint (via tsdown’s publint: true) before publishing

Core References

TopicDescriptionReference
OverviewProject purpose, structure, when to usecore-overview
tsdown Configentry, dts, exports, publintcore-tsdown-config
Scripts & Releasebuild, dev, start, release, npm Trusted Publishercore-scripts
Package Exportsdist output, types, exports, sideEffectscore-package-exports
pnpm Workspacecatalogs, version management, workspacecore-pnpm-workspace
ToolingESLint, TypeScript, Vitest configcore-tooling
Git Hookssimple-git-hooks, lint-staged, pre-commitcore-git-hooks
CIGitHub Actions — lint, typecheck, test matrixcore-ci
ReleaseTag push, sxzz/workflows, npm Trusted Publishercore-release
TestingVitest, vitest-package-exports, export snapshotscore-testing

Best Practices

TopicDescriptionReference
tsdown & PackageESM, dts, exports, tooling alignmentbest-practices-tsdown

Comments

Markdown supported