360 Secure SkillHub
360 安全技能中心

ts3

TS3 是一个用于 TypeScript 服务端框架的 Skill,可通过 server-init.sh 的 --routes、--health、--describe 选项生成路由处理文件、健康检查端点并输出服务器结构说明;文档声明内置中间件组合、请求校验和结构化日志,但所列文件未包含这些能力的实现代码。

kleberbaum
kleberbaum
热度 63.85
最近更新 2026-05-11 17:26:18
分类:开发依赖:代码执行 / 读写文件应用场景:代码生成 / API 集成 / DevOps

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add ts3
Metadata
name
ts3
description
TS3 namespace for Netsnek e.U. TypeScript server-side framework. HTTP server scaffolding, middleware composition, request validation, and structured logging.
user-invocable
true
version
0.1.0
metadata
{"openclaw":{"os":["linux"],"permissions":["exec"]}}

Why TS3?

TS3 is the Netsnek e.U. TypeScript server-side framework. Build HTTP servers with minimal boilerplate: scaffolding, middleware composition, request validation, and structured logging are built in.

Architecture

  • HTTP server — Express-compatible request/response
  • Middleware — Composable request pipelines
  • Validation — Zod or similar for request bodies
  • Logging — Structured JSON logs

Server Commands

Script Option Action
server-init.sh --routes Generate route handlers
server-init.sh --health Add health check endpoint
server-init.sh --describe Describe server structure

Example Session

# Bootstrap a server with routes
./scripts/server-init.sh --routes

# Add health endpoint
./scripts/server-init.sh --health

# Inspect layout
./scripts/server-init.sh --describe