$npx skillfedfor your agent

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

24 2 MITupdated by hairyf

Decision gist · record as of 2026-06-10

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.

manual: git clone https://github.com/hairyf/skills → cp -r skills/skills/arch-tsdown ~/.claude/skills/arch-tsdown
skills/arch-tsdown/SKILL.md · version c3705c54

Use it when

  • arch-tsdown provides automated scaffolding for TypeScript ESM library projects using tsdown.
  • Yes, arch-tsdown automates type definition generation and npm publishing as core features.

Verify before relying

Read SKILL.md below before installing (15 files). Open directory: indexed for reading, not audited.

Same gist for agents: .md · .json

Install

hairyf/skills/arch-tsdown · repository language: MDX

Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.

Frequently 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)

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

Let your AI agent find skills like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.

wish › “Scaffold a new TypeScript ESM library project with tsdown”

Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →

Related skills

arch-tsdown-monorepo
by hairyf · hairyf/skills

This skill guides you through architecting a TypeScript monorepo using pnpm as your package manager and tsdown for efficient bundling. It combines proven patterns from the web development community with streamlined tooling to accelerate multi-package project setup.

MITupdated Jun 2026
★ 24repo stars
hairy
by hairyf · hairyf/skills

Hairy packages a handpicked set of agent skills reflecting Hairyf's approach to contemporary web development. Built on proven foundations and extended with specialized capabilities, this collection captures real-world tooling choices and architectural patterns for developers seeking a focused, opinionated stack.

MITupdated Jun 2026
★ 24repo stars
tsdown
by hairyf · hairyf/skills

tsdown is a bundling tool designed to package TypeScript and JavaScript libraries for npm distribution with support for multiple output formats. It simplifies the build process by offering flexible configuration options tailored to modern web development workflows.

MITupdated Jun 2026
★ 24repo stars
tsdown
by antfu · antfu/skills

tsdown packages your TypeScript and JavaScript code for npm distribution while preserving complete type information. This skill automates the bundling process, ensuring your libraries ship with accurate type declarations for better developer experience and IDE support.

MITupdated Jun 2026
★ 5,665repo stars
tsdown
by sanity-io · sanity-io/next-sanity

tsdown handles the complexities of preparing TypeScript and JavaScript packages for npm distribution across multiple module formats. It automates bundling, format generation, and output optimization so you can focus on writing code rather than build configuration.

MITupdated Jul 2026
★ 951repo stars
tsdown
by rolldown · rolldown/tsdown

tsdown is a modern bundler built on Rolldown that streamlines packaging TypeScript and JavaScript libraries for distribution. It combines fast build performance with automatic declaration file generation, making it ideal for developers preparing libraries for npm publication.

MITupdated Jul 2026
★ 4,183repo stars

More skills Tsdown (unlicensed) · antfu (MIT) · antfu (MIT)

Tags
esm-firsttype-generationci-automationpackage-scaffoldingbuild-toolingrelease-workflowtypescript-starternpm-publishing