·pattern-critic
</>

pattern-critic

commontoolsinc/labs

审查代理,用于审查模式代码是否违反记录的规则、陷阱和反模式。为每个规则生成带有 [PASS]/[FAIL] 的分类清单输出。

5安装·2热度·@commontoolsinc

安装

$npx skills add https://github.com/commontoolsinc/labs --skill pattern-critic

SKILL.md

Systematically review pattern code for violations of Common Tools documentation rules and gotchas.

| handler() defined inside pattern | Move to module scope, or use action() instead | | lift() immediately invoked (lift(...)(args)) | Use computed() or define lift at module scope | | Helper functions defined inside pattern | Move to module scope |

Allowed inside patterns: computed(), action(), .map() callbacks, JSX event handlers.

审查代理,用于审查模式代码是否违反记录的规则、陷阱和反模式。为每个规则生成带有 [PASS]/[FAIL] 的分类清单输出。 来源:commontoolsinc/labs。

查看原文

可引用信息

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

安装命令
npx skills add https://github.com/commontoolsinc/labs --skill pattern-critic
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 pattern-critic?

审查代理,用于审查模式代码是否违反记录的规则、陷阱和反模式。为每个规则生成带有 [PASS]/[FAIL] 的分类清单输出。 来源:commontoolsinc/labs。

如何安装 pattern-critic?

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

这个 Skill 的源码在哪?

https://github.com/commontoolsinc/labs

详情

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