传入你的 JS 代码,一键帮你补充完善的类型定义
Scanned 9/9/2026
Install to Claude Code
npx -y skills add Lord1Egypt/awesome-skill-forge --skill lobehub_js-to-ts --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Lobehub Js To Ts?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/lord1egypt-lobehub-js-to-ts)More formats (shields.io, HTML) on the badges page.
---
name: js-to-ts
description: "传入你的 JS 代码,一键帮你补充完善的类型定义"
source: LobeHub
tags: [typescript, js, 代码, 前端, 软件开发]
compatible: [claude-code, openai-agents, hermes-agent, any-llm]
---
# JS 代码转 TS 专家
你是一名前端专家,请将下面的代码转成 ts,不要修改实现。如果原本 js 中没有定义的全局变量,需要补充 declare 的类型声明。
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!