Token导航 LogoToken导航

Agent Skill · 研究检索

template-ts-node(模板 ts 节点)

template-ts-node 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

template-ts-node 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证为 MIT,暂无第三方扫描结果,按安装量在研究检索类的 73,675 个 Skill 里排第 70,176。

总安装 212周安装 9GitHub Stars 公开资料未说明下载 74核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:template-ts-node(模板 ts 节点)
来源仓库:https://github.com/paulrberg/dot-claude
仓库路径:skills/template-ts-node
安装命令:
npx skills add paulrberg/dot-claude --skill "template-ts-node"
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

AgentSkills.tonpx skills
npx skills add paulrberg/dot-claude --skill "template-ts-node"

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

发现并安装AI代理的技能,用于TypeScript Node模板集成。适用于Codex、Claude等宿主中快速启动Node项目。通过npx skills add paulrberg/dot-claude --skill "template-ts-node"安装。需确认模板依赖项与现有环境兼容性。

建议锁定版本号以避免意外升级破坏稳定性。

来源仓库内路径:skills/template-ts-node

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add paulrberg/dot-claude --skill "template-ts-node";命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

template-ts-node 怎么安装?

在终端执行 npx skills add paulrberg/dot-claude --skill "template-ts-node"。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

template-ts-node 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

template-ts-node 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

template-ts-node 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

template-ts-node 用的人多吗?

公开数据是累计安装 212 次,近一周安装 9 次,下载 74 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

template-ts-node 安全吗?

没有查到第三方扫描结果,安全性无法从公开资料判断,安装前请自行审查源码、依赖和命令行为。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 许可证明确为 MIT,商用和分发边界好判断。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 没有第三方扫描结果,安全性只能靠自己读源码判断。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 要求有安全扫描结论才肯安装的团队。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
template-ts-node

模板 ts 节点 · 本页

212—接触敏感数据MIT未收录

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

TypeScript Node.js Project Setup

Scaffold production-ready TypeScript Node.js projects with modern tooling and best practices. Default configuration targets single-repository, non-UI projects (libraries, CLI tools, backend services). Uses Bun for package management and Vitest for testing.

Quick Reference: Configuration Files

FilePurpose
package.jsonProject metadata, dependencies, and scripts
tsconfig.jsonTypeScript compiler configuration
biome.jsoncLinting and formatting rules
justfileTask automation and project commands
vitest.config.tsTest framework configuration
.gitignoreVersion control exclusions
.gitattributesGit line-ending and merge behavior
.husky/Git hooks for pre-commit automation
bun.lockbDependency lock file (Bun)

Setup Workflow

1. Initialize Project Structure

Create the project directory and initialize version control.

mkdir project-name
cd project-name
git init

2. Copy Configuration Files

Copy all configuration files from resources/ directory to the project root. These files are pre-configured to extend @sablier/devkit and follow established patterns.

Required files:

  • package.json - Adapt name, description, version, and author fields
  • tsconfig.json - Extends @sablier/devkit/tsconfig/base.json
  • biome.jsonc - Extends ultracite/core and @sablier/devkit/biome/base
  • justfile - Imports @sablier/devkit/just/base.just
  • vitest.config.ts - Test configuration
  • .gitignore - Standard Node.js exclusions
  • .gitattributes - Line endings and diff behavior

3. Install Dependencies

Use Bun to install project dependencies.

bun install

Core dependencies:

  • @sablier/devkit (from GitHub: github:sablier-labs/devkit)
  • typescript
  • vitest (testing)
  • @biomejs/biome (linting/formatting)
  • husky (git hooks)
  • just (task runner, if not globally installed)

4. Initialize Git Hooks

Set up Husky for pre-commit automation.

bun run prepare

This installs git hooks that run linting and formatting checks before commits.

5. Create Source Structure

Establish the core source directory and entry point.

mkdir src
touch src/index.ts

Add initial content to src/index.ts:

// -------------------------------------------------------------------------- //
//                                   EXPORTS                                  //
// -------------------------------------------------------------------------- //

export const VERSION = "0.1.0";

6. Verify Setup

Run full project checks to ensure configuration is correct.

just full-check

This executes TypeScript compilation, linting, formatting checks, and tests.

Key Configuration Choices

Shared Configuration via @sablier/devkit

All configuration files extend the shared devkit to maintain consistency across projects. This approach centralizes common patterns and reduces per-project configuration burden.

GitHub location: github:sablier-labs/devkit

TypeScript Configuration

Extend the base TypeScript configuration from devkit. Customize compilerOptions only when project-specific requirements demand it.

Example tsconfig.json:

{
  "extends": "@sablier/devkit/tsconfig/base.json",
  "compilerOptions": {
    "outDir": "./dist",
    "rootDir": "./src"
  },
  "include": ["src/**/*"],
  "exclude": ["node_modules", "dist"]
}

Key settings (inherited from devkit):

  • strict: true - Maximum type safety
  • esModuleInterop: true - CommonJS/ESM compatibility
  • skipLibCheck: true - Faster compilation
  • module: "ESNext" - Modern module system
  • target: "ES2022" - Recent language features

