Code Function
Turn any project into one self-contained interactive HTML map that answers: which code implements this feature/page? Show every feature of the project, and for each, all the code across frontend/backend/database/workers with exact file:line — clickable to open in the user's editor. Use when the user says 'code-function', '功能地图', '这个功能对应哪段代码', '生成功能地图', 'locate the code for <feature>', or asks to map features/pages to their implementation. Also use to refresh a map generated earlier.
Install
npx skills add lyp1278471473/code-function --skill code-functiongit clone --depth 1 https://github.com/lyp1278471473/code-function.git /tmp/code-function
mkdir -p ~/.claude/skills
cp -r /tmp/code-function/. ~/.claude/skills/code-functionPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# code-function Turn any project into **one self-contained, offline HTML file** that answers the recurring question: *"I see a feature — where is the code that implements it?"* The front page (**功能 / Features**) lists every feature of the project as a card. Each card shows the files and line ranges that implement that feature across the whole stack — frontend, backend, database, workers, tests — each tagged by layer, and **clickable to open in the user's editor at the exact line**. Everything here is original work (see `LICENSE`); no third-party code is vendored. ## What the generated HTML contains - **功能 / Features** *(default)* — feature → cross-stack code cards. Cards are **collapsed by default and expand on click** (search auto-expands matches; 展开全部/折叠全部 buttons toggle all). Each code line is clickable to open in the editor. - **架构 / Architecture** — module dependency graph layered by dependency depth; hover to trace imports/imported-by, click for a module panel. - **文件 / Explorer** — squarified lines-of-code treemap; drill into directories via breadcrumbs. - **Facet tabs** *(optional)* — stack-specific pages (API surface, DB schema, routes, jobs…) declared in `facets.json`. ## Pipeline
Details
- Skill name
code-function- Repository
- lyp1278471473/code-function
- License
- MIT
- Repo updated
- 9 October 2026
FAQ
What does the Code Function skill do?
Turn any project into one self-contained interactive HTML map that answers: which code implements this feature/page? Show every feature of the project, and for each, all the code across frontend/backend/database/workers with exact file:line — clickable to open in the user's editor. Use when the user says 'code-function', '功能地图', '这个功能对应哪段代码', '生成功能地图', 'locate the code for <feature>', or asks to map features/pages to their implementation. Also use to refresh a map generated earlier.
How do I install the Code Function skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add lyp1278471473/code-function --skill code-function. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Code Function popular?
It lives in lyp1278471473/code-function, which has 7 GitHub stars and 1 forks.
Related skills
CodexCleanUp
8manwithshit/CodexCleanUp
检查当前 Codex 会话是否属于正确的 Project,并在用户选择推荐分组后,使用官方 Codex App 能力在目标 Project 下创建一个带压缩上下文的交接会话。保留原会话、原标题和原归属,不关闭 App,不修改本地私有状态。用户说“整理当前会话”“这个会话该放哪个 Project”“帮我调整分组”“清理 Codex 会话”“codex clean up”“CodexCleanUp”或明确要求把当前会话交接到另一个 Project 时使用。
Zemax Python Connect
9Hao-xl/zemax-python-connect
当用户提到 Zemax OpticStudio Python 连接、ZOS-API 配置、独立应用程序、交互扩展、CreateNewApplication、ConnectAsExtension、ZOSAPI_NetHelper.dll、NotAuthorized、PrimarySystem None、Instance Number,或在连接 Python 与 Zemax 时遇到 --replace-current 时使用。
Lixi Reverse
7wobushilixi/lixi-reverse
【启动词:李喜,路径,需求】李喜 = 安卓授权/卡密验证的全自动逆向绕过。 四层判型:控制面 APK/dex · 脚本面 壳里的 .lua · 载荷面 ELF/.so · 特权面 .ko 内核模块; 另加服务端判决面(真响应重放 / 假服务器 / SNI 侦察)。一个入口脚本跑完只读分析并出 【带原字节的可执行命令】。23 个 Python 工具 + 3 个跨语言第一响应,不依赖 jadx/apktool/frida。 核心判据:能不能破由"判决归属"决定,不由"加密强度"决定。输出语言:中文。 触发词:李喜 / 安卓逆向 / APK / dex / 卡密 / 授权 / 内核模块 / ko / 驱动 / ELF / so / 脱壳 / 加固 / 重放 / 绕过。
Wechat Miniprogram Skill
9Gourdbaby/wechat-miniprogram-skill
Expert guidelines for Native WeChat Mini Program development focusing on performance, code size, and native compatibility. Use when developing WeChat Mini Programs in native JavaScript.
Opus Mode for Codex
8ncusspm25/opus-mode-for-codex
Use for long-running or multi-turn tasks, ambiguous debugging, architecture work, multi-file changes, complex research, and continuation of context-heavy work. Preserve task state, synthesize earlier context, maintain global consistency, investigate root causes, challenge premature conclusions, and verify outcomes before claiming completion. Do not use for trivial edits, obvious one-step tasks, simple rewrites, isolated typos, or simple questions.
Swe CLI Skills
8SylphAI-Inc/swe-cli-skills
Senior engineer CLI expertise for AI agents — workflows, safety guardrails, gotchas, and anti-patterns across cloud, IaC, containers, databases, dev tools, and platforms
Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.