← Back to Skills Marketplace
TypeScript Config Generator
by
Sunshine-del-ux
· GitHub ↗
· v1.0.0
515
Downloads
0
Stars
2
Active Installs
1
Versions
Install in OpenClaw
/install typescript-config-generator
Description
生成专业的 TypeScript 配置,支持严格模式、React、Node.js、Webpack 等多种场景,一键生成最佳实践配置。
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install typescript-config-generator - After installation, invoke the skill by name or use
/typescript-config-generator - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of typescript-config-generator.
- 支持一键生成专业的 TypeScript 配置文件
- 内置多种预设:strict、node、react、minimal、library
- 配置涵盖严格类型检查及完整注释
- 命令行支持 preset、output、target 等选项
- 提供安装与基本用法说明
Metadata
Frequently Asked Questions
What is TypeScript Config Generator?
生成专业的 TypeScript 配置,支持严格模式、React、Node.js、Webpack 等多种场景,一键生成最佳实践配置。 It is an AI Agent Skill for Claude Code / OpenClaw, with 515 downloads so far.
How do I install TypeScript Config Generator?
Run "/install typescript-config-generator" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is TypeScript Config Generator free?
Yes, TypeScript Config Generator is completely free (open-source). You can download, install and use it at no cost.
Which platforms does TypeScript Config Generator support?
TypeScript Config Generator is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created TypeScript Config Generator?
It is built and maintained by Sunshine-del-ux (@sunshine-del-ux); the current version is v1.0.0.
More Skills