360 Secure SkillHub
360 安全技能中心

ts3

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

分类:开发
kleberbaum
kleberbaum
热度 45.59
最近更新 2026-05-11 17:26:18

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add kleberbaum/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