用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/smj-edison/zicl --skill index-helpers命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
Scan file(s) for repeated code patterns and suggest functions to encapsulate them
Use when an agent needs to author or reply to crit inline comments programmatically (including multi-agent workflows commenting on shared code/plans/docs/proposals), publish or unpublish a crit review with crit share, sync a crit review to or from a GitHub PR, or read/interpret a crit review JSON file. Covers crit comment, crit share, crit unpublish, crit pull, crit push, review file format, and resolution workflow. Not for invoking an interactive review loop — that's the `crit` skill.
Review code changes, a plan, a live page (running dev server), or a local HTML file with crit inline comments. Use when asked to review code, a plan, a diff, a running web app, or when you want structured human feedback on your work.
| name | index-helpers |
| description | Scan utility files for public helper functions and update .claude/helpers.md so future sessions know about them |
Scan every file matching src/*.zig for public helper functions (pub fn), except files under src/commands/*.zig -- with one exception: also scan src/commands/common.zig.
For each file, read it and collect every pub fn declaration along with its signature and a one-line description of what it does (inferred from the doc comment if present, otherwise from the implementation).
Then read .claude/helpers.md if it exists, and compare against the functions already listed there. Add any functions that are missing. If a listed function no longer exists under its old name (renamed or moved), fix that entry in place rather than leaving it stale; if a documented file no longer exists at all, remove its section. Otherwise, don't rewrite or reorganize existing entries, only append new ones.
If .claude/helpers.md does not exist yet, create it with this header:
# Helper function index
Public helper functions in the utility files. Consult this before implementing
anything that might already exist.
Finally, if CLAUDE.md does not already mention .claude/helpers.md, add a line to its "Key Files" section pointing to it.