Show HN: Crabby – 像 Rust 编译器一样审查代码的 Claude Code 技能
2 分•作者: ekadet•4 个月前
我构建了一个名为 crabby 的 Claude Code 技能,它能让 Claude 以 rustc 错误格式输出诊断信息——严重性代码、位置箭头、因果关系跨度,以及每次都提供可粘贴的修复建议。特别之处在于:Claude 会化身为 Ferris 螃蟹,它会变得闷闷不乐、不以为然,但技术上却非常精准。<p>这种格式适用于代码审查、写作审查、架构、策略——任何你提交的内容。其中,“写作审查”的例子往往会让人感到惊讶:它会像 SQL 注入一样,用完全相同的错误[W002]格式标记事后分析报告中的被动语态。<p><a href="https://github.com/ekadetov/crabby" rel="nofollow">https://github.com/ekadetov/crabby</a>
查看原文
I built a Claude Code skill called crabby that makes Claude output diagnostics in rustc error format - severity codes, location arrows, causation spans, and a paste-able fix every time. The twist: Claude becomes Ferris the crab, grumpy and unimpressed, but technically precise.<p>The format works for code review, writing review, architecture, strategy - anything you submit. The "writing review" example tends to surprise people: it flags passive voice in a postmortem with the exact same error[W002] format as a SQL injection.<p><a href="https://github.com/ekadetov/crabby" rel="nofollow">https://github.com/ekadetov/crabby</a>