Loading...
Loading...
Compare original and translation side by side
❌ Bad: "Helps with testing"
✓ Good: "Expert at writing Jest unit tests. Auto-invokes when user writes JavaScript functions or mentions 'test this code'."❌ 不佳:"帮助进行测试"
✓ 优秀:"擅长编写Jest单元测试。当用户编写JavaScript函数或提及'test this code'时自动调用。"❌ Bad: allowed-tools: Read, Write, Edit, Bash, Grep, Glob, Task
(Why does a research skill need Write and Bash?)
✓ Good: allowed-tools: Read, Grep, Glob
(Research only needs to read and search)❌ Critical: Agent with Task tool
(Subagents cannot spawn other subagents - Task won't work)
Fix: Remove Task from agents, or convert to skill if orchestration needed❌ 不佳:allowed-tools: Read, Write, Edit, Bash, Grep, Glob, Task
(为什么一个研究类skill需要Write和Bash权限?)
✓ 优秀:allowed-tools: Read, Grep, Glob
(研究仅需要读取与搜索权限)❌ 严重问题:Agent包含Task工具
(子agent无法生成其他子agent - Task工具无法正常工作)
修复方案:从Agent中移除Task工具,若需要编排功能则转换为skill❌ Bad: "Use when user needs help"
(Too vague, when don't they need help?)
✓ Good: "Auto-invokes when user asks 'how does X work?', 'where is Y implemented?', or 'explain the Z component'"
(Specific phrases that clearly indicate intent)❌ 不佳:"当用户需要帮助时调用"
(过于模糊,用户何时不需要帮助?)
✓ 优秀:"当用户询问'X如何工作?'、'Y在哪里实现?'或'解释Z组件'时自动调用"
(具体的语句能清晰表明用户意图)❌ Bad: Bash tool with user input directly in commands
(Risk of command injection)
✓ Good: Read-only tools with validated inputs
(Minimal attack surface)❌ 不佳:Bash工具直接使用用户输入作为命令
(存在命令注入风险)
✓ 优秀:使用只读工具并对输入进行验证
(最小化攻击面)❌ Bad: No examples, unclear parameters
✓ Good: Multiple usage examples, clear parameter descriptions❌ 不佳:无示例,参数说明模糊
✓ 优秀:包含多个使用示例,参数描述清晰undefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefineddescription: Helps with codedescription: Expert at analyzing code quality using ESLint, Prettier, and static analysis. Auto-invokes when user finishes writing code or asks 'is this code good?'undefineddescription: Helps with codedescription: Expert at analyzing code quality using ESLint, Prettier, and static analysis. Auto-invokes when user finishes writing code or asks 'is this code good?'undefined{baseDir}{baseDir}{baseDir}/scripts/{baseDir}/scripts/quality-scorer.pyquality-scorer.pypython {baseDir}/scripts/quality-scorer.py path/to/component.mdpython {baseDir}/scripts/quality-scorer.py path/to/component.mdeffectiveness-analyzer.pyeffectiveness-analyzer.pypython {baseDir}/scripts/effectiveness-analyzer.py path/to/SKILL.mdpython {baseDir}/scripts/effectiveness-analyzer.py path/to/SKILL.mdoptimization-detector.pyoptimization-detector.pypython {baseDir}/scripts/optimization-detector.py path/to/componentpython {baseDir}/scripts/optimization-detector.py path/to/component{baseDir}/references/{baseDir}/references/undefinedundefined| Dimension | Score | Assessment |
|---|---|---|
| Description Clarity | X/5 | [Brief note] |
| Tool Permissions | X/5 | [Brief note] |
| Auto-Invoke Triggers | X/5 | [Brief note] |
| Security | X/5 | [Brief note] |
| Usability | X/5 | [Brief note] |
| 维度 | 评分 | 评估 |
|---|---|---|
| 描述清晰度 | X/5 | [简要说明] |
| 工具权限 | X/5 | [简要说明] |
| 自动调用触发条件 | X/5 | [简要说明] |
| 安全性 | X/5 | [简要说明] |
| 易用性 | X/5 | [简要说明] |
[Quote from description]
[引用描述内容]
[Current content][Improved content][当前内容][改进后内容]undefinedundefinedskills/researching-best-practices/SKILL.mdundefinedskills/researching-best-practices/SKILL.mdundefinedallowed-tools: Read, Grep, Glob, WebSearch, WebFetch, Taskallowed-tools: Read, Grep, Glob, WebSearch, WebFetchallowed-tools: Read, Grep, Glob, WebSearch, WebFetch, Taskallowed-tools: Read, Grep, Glob, WebSearch, WebFetchExample usage: When user asks "What's the best way to handle errors in React 2025?",
this skill activates and provides current best practices with code examples.undefinedExample usage: When user asks "What's the best way to handle errors in React 2025?",
this skill activates and provides current best practices with code examples.undefinedagents/investigator.mdundefinedagents/investigator.mdundefinedtools: Read, Grep, Glob, WebSearch, WebFetch, Tasktools: Read, Grep, Glob, WebSearch, WebFetchundefinedtools: Read, Grep, Glob, WebSearch, WebFetch, Tasktools: Read, Grep, Glob, WebSearch, WebFetchundefined