SuperAPI AI 工具集

explain-code

编程与开发

查看项目

更新于 10-16 03:41

技能介绍

用途:当用户询问“X 是如何工作的”,或需要与具体代码位置对应的可读性概览时使用该技能。

主要能力:以只读方式读取源码并给出引用;每条非平凡论断都必须标注 path:line。摘要简短务实,聚焦输入/输出、副作用与错误处理。

输出结构:What it does(1-4 句);How it works(3-6 条要点,关键语句附 path:line 引用);Key types/APIs(简短列表,附 path:line);Edge cases / invariants(1-3 条)。

使用方式:以自然语言提出解释请求,例如“Explain handler.Login behavior and where passwords are hashed.”或“How does the JWT blacklist work end-to-end?”。

相关技能:file-reader 用于低层片段摘取,code-navigation 用于影响范围映射。

限制:资料未提供安装命令、平台支持、收费与价格信息、具体运行环境及效果保证,暂未提供。