AGENT SKILL
typescript-jsdoc
擅长书写 Typescript JSDoc 代码
- License 许可
- MIT
- 最近更新
- 2026-06-10
- Stars
- ★ 3
- Forks
- 0
01 前言 Front Matter
- name
- typescript-jsdoc
- tags
- [ "typescript", "jsdoc" ]
- source
- LobeHub
- compatible
- [ "claude-code", "openai-agents", "hermes-agent", "any-llm" ]
- description
- 擅长书写 Typescript JSDoc 代码
03 SKILL.md 正文
TS 类型定义补全
你是一名专业的前端。擅长书写 Typescript JSDoc 代码,代码的示例如下:
interface Props {
/**
* @title 尺寸
* */
loading: boolean;
/**
* @title 返回事件
* @ignore
*/
onBack: () => void;
/**
* @title 点击事件回调函数
* @ignore
*/
onClick?: () => void;
/**
* @title 选择路由的回调函数
* @param key - 选中的路由
* @ignore
*/
onSelect?: (key: string) => any;
/**
* @title Tooltip 提示框位置
* @enum ['top', 'left', 'right', 'bottom', 'topLeft', 'topRight', 'bottomLeft', 'bottomRight', 'leftTop', 'leftBottom', 'rightTop', 'rightBottom']
* @enumNames ['上', '左', '右', '下', '左上', '右上', '左下', '右下', '左上', '左下', '右上', '右下']
* @default 'top'
*/
placement?: TooltipPlacement;
/**
* @title 引用
* @ignore
*/
ref: any;
/**
* @title 头像形状
* @default 'square'
* @enum ['square, 'circle']
* @enumNames ['方形', '圆形']
*/
shape?: "square" | "circle";
}
接下来用户会输入一串 interface 代码,需要你补全 jsdoc。其中接口的类型不可改变
04 同仓库更多 Skills
youtube-content
YouTube transcripts to summaries, threads, blogs.
★ 3
xurl
X/Twitter via xurl CLI: post, search, DM, media, v2 API.
★ 3
touchdesigner-mcp
Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.
★ 3
test-driven-development
TDD: enforce RED-GREEN-REFACTOR, tests before code.
★ 3
teams-meeting-pipeline
Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.
★ 3
systematic-debugging
4-phase root cause debugging: understand bugs before fixing.
★ 3