← 返回 Skills 市场
TypeScript Config Generator
作者
Sunshine-del-ux
· GitHub ↗
· v1.0.0
515
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install typescript-config-generator
功能描述
生成专业的 TypeScript 配置,支持严格模式、React、Node.js、Webpack 等多种场景,一键生成最佳实践配置。
安全使用建议
This skill is inconsistent: the README promises many presets and flags that the actual shell script does not implement. The script will overwrite tsconfig.json in the current directory (no backup) and only toggles 'strict' true/false. Before installing or running it: (1) inspect the script (it's short) and consider running it in an empty/test directory; (2) back up any existing tsconfig.json; (3) if you need real multi-scenario configs, either expand the script yourself or use a more fully implemented tool from a known source; (4) if you plan to let an agent invoke this autonomously, be aware it could overwrite repository files — only enable if you trust the source or have repository backups.
功能分析
Type: OpenClaw Skill
Name: typescript-config-generator
Version: 1.0.0
The skill bundle is classified as suspicious due to potential prompt injection against the OpenClaw agent via the SKILL.md file. Specifically, the `SKILL.md` contains `npm install -g typescript` and `tsc --init` commands within a code block. While these commands are benign in this instance, their presence demonstrates a capability for the agent to execute arbitrary system commands parsed from the markdown, which could be exploited for malicious purposes if the commands were altered. The `typescript-config-generator.sh` script itself appears robust against shell injection for its intended function.
能力评估
Purpose & Capability
The SKILL.md advertises multiple presets (strict, node, react, minimal, library), CLI flags (--output, --target) and richly commented configs, but the shipped typescript-config-generator.sh only accepts a single positional preset (default 'strict'), only toggles the 'strict' compiler option, and always writes a minimal tsconfig.json to the current directory. The declared purpose (multi-scenario generator) is not matched by the actual implementation.
Instruction Scope
The instructions tell users to run a CLI with many options; those options are not implemented in the script. The SKILL.md does not instruct reading unrelated files or secrets. However the runtime behavior (the script) will overwrite tsconfig.json in the current directory without prompting or backup — this is a scope/behavior mismatch and a safety concern for users' repo files.
Install Mechanism
No install spec and no network downloads — lowest installer risk. The skill is instruction-only with a small local shell script; nothing is fetched from external URLs.
Credentials
The skill requests no environment variables, no credentials, and no config paths. There is no evidence of unnecessary credential access or exfiltration.
Persistence & Privilege
always is false and the skill does not request persistent system privileges or modify other skills. It has normal, non-privileged presence.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install typescript-config-generator - 安装完成后,直接呼叫该 Skill 的名称或使用
/typescript-config-generator触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of typescript-config-generator.
- 支持一键生成专业的 TypeScript 配置文件
- 内置多种预设:strict、node、react、minimal、library
- 配置涵盖严格类型检查及完整注释
- 命令行支持 preset、output、target 等选项
- 提供安装与基本用法说明
元数据
常见问题
TypeScript Config Generator 是什么?
生成专业的 TypeScript 配置,支持严格模式、React、Node.js、Webpack 等多种场景,一键生成最佳实践配置。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 515 次。
如何安装 TypeScript Config Generator?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install typescript-config-generator」即可一键安装,无需额外配置。
TypeScript Config Generator 是免费的吗?
是的,TypeScript Config Generator 完全免费(开源免费),可自由下载、安装和使用。
TypeScript Config Generator 支持哪些平台?
TypeScript Config Generator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 TypeScript Config Generator?
由 Sunshine-del-ux(@sunshine-del-ux)开发并维护,当前版本 v1.0.0。
推荐 Skills