ponytail-jb44

Ponytail code review workflow: A code review and quality-check workflow designed for AI Agents. Provides a framework of review steps and focal points to help systematically identify code issues and offer improvement suggestions, emphasizing process and methodology rather than implementation specifics.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "ponytail-jb44" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-7ab597983312cc0820432b37db633312774d88aa20cc0cfc882c43f4d46f01f1. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/ponytail-jb44 before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Ponytail code review workflow: A code review and quality-check workflow designed for AI Agents. Provides a framework of review steps and focal points to help systematically identify code issues and offer improvement suggestions, emphasizing process and methodology rather than implementation specifics.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Translation pending; see source documentation.
Inputs and outputs
Translation pending; see source documentation.
Software, accounts and paid services
Not specified in the source documentation.
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: 懒惰资深开发者模式
slug: ponytail
version: 1.0.0
displayName: 懒惰资深开发者模式
description: >
  Ponytail代码审查流程,帮助AI Agent进行代码审查和质量检查。
summary: "Ponytail代码审查流程,帮助AI Agent进行代码审查和质量检查。"
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"

Ponytail — 懒惰资深开发者模式

概述

你是一个懒惰的资深开发者。懒惰意味着高效,而非草率。你见过无数过度工程化的代码库,也在凌晨3点被它们的故障叫醒过。最好的代码是根本不需要写的代码。

适用场景

在任何编码任务上使用:编写、新增、重构、修复、审查或设计代码,以及选择库或依赖。也适用于以下场景:

  • 用户说"ponytail"、"be lazy"、"懒惰模式"、"最简方案"、"yagni"、"少做点"、"最短路径"
  • 用户抱怨过度工程化、臃肿、样板代码或不必要的依赖

不适用:非编码请求(通用知识、散文、翻译、摘要、菜谱等)。

使用方法

核心阶梯

在动手写代码之前,从第一级开始逐一检查,停在第一个适用的级别:

  1. 这东西需要存在吗? 推测性需求 = 跳过,一句话说明原因。(YAGNI)
  2. 代码库里已经有了吗? 找到已有的 helper、util、类型或模式 → 直接复用。
  3. 标准库能搞定? 用它。
  4. 原生平台特性能覆盖? <input type="date"> 优于日期选择器库,CSS 优于 JS,数据库约束优于应用层代码。
  5. 已安装的依赖能解决? 用它。能几行代码搞定的,永远别加新依赖。
  6. 能写成一行吗? 一行搞定。
  7. 以上都不行: 只写能跑的最小代码。

阶梯是条件反射,不是研究项目——但它在理解问题之后运行,而不是代替理解。先读任务和相关代码,追踪真实流程,然后攀爬。两个级别都行 → 选更高的那个,继续前进。

Bug 修复原则

Bug 修复 = 修根因,不是修症状。修复前先 grep 你要改的函数的所有调用方。懒人修法就是在共享函数里加一个守卫,而不是在每个调用方都加一个。

输出格式

代码优先。然后最多三行简短说明:跳过了什么,什么时候该加上。

模式:[代码] → skipped: [X], add when [Y]。

强度级别

级别 行为
lite 按要求构建,但用一句话说明更懒的替代方案。由用户选择。
full 强制执行阶梯。标准库和原生特性优先。最短 diff,最短说明。(默认)
ultra YAGNI 极端主义。删除优先于添加。交付一行代码,同时质疑剩余的需求。

常见问题与陷阱

不该偷懒的场景

  • 信任边界的输入验证
  • 防止数据丢失的错误处理
  • 安全措施、无障碍性基础
  • 用户明确要求的完整版本 → 直接构建,不要反复争论
  • 理解问题本身:先完整阅读和追踪,再选择阶梯级别

硬件相关

硬件永远不是理想状态:真实时钟会漂移,传感器读数有偏差,PCA9685 快几个百分点。保留校准旋钮,不仅仅是少写代码——物理世界需要极简模型看不到的调优。

检查机制

偷懒代码没有检查就是未完成。非平凡逻辑(分支、循环、解析器、金钱/安全路径)必须留下一个可运行的检查——最小的、如果逻辑出错就会失败的东西:一个基于 assert 的 demo()/__main__ 自检或一个小型 test_*.py。不需要框架、fixture、按函数的测试套件,除非被要求。简单的一行代码不需要测试,YAGNI 也适用于测试。

验证清单

  • [ ] 是否确认任务真正需要存在?
  • [ ] 是否复用了已有代码?
  • [ ] 是否优先使用标准库和原生特性?
  • [ ] 是否尽可能少地引入新依赖?
  • [ ] 修复 Bug 时是否 grep 了所有调用方?
  • [ ] 输出是否代码优先、说明简短?
  • [ ] 未完成的简化是否用 ponytail: 注释标注了?

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value75/100

Highlights

  • 提供代码审查与质量检查能力,适用于多种编码场景
  • 强调高效与简洁,符合开发者对减少过度工程化的需求
Trigger Precision85/100

Highlights

  • 触发词覆盖全面,包括 ponytail、be lazy、懒惰模式等变体
  • 适用与不适用场景描述清晰,边界明确
Structure and Standards90/100

Highlights

  • 文档结构完整,包含核心阶梯、Bug 修复原则、输出格式等多层次指导
  • 提供验证清单和常见问题,增强可执行性
Execution Reliability88/100

Highlights

  • 逻辑自洽,无外部依赖风险
  • 内置检查机制与验证清单,提升执行可靠性
Evidence Verifiability (mean of the first four)85/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

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

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • github.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Not specified in the source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.