arch-tsdown
Set up a modern TypeScript library project using tsdown, a streamlined build tool for ESM packages. This skill automates project scaffolding with sensible defaults, letting you focus on writing code rather than configuration. Perfect for developers building reusable TypeScript modules.
arch-tsdown is a modern TypeScript library starter that uses tsdown, a streamlined build tool for ESM packages. It automates project scaffolding with sensible defaults, letting you focus on writing code rather than configuration. The skill is perfect for developers building reusable TypeScript modules and handles setup of build tools, type definitions, and publishing workflows automatically.
AI-generated summary based on this skill's SKILL.md
Install
hairyf/skills/arch-tsdown · repository language: MDX
git clone https://github.com/hairyf/skills
cp -r skills/skills/arch-tsdown ~/.claude/skills/arch-tsdownFrequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
What is arch-tsdown and how does it help create a TypeScript library?
arch-tsdown is a modern TypeScript library starter that uses tsdown, a streamlined build tool for ESM packages. It automates project scaffolding with sensible defaults, letting you focus on writing code rather than configuration. The skill is perfect for developers building reusable TypeScript modules and handles setup of build tools, type definitions, and publishing workflows automatically.
How do I scaffold a new TypeScript ESM library project with tsdown?
arch-tsdown provides automated scaffolding for TypeScript ESM library projects using tsdown. The skill sets up your project structure with sensible defaults, configuring tsdown as your build tool to handle ESM package creation. This eliminates manual configuration overhead and gets your library ready for development immediately.
Can arch-tsdown set up automated type definition generation and npm publishing?
Yes, arch-tsdown automates type definition generation and npm publishing as core features. The skill configures your TypeScript library to automatically generate type definitions during the build process and prepares your project for seamless npm package publishing with proper configuration.
What build tools does arch-tsdown configure for TypeScript library development?
arch-tsdown configures a complete TypeScript library build setup using pnpm as your package manager and Vitest as your testing framework, alongside tsdown for the build process. This combination provides a modern, efficient development environment with automated testing and building capabilities for your ESM library.
Does arch-tsdown support CI/CD and npm Trusted Publisher for releases?
Yes, arch-tsdown implements CI/CD and npm Trusted Publisher configuration for automated releases. The skill sets up your project to use npm Trusted Publisher, enabling secure and automated package publishing through your continuous integration pipeline without managing npm tokens.
How can I maintain and update an existing tsdown-based library with this skill?
arch-tsdown supports maintaining and updating existing tsdown-based libraries by providing guidance on keeping your project current with best practices. The skill helps you manage dependencies, update build configurations, and ensure your library continues to work with modern TypeScript and ESM standards as your project evolves.
SKILL.md
rendered from the published skill — quoted content, verbatim
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
| Topic | Description | Reference |
|---|---|---|
| Overview | Project purpose, structure, when to use | core-overview |
| tsdown Config | entry, dts, exports, publint |
(truncated - see the full file via the links below)
Read as markdown · JSON record · Browse the source repository
File tree — 15 files
skills/arch-tsdown/GENERATION.md
skills/arch-tsdown/SKILL.md
skills/arch-tsdown/assets/ci.yml
skills/arch-tsdown/assets/release.yml
skills/arch-tsdown/references/best-practices-tsdown.md
skills/arch-tsdown/references/core-ci.md
skills/arch-tsdown/references/core-git-hooks.md
skills/arch-tsdown/references/core-overview.md
skills/arch-tsdown/references/core-package-exports.md
skills/arch-tsdown/references/core-pnpm-workspace.md
skills/arch-tsdown/references/core-release.md
skills/arch-tsdown/references/core-scripts.md
skills/arch-tsdown/references/core-testing.md
skills/arch-tsdown/references/core-tooling.md
skills/arch-tsdown/references/core-tsdown-config.md