Biome Configuration

Extend both Ultracite core rules and Sablier devkit overrides. This provides opinionated linting and formatting with project-specific adjustments.

Example biome.jsonc:

{
  "$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
  "extends": ["ultracite/core", "@sablier/devkit/biome/base"],
  "formatter": {
    "indentStyle": "space",
    "lineWidth": 120
  }
}

Inherited behaviors:

  • Sorted imports and exports
  • Consistent naming conventions
  • No unused variables
  • Explicit function return types

Just Task Runner

Import base recipes from devkit and add only project-specific tasks. The devkit provides common recipes—do not duplicate them.

Example justfile:

import "./node_modules/@sablier/devkit/just/base.just"

# Default recipe
default:
    @just --list

# Project-specific recipes only
[group("app")]
build:
    na tsc

For advanced Just CLI usage (modules, attributes, inline scripts, conditional execution), consult the just-cli skill which provides comprehensive guidance on Just's advanced features.

Vitest Configuration

Configure test framework with TypeScript support and coverage reporting.

Example vitest.config.ts:

import { defineConfig } from "vitest/config";

export default defineConfig({
  test: {
    globals: true,
    environment: "node",
    coverage: {
      provider: "v8",
      reporter: ["text", "json", "html"],
    },
  },
});

Common Just Recipes

Execute these commands from the project root using the just command.

Recipes from @sablier/devkit

The devkit provides these recipes—do not redefine them:

RecipeAliasDescription
full-checkfcRun all code checks (biome + prettier + types)
full-writefwRun all code fixes
biome-checkbcRun Biome linting and formatting checks
biome-writebwApply Biome fixes
biome-lintblRun Biome linter only
type-checktcTypeScript type checking (tsgo/tsc)
tsc-buildtbBuild with TypeScript
prettier-checkpcCheck Prettier formatting
prettier-writepwApply Prettier formatting
knip-checkkcCheck for unused exports/dependencies
knip-writekwFix unused exports/dependencies
cleanClean.DS_Store files
clean-modulesRemove node_modules recursively
installInstall dependencies with ni

Project-Specific Recipes

Define only what the devkit doesn't provide:

just build      # Compile TypeScript (project entry point)
just dev        # Start development mode with file watching
just test       # Run tests with Vitest
just test-ui    # Run tests with Vitest UI

Package.json Scripts

Leave empty besides the husky setup. The justfile is used to run commands.

Essential scripts:

{
  "scripts": {
    "prepare": "husky install"
  }
}

Directory Structure

Organize project files following these conventions:

project-name/
├── src/
│   ├── index.ts          # Main entry point
│   ├── lib/              # Library code
│   ├── utils/            # Utility functions
│   └── types/            # Type definitions
├── test/
│   └── index.test.ts     # Test files
├── dist/                 # Compiled output (gitignored)
├── coverage/             # Test coverage reports (gitignored)
├── node_modules/         # Dependencies (gitignored)
├── package.json
├── tsconfig.json
├── biome.jsonc
├── justfile
├── vitest.config.ts
├── .gitignore
├── .gitattributes
├── .husky/
│   └── pre-commit
├── bun.lockb
└── README.md

Adapting for Specific Project Types

CLI Tools

Add dependencies:

bun add commander chalk ora
bun add -d @types/node

Update package.json:

{
  "bin": {
    "cli-name": "./dist/cli.js"
  }
}

Create src/cli.ts:

#!/usr/bin/env node

import { Command } from "commander";
import { VERSION } from "./index.js";

const program = new Command();

program
  .name("cli-name")
  .description("CLI description")
  .version(VERSION);

program.parse();

Libraries

Update package.json for library distribution:

{
  "main": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "exports": {
    ".": {
      "import": "./dist/index.js",
      "types": "./dist/index.d.ts"
    }
  },
  "files": ["dist"]
}

Configure tsconfig.json for declaration generation:

{
  "compilerOptions": {
    "declaration": true,
    "declarationMap": true
  }
}

Backend Services

Add server dependencies:

bun add express
bun add -d @types/express

Create src/server.ts:

import express from "express";

const app = express();
const PORT = process.env.PORT || 3000;

app.get("/health", (req, res) => {
  res.json({ status: "ok" });
});

app.listen(PORT, () => {
  console.log(`Server running on port ${PORT}`);
});

Resource Files

Copy these pre-configured files from resources/ directory to bootstrap new projects:

FilePurpose
package.jsonBase package.json with devDependencies (adapt name, description)
tsconfig.jsonTypeScript configuration extending devkit
biome.jsoncLinting and formatting rules
justfileProject-specific recipes only (imports devkit base)
vitest.config.tsTest framework setup for single repos
vitest.shared.tsShared test config for monorepos
.prettierrc.jsPrettier config extending devkit
.prettierignorePrettier ignore patterns
.lintstagedrc.jsPre-commit hook configuration
.gitignoreStandard Node.js exclusions

