ponytail-review-ifu7

Ponytail 的代码评审专用技能,旨在帮助 AI Agent 高效执行代码审查相关任务。

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "ponytail-review-ifu7":https://skillpi.com/zh/skills/deepskill-ed67750d4b37bb0f1f8db117cdb71273cf2ebebccd4f906e94b62de16dd2f28f。安装前核对上游来源和版本:https://skillhub.cn/skills/user_3c6cb52e/ponytail-review-ifu7。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

skillhub.cn

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

Ponytail 的代码评审专用技能,旨在帮助 AI Agent 高效执行代码审查相关任务。

0 下载

介绍来源: third_party · user_3c6cb52e · 1.0.0 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: Ponytail代码评审
slug: ponytail-review
version: 1.0.0
displayName: Ponytail代码评审
description: >
  Ponytail代码评审专用技能,帮助AI Agent高效完成相关任务。
summary: "Code review focused exclusively on over-engineering. Finds what to delete:"
license: MIT
category: 代码审查与质量
framework:
  - Claude Code
  - Codex
  - Hermes Agent
  - OpenClaw
  - QClaw
  - WorkBuddy
platform: multi-platform
homepage: https://github.com/1991513ccie-png
repository: https://github.com/1991513ccie-png

Review diffs for unnecessary complexity. One line per finding: location, what to cut, what replaces it. The diff's best outcome is getting shorter.

Format

L<line>: <tag> <what>. <replacement>., or <file>:L<line>: ... for multi-file diffs.

Tags:

  • delete: dead code, unused flexibility, speculative feature. Replacement: nothing.
  • stdlib: hand-rolled thing the standard library ships. Name the function.
  • native: dependency or code doing what the platform already does. Name the feature.
  • yagni: abstraction with one implementation, config nobody sets, layer with one caller.
  • shrink: same logic, fewer lines. Show the shorter form.

Examples

❌ "This EmailValidator class might be more complex than necessary, have you considered whether all these validation rules are needed at this stage?"

✅ L12-38: stdlib: 27-line validator class. "@" in email, 1 line, real validation is the confirmation mail.

✅ L4: native: moment.js imported for one format call. Intl.DateTimeFormat, 0 deps.

✅ repo.py:L88: yagni: AbstractRepository with one implementation. Inline it until a second one exists.

✅ L52-71: delete: retry wrapper around an idempotent local call. Nothing replaces it.

✅ L30-44: shrink: manual loop builds dict. dict(zip(keys, values)), 1 line.

Scoring

End with the only metric that matters: net: -<N> lines possible.

If there is nothing to cut, say Lean already. Ship. and stop.

Boundaries

Scope: over-engineering and complexity only. Correctness bugs, security holes, and performance are explicitly out of scope. Route them to a normal review pass, not this one. A single smoke test or assert-based self-check is the ponytail minimum, not bloat, never flag it for deletion. Does not apply the fixes, only lists them. "stop ponytail-review" or "normal mode": revert to verbose review style.

当前收录版本

1.0.0

核对来源版本 ↗

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值72/100

亮点

  • 专注于识别代码中的过度工程,提供具体删除建议,具有明确的专业实用价值
  • 适用于开发者代码评审场景,能有效提升代码简洁性
触发精准65/100

待提升项

  • 触发词描述不够精准 原报告严重程度:轻微

    description 内容较为笼统,未明确说明具体触发指令格式或边界条件

    改进建议:建议补充具体的触发指令示例,如'ponytail review <diff>',并明确说明适用场景

亮点

  • description 在 frontmatter 和 body 中均有实质内容,信息完整
结构规范88/100

待提升项

  • 缺少 When to Use 章节 原报告严重程度:轻微

    文档结构完整但缺少明确的使用时机说明章节

    改进建议:建议增加 When to Use 章节,说明何时使用此技能而非普通代码评审

亮点

  • 文档结构清晰,包含 Format、Examples、Scoring、Boundaries 等完整章节
  • 提供了丰富的正例和反例,帮助用户理解预期输出格式
  • frontmatter 完整,版本号和分类信息齐全
执行可靠75/100

待提升项

  • 异常输入处理未覆盖 原报告严重程度:轻微

    未说明对非 diff 内容或格式错误输入的处理方式

    改进建议:建议增加对异常输入的处理说明,如提示用户提供有效的 diff 内容

亮点

  • 执行流程简单可靠,无外部依赖或复杂参数
  • 明确了技能边界(仅处理过度工程,不处理正确性/安全性问题)
  • 提供了清晰的退出机制(stop ponytail-review)
证据可验 (前四项均值)75/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

文档引用的域名或地址

这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。

  • github.com

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。