·code-header-annotator
</>

code-header-annotator

lexwdex/my_lm_skills

添加或刷新固定的 20 行文件头注释,该注释总结源文件并使用行号地址索引关键类/函数。当注释大型代码库以进行快速导航、入门、重构时,或者当您希望法学硕士/人类快速找到相关符号而不读取整个文件时,请使用。

2安装·0热度·@lexwdex

安装

$npx skills add https://github.com/lexwdex/my_lm_skills --skill code-header-annotator

SKILL.md

Maintain a fixed 20-line header region per code file (marked by @codex-header: v1) that captures the file's purpose and a compact index of key symbols (with line addresses).

When exploring large repos, read headers first, only open full files when relevant:

Use the header to "walk upward" from a concrete type to its parents:

添加或刷新固定的 20 行文件头注释,该注释总结源文件并使用行号地址索引关键类/函数。当注释大型代码库以进行快速导航、入门、重构时,或者当您希望法学硕士/人类快速找到相关符号而不读取整个文件时,请使用。 来源:lexwdex/my_lm_skills。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/lexwdex/my_lm_skills --skill code-header-annotator
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 code-header-annotator?

添加或刷新固定的 20 行文件头注释,该注释总结源文件并使用行号地址索引关键类/函数。当注释大型代码库以进行快速导航、入门、重构时,或者当您希望法学硕士/人类快速找到相关符号而不读取整个文件时,请使用。 来源:lexwdex/my_lm_skills。

如何安装 code-header-annotator?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/lexwdex/my_lm_skills --skill code-header-annotator 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/lexwdex/my_lm_skills

详情

分类
</>开发工具
来源
skills.sh
收录时间
2026-02-01