Usage: Copy files to project root, then adapt package.json fields (name, description, author, version).

Important: The justfile imports @sablier/devkit/just/base.just which provides common recipes. Only add project-specific recipes that aren't in the devkit.

Reference Documentation

For React/Next.js UI Projects

Consult references/next-ui.md for guidance on:

  • Next.js project structure
  • React component patterns
  • UI-specific dependencies (Tailwind, Radix, etc.)
  • Server and client component architecture
  • API routes and middleware

For Monorepo Workspaces

Consult references/monorepo.md for guidance on:

  • Workspace configuration with Bun
  • Shared package setup
  • Cross-package dependencies
  • Monorepo-specific scripts
  • Turborepo or Nx integration

Best Practices

Dependency Management

Pin major versions but allow minor and patch updates:

{
  "dependencies": {
    "@sablier/devkit": "github:sablier-labs/devkit",
    "zod": "^3.22.0"
  }
}

Separate dev and production dependencies clearly:

  • Runtime code → dependencies
  • Build tools, linters, test frameworks → devDependencies

TypeScript Configuration

Enable strict mode for maximum type safety. Override specific checks only when absolutely necessary.

Use path aliases for cleaner imports:

{
  "compilerOptions": {
    "baseUrl": ".",
    "paths": {
      "@/*": ["src/*"]
    }
  }
}

Testing Strategy

Co-locate tests with source files or use parallel test/ directory structure.

Name test files with .test.ts or .spec.ts suffix.

Write tests first for complex logic (TDD approach).

Aim for high coverage on critical paths, but don't chase 100% arbitrarily.

Git Workflow

Commit often with descriptive messages.

Use conventional commits format: feat:, fix:, docs:, refactor:, etc.

Let Husky hooks catch issues before they reach the repository.

Tag releases with semantic versioning: v1.0.0, v1.1.0, etc.

Code Organization

Group by feature rather than by file type when projects grow beyond simple structure.

Export from index files to create clean public APIs:

// src/lib/index.ts
export { functionA } from "./moduleA.js";
export { functionB } from "./moduleB.js";

Use barrel exports sparingly - they can impact tree-shaking.

Troubleshooting

TypeScript Errors After Installation

Run type checking explicitly:

bun run typecheck

Check that @sablier/devkit installed correctly:

ls node_modules/@sablier/devkit

Biome Not Finding Configuration

Verify biome.jsonc exists in project root:

ls -la biome.jsonc

Check that Biome can parse the configuration:

bunx biome check --config-path=biome.jsonc

Just Recipes Failing

Confirm Just is installed:

just --version

Verify justfile imports are resolvable:

just --list

Check for syntax errors in custom recipes:

just --dry-run recipe-name

Git Hooks Not Running

Reinstall Husky hooks:

rm -rf .husky
bun run prepare

Verify hook scripts are executable:

chmod +x .husky/pre-commit

Integration with Existing Tools

VSCode

Recommended extensions:

  • Biome (biomejs.biome)
  • TypeScript and JavaScript Language Features (built-in)
  • Just (skellock.just)

Workspace settings (.vscode/settings.json):

{
  "editor.defaultFormatter": "biomejs.biome",
  "editor.formatOnSave": true,
  "editor.codeActionsOnSave": {
    "quickfix.biome": "explicit",
    "source.organizeImports.biome": "explicit"
  }
}

GitHub Actions

Example CI workflow (.github/workflows/ci.yml):

name: CI

on: [push, pull_request]

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: oven-sh/setup-bun@v1
      - run: bun install
      - run: just full-check

Pre-commit Framework

Integrate with Python's pre-commit framework if needed:

# .pre-commit-config.yaml
repos:
  - repo: local
    hooks:
      - id: biome
        name: Biome Check
        entry: just biome-check
        language: system
        pass_filenames: false

Next Steps After Setup

  1. Write initial code in src/index.ts
  2. Add first test in test/index.test.ts
  3. Run just full-check to verify everything works
  4. Create initial commit with all scaffolding
  5. Set up remote repository and push
  6. Configure CI/CD using GitHub Actions or similar
  7. Write README.md with project-specific documentation
  8. Add LICENSE file appropriate for your use case

Related Skills

  • just-cli - Comprehensive Just task runner patterns, modules, and advanced features
  • typescript - TypeScript-specific rules, patterns, and best practices
  • biome - Biome configuration and lint rule customization
  • node-deps - Dependency update strategies with Taze

Summary

This skill provides a streamlined path to creating production-ready TypeScript Node.js projects. By leveraging shared configuration from @sablier/devkit and modern tooling (Bun, Vitest, Biome, Just), new projects achieve consistency and quality from day one. Adapt the base configuration for CLI tools, libraries, or backend services as needed. Consult reference documentation for UI projects or monorepo setups when requirements extend beyond single-repository, non-UI applications.

平台分布

trae

67.55%
按下载量换算50

Claude Code

30.05%
按下载量换算22

安全审计

暂无安全审计结果可展示。

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills