arch-tsdown-cli by hairyf/skills
npx skills add https://github.com/hairyf/skills --skill arch-tsdown-cliarch-tsdown-cli 是一个基于 tsdown 构建的 TypeScript CLI 包 启动模板(基于 hairyf/starter-cli)。它提供了一个极简且具有特定约定的设置:双表面(库 + 二进制文件)、仅输出 ESM、自动生成 .d.ts 文件、通过 tsx 实现的开发二进制文件、pnpm、Vitest、ESLint,以及可选的用于基于 CI 发布的 npm 可信发布者。
此技能基于 starter-cli(arch-tsdown-cli 源码),生成于 2026-01-30。
推荐实践:
dts 并为依赖项保持 external 设置| 主题 | 描述 | 参考链接 |
|---|---|---|
| 概述 | 项目目的、结构、使用时机 | core-overview |
| 二进制入口 |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 开发版 vs 生产版二进制文件、shebang、tsx |
| core-bin-entry |
| tsdown 配置 | 入口、格式、dts、external | core-tsdown-config |
| 脚本与发布 | build、dev、start、release、npm 可信发布者 | core-scripts |
| 包导出 | dist、bin、publishConfig、files | core-package-exports |
| 工具链 | ESLint、TypeScript、Vitest 配置 | core-tooling |
| Git 钩子 | simple-git-hooks、lint-staged、pre-commit | core-git-hooks |
| CI | GitHub Actions — 代码检查、类型检查、测试矩阵 | core-ci |
| 测试 | Vitest、vitest-package-exports | core-testing |
| 主题 | 描述 | 参考链接 |
|---|---|---|
| CLI 与包 | bin、ESM、dts、external、release | best-practices-cli |
每周安装量
95
代码仓库
GitHub 星标数
9
首次出现
2026年1月31日
安全审计
安装于
cursor94
claude-code88
opencode28
github-copilot28
codex28
gemini-cli28
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:
dts and keep external for dependencies| Topic | Description | Reference |
|---|---|---|
| Overview | Project purpose, structure, when to use | core-overview |
| Bin Entry | dev vs prod bin, shebang, tsx | core-bin-entry |
| tsdown Config | entry, format, dts, external | core-tsdown-config |
| Scripts & Release | build, dev, start, release, npm Trusted Publisher | core-scripts |
| Package Exports | dist, bin, publishConfig, files | core-package-exports |
| Tooling | ESLint, TypeScript, Vitest config | core-tooling |
| Git Hooks | simple-git-hooks, lint-staged, pre-commit | core-git-hooks |
| CI | GitHub Actions — lint, typecheck, test matrix | core-ci |
| Testing | Vitest, vitest-package-exports | core-testing |
| Topic | Description | Reference |
|---|---|---|
| CLI & Package | bin, ESM, dts, external, release | best-practices-cli |
Weekly Installs
95
Repository
GitHub Stars
9
First Seen
Jan 31, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
cursor94
claude-code88
opencode28
github-copilot28
codex28
gemini-cli28
LarkSuite Whiteboard CLI 工具:自动化生成专业图表与画板,支持DSL和Mermaid
32,299 周安装