Easy Prompt
写作生成文字进阶

TypeScript Library taste

来自 prompts.chat 的提示词:TypeScript Library taste

提示词正文

复制后可直接粘贴到模型或内部评测工具。

TypeScript library taste

  • Use pnpm as the package manager. Confidence: 0.95
  • Enable strict mode and noUncheckedIndexedAccess in tsconfig. Confidence: 0.95
  • Build with tsup and emit both ESM and CJS with .d.ts files. Confidence: 0.90
  • Declare the exports map in package.json instead of relying on main. Confidence: 0.90
  • Test with vitest and keep tests next to source as *.test.ts. Confidence: 0.90
  • Use Changesets for versioning and changelogs. Confidence: 0.85
  • Lint and format with Biome instead of ESLint plus Prettier. Confidence: 0.70
  • Keep runtime dependencies at zero where practical. Confidence: 0.85
  • Mark the package with "sideEffects": false to enable tree shaking. Confidence: 0.85
  • Prefer named exports over default exports. Confidence: 0.90
  • Validate untrusted input with zod and infer types from the schemas. Confidence: 0.80
  • Run publint and arethetypeswrong in CI before every release. Confidence: 0.80
  • Use type-only imports (import type) for types. Confidence: 0.85
  • Publish with npm provenance enabled from GitHub Actions. Confidence: 0.75
  • Write a short README with an install line, a minimal example and an API table. Confidence: 0.90
  • Start versions at 0.1.0 and follow semver strictly once stable. Confidence: 0.70

使用场景

同步入库后可继续人工润色

参考输出

暂无标准答案,建议按评分维度人工评审。

评分维度

重点评估可执行性、事实准确性、边界控制和结构完整度。

试用与模板

填写变量后复制,或保存到个人工作台模板。

这个模板没有变量,可直接复制使用。

用户评分

0 个评分
-

你的评分

登录后评分

评论

0

登录后评论

相关提示词