← 返回 Skills 市场
ts4
作者
kleberbaum
· GitHub ↗
· v0.1.0
612
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install ts4
功能描述
TS4 namespace for Netsnek e.U. TypeScript testing framework. Unit testing, snapshot testing, coverage reporting, and mutation testing.
使用说明 (SKILL.md)
Testing with TS4
TS4 is the Netsnek e.U. TypeScript testing framework. Run unit tests, snapshots, coverage reports, and mutation tests from a single CLI.
Test Types
- Unit — Isolated function and module tests
- Snapshot — Output comparison for UI and serialization
- Coverage — Line, branch, and function metrics
- Mutation — Fault injection to verify test quality
CLI Reference
| Flag | Effect |
|---|---|
--run |
Execute the full test suite |
--coverage |
Produce coverage report (HTML + lcov) |
--status |
Show suite status, last run, pass/fail count |
Walkthrough
# Run all tests
./scripts/test-runner.sh --run
# Generate coverage
./scripts/test-runner.sh --coverage
# Check status
./scripts/test-runner.sh --status
安全使用建议
This package looks like a placeholder rather than a working TypeScript testing framework. It contains only a tiny bash script that prints messages and no Node/TypeScript code or declared dependencies (node, npm, test/coverage/mutation tools). Security risk appears low (no network calls, no credentials requested), but functionality risk is high—do not rely on it to run tests. Before installing or using: (1) verify source/trust of the publisher and look for a real homepage or repository, (2) inspect any additional code or a future release to confirm actual test/coverage implementations, (3) test it in an isolated environment if you want to experiment, and (4) if you need a real TypeScript test framework, prefer established tools (Jest, Vitest, Stryker, nyc) with clear install steps and dependencies.
功能分析
Type: OpenClaw Skill
Name: ts4
Version: 0.1.0
The skill declares the 'exec' permission in SKILL.md and claw.json, which is a powerful capability. However, the `scripts/test-runner.sh` script, which is the only executable component, is extremely minimal and benign. It only echoes messages based on the input flag and does not perform any actual testing, file operations, network calls, or other risky actions. There is no evidence of data exfiltration, malicious execution, persistence, obfuscation, or prompt injection attempts against the agent. The skill appears to be a placeholder or an early draft with no harmful intent or exploitable vulnerabilities in the provided code.
能力评估
Purpose & Capability
The name and description advertise a full TypeScript testing framework with coverage and mutation testing, but the bundle contains no TypeScript/Node code, no test runner, no coverage tools, and no declared dependencies (e.g., node, npm, jest, nyc, Stryker). The only executable is a 321-byte bash script that only echoes messages for --run, --coverage, and --status. This mismatch makes the claimed capabilities unsupported by the provided files.
Instruction Scope
SKILL.md simply instructs running ./scripts/test-runner.sh with flags. The instructions do not attempt to read unrelated files or environment variables and do not perform network activity. However, those instructions point to a script that does not implement the described functionality, so the instructions are technically safe but not useful for the stated purpose.
Install Mechanism
There is no install spec (instruction-only skill with bundled files). No downloads or package installs are requested, so there is low install-time risk.
Credentials
The skill declares no required environment variables, no credentials, and no config paths. The runtime files do not access environment variables or secrets. The absence of requested credentials is proportionate to the provided (minimal) functionality.
Persistence & Privilege
The skill is not always-enabled, is user-invocable, and does not request elevated or persistent privileges. It does not modify other skills or system-wide settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install ts4 - 安装完成后,直接呼叫该 Skill 的名称或使用
/ts4触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release: reserved ts4 namespace for Netsnek e.U.
元数据
常见问题
ts4 是什么?
TS4 namespace for Netsnek e.U. TypeScript testing framework. Unit testing, snapshot testing, coverage reporting, and mutation testing. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 612 次。
如何安装 ts4?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install ts4」即可一键安装,无需额外配置。
ts4 是免费的吗?
是的,ts4 完全免费(开源免费),可自由下载、安装和使用。
ts4 支持哪些平台?
ts4 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(linux)。
谁开发了 ts4?
由 kleberbaum(@kleberbaum)开发并维护,当前版本 v0.1.0。
推荐 Skills