← 返回
效率工具 中文

my skill demo showcase

Minimal TypeScript hello-world skill that demonstrates bundling TS code, a Node dependency, and package.json instructions for use and publication on Clawdhub.
极简 TypeScript hello‑world 示例,演示打包 TS 代码、Node 依赖及 package.json 使用与发布至 Clawdhub 的说明。
whgreate
效率工具 clawhub v0.0.1 1 版本 99808.4 Key: 无需
★ 0
Stars
📥 521
下载
💾 6
安装
1
版本
#latest

概述

TypeScript Hello World Demo Skill

This is a hello world skill that shows how to:

  • Bundle TypeScript code in scripts/
  • Use an npm dependency from that code
  • Document package.json so others know how to install and run it

What this skill does

Use this skill when you want a minimal example of:

  • A TypeScript function that returns a formatted greeting string
  • Using a third-party dependency (here: dayjs for timestamps)
  • A package.json that documents how to install and run the code

Layout

skill-demo/
  SKILL.md
  package.json
  scripts/
    hello.ts
  references/
    README-usage.md
  assets/
    (optional files used by your skill)

How another agent / developer uses this skill

  1. Install dependencies in the skill folder:

```bash

cd /home/ubuntu/skill-demo

npm install

```

  1. Run the demo script (via ts-node):

```bash

npx ts-node scripts/hello.ts

```

  1. In other TypeScript/JavaScript code, import and use the function:

```ts

import { buildGreeting } from "./scripts/hello";

console.log(buildGreeting("Alice"));

```

See references/README-usage.md for more details and extension ideas.

版本历史

共 1 个版本

  • v0.0.1 当前
    2026-03-30 07:52 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Weather

steipete
获取当前天气和预报(无需API密钥)
★ 445 📥 226,279
ai-intelligence

zcloak-ai-agent

whgreate
用于 zCloak.ai 工作流,包括代理身份创建、AI 名称 (.ai/.agent) 查询与注册、所有者与 passkey/WebAuthn 绑定等。
★ 0 📥 861
productivity

Nano Pdf

steipete
使用nano-pdf CLI通过自然语言指令编辑PDF
★ 275 📥 114,833