← 返回 Skills 市场
296
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install ts-interface-miner
功能描述
一个专门用于分析 TypeScript (.ts/.tsx) 文件的智能助手。它能够根据用户提供的关键词(功能描述、函数名、API 路径),精准定位相关接口定义。该技能深度解析代码结构与注释(JSDoc/单行注释),提取请求方法、路径、参数细节、响应结构及状态码,最终生成结构清晰、信息完整的 Markdown 表...
安全使用建议
This skill is instruction-only and appears coherent for extracting API/interface info from TypeScript code. Before using it: (1) only provide files or paths you trust (the skill will parse whatever code you give it, so sensitive files could be read if you supply them); (2) expect some heuristic inferences (e.g., inferred status codes or method inference) — verify inferred values against runtime behavior; and (3) note the agent may attempt to open referenced type files you didn't supply (it will report when it cannot expand external types). If you need stricter data exposure controls, avoid passing entire repositories or secrets and paste only the minimal code snippets needed.
功能分析
Type: OpenClaw Skill
Name: ts-interface-miner
Version: 0.1.0
The OpenClaw AgentSkills bundle 'ts-interface-miner' is designed to analyze TypeScript files and generate API documentation. The `SKILL.md` file provides clear, detailed instructions for the AI agent to parse code, extract interface definitions, parameters, and response structures, and format them into Markdown tables. There are no instructions for data exfiltration, unauthorized command execution, persistence, or prompt injection attempts against the agent. The skill's purpose is clearly aligned with its description, focusing solely on code analysis and documentation generation.
能力评估
Purpose & Capability
The name and description (find and document TS interfaces/APIs) match the SKILL.md workflow: locating functions/URL strings, parsing JSDoc and types, expanding referenced interfaces, and producing Markdown output. It does not request unrelated credentials, binaries, or tools.
Instruction Scope
SKILL.md instructs the agent to search and parse user-provided TypeScript code or file paths and to expand referenced types (including across files). This is appropriate for the stated goal, but implies the agent will read any files the user provides (or grants access to). The instructions do not direct the agent to call external services or exfiltrate data, but they rely on having access to the codebase/context the user supplies.
Install Mechanism
No install spec and no code files — instruction-only. This minimizes disk execution risk; nothing is downloaded or installed by the skill itself.
Credentials
The skill declares no required environment variables, credentials, or config paths. That aligns with an offline code-parsing/documenting utility and is proportionate to its function.
Persistence & Privilege
always is false and the skill is user-invocable with normal autonomous invocation permitted. That is the platform default and appropriate for this utility; the skill does not request elevated/persistent system privileges.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install ts-interface-miner - 安装完成后,直接呼叫该 Skill 的名称或使用
/ts-interface-miner触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release of ts-interface-miner — a TypeScript interface/API analyzer and Markdown doc generator.
- Supports multi-dimensional search by feature, function name, or API path.
- Deeply parses TypeScript code and comments (JSDoc/in-line) to extract method, path, params, response, and HTTP status codes.
- Recursively expands type/interface definitions with comment merging and conflict alerts.
- Outputs all findings in a standardized, well-structured Markdown table format for easy reading and copy-paste.
- Includes error handling for missing documentation, incomplete code, or unresolved type references.
元数据
常见问题
Ts Interface Miner 是什么?
一个专门用于分析 TypeScript (.ts/.tsx) 文件的智能助手。它能够根据用户提供的关键词(功能描述、函数名、API 路径),精准定位相关接口定义。该技能深度解析代码结构与注释(JSDoc/单行注释),提取请求方法、路径、参数细节、响应结构及状态码,最终生成结构清晰、信息完整的 Markdown 表... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 296 次。
如何安装 Ts Interface Miner?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install ts-interface-miner」即可一键安装,无需额外配置。
Ts Interface Miner 是免费的吗?
是的,Ts Interface Miner 完全免费(开源免费),可自由下载、安装和使用。
Ts Interface Miner 支持哪些平台?
Ts Interface Miner 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Ts Interface Miner?
由 Xin Ding(@9talk)开发并维护,当前版本 v0.1.0。
推荐 Skills