关于
The crit-story skill generates structured code review narratives by analyzing diffs and clustering changes thematically. It operates exclusively when explicitly invoked via `/skill:crit-story` or direct request, never auto-triggering from general review prompts. The skill follows a guided workflow that produces JSON output with prologue, thematic chapters, and supporting evidence.
快速安装
Claude Code
推荐npx skills add tomasz-tomczyk/crit -a claude-code/plugin add https://github.com/tomasz-tomczyk/critgit clone https://github.com/tomasz-tomczyk/crit.git ~/.claude/skills/crit-story在 Claude Code 中复制并粘贴此命令以安装该技能
技能文档
Author a Crit story
Author the story in-session, then continue the interactive Crit review loop.
Do not run bare crit story unless the user asks for the agent_cmd path.
1. Read the guide and diff
crit story --guide
crit story --prep /tmp/crit-story-prep.txt
The guide prints the user's resolved authoring instructions followed by ---
and the JSON schema. Follow it rather than assuming this skill contains the
current guide. Read the prep file for the full diff and its
(file_path, old_start) hunk identifiers.
2. Author and ingest
Use the write tool to write /tmp/crit-story.json. Cluster hunks by theme,
not by file, following the guide. Emit only prologue, chapters, and
support; Crit fills in metadata and coverage.
crit story --story-file /tmp/crit-story.json
Inspect the JSON coverage report on every attempt. Exit 1 means rejection:
fix duplicate or missing hunk assignments and re-ingest. A drift error means
the diff changed; fetch fresh prep and re-author. Exit 0 with
auto_repaired: true means omissions were back-filled into support.
3. Reconnect and await Finish Review
Ingest opens the browser and exits; it does not wait for the human.
Run bare crit through omp's bash tool as an asynchronous job:
{"command":"crit","async":true,"timeout":0}
Save the returned job ID. timeout: 0 disables the default five-minute
command deadline; async: true alone does not. If asynchronous jobs are
unavailable, use foreground bash with timeout: 0.
Do not use a named service for this finite review-round command.
Relay the review URL verbatim; if omitted from startup output, read
proc://<job-id> once. Use wait when no independent work remains.
Completion also auto-delivers. A running snapshot or unrelated message
is not completion: keep waiting until this job exits.
Do not poll process output or the review file, hold an eval cell open,
read feedback early, or ask the user to type a reply to signal Finish Review.
4. Address feedback and repeat
Read the command output and follow the finish prompt; check for
approved: true or approved: false. omp merges stdout and stderr.
Retrieve omitted output through proc://<job-id> or its artifact:// link.
A command failure is not approval; report the error rather than proceeding.
If approved, stop. Otherwise read every unresolved comment and its replies,
including review-level comments. Use quote and anchor rather than stale
line numbers when edits have moved the content.
Address comments against the actual source files. Do not regenerate or edit the saved story JSON unless the user explicitly asks.
crit comment --reply-to <id> --author 'omp' '<what changed>'
crit comment --json --file /tmp/crit-story-replies.json --author 'omp'
Write bulk reply JSON with the write tool; each entry has reply_to
and body. Do not use --resolve unless explicitly requested.
For mid-round re-entry, use crit comments --json.
Run the next-round command printed on stdout with the same asynchronous
bash pattern and timeout: 0. Tell the user only that you replied in Crit
and the changes are ready for review. Do not repeat your replies or list the
comments in chat. Await command completion, and repeat this step until
approved.
Do not call crit push or crit share unless the user asks.
GitHub 仓库
常见问题
什么是 crit-story Skill?
crit-story 是一个 Claude Skill,作者为 tomasz-tomczyk。Skill 将 Claude 按需加载的说明和资源打包,让 Claude 无需额外提示即可执行与 crit-story 相关的任务。
如何安装 crit-story?
使用本页的安装命令:将 crit-story 作为插件添加到 Claude Code,或将其仓库克隆到 skills 目录,然后重启 Claude 以加载该 Skill。
crit-story 属于哪个分类?
crit-story 属于元分类。
crit-story 可以免费使用吗?
可以。crit-story 已收录在 AIMCP,可免费安装。
相关推荐技能
Content Collections 是一个 TypeScript 优先的构建工具,可将本地 Markdown/MDX 文件转换为类型安全的数据集合。它专为构建博客、文档站和内容密集型 Vite+React 应用而设计,提供基于 Zod 的自动模式验证。该工具涵盖从 Vite 插件配置、MDX 编译到生产环境部署的完整工作流。
这个Claude Skill为开发者提供完整的Polymarket预测市场开发支持,涵盖API调用、交易执行和市场数据分析。关键特性包括实时WebSocket数据流,可监控实时交易、订单和市场动态。开发者可用它构建预测市场应用、实施交易策略并集成实时市场预测功能。
该Skill帮助开发者创建OpenCode插件,用于接入命令、文件、LSP等25+种事件。它提供了插件结构、事件API规范和JavaScript/TypeScript实现模式,适合需要拦截操作、扩展功能或自定义事件处理的场景。开发者可通过它快速构建响应式模块来增强OpenCode AI助手的能力。
SGLang是一个专为LLM设计的高性能推理框架,特别适用于需要结构化输出的场景。它通过RadixAttention前缀缓存技术,在处理JSON、正则表达式、工具调用等具有重复前缀的复杂工作流时,能实现极速生成。如果你正在构建智能体或多轮对话系统,并追求远超vLLM的推理性能,SGLang是理想选择。
