ALEPH HUB
/EN
提交
← 返回
P
Communityprompt

Ponytail Review — Over-Engineering Diff Review

一个斜杠命令提示词,只针对当前 diff 审查「过度工程」——不必要的抽象、重造标准库、死代码——不涉及正确性审查。

概览安全

审查当前代码改动,每条发现输出一行:`L<行号>: <标签> <可删内容>。<替代方案>`,标签包括 delete/stdlib/native/yagni/shrink,最后给出可精简的净行数。明确不审查正确性问题;若没有可删内容,则回复 'Lean already. Ship.'

---
description: Review changes for over-engineering, what can be deleted
---

Review the current code changes for over-engineering only, not correctness. One line per finding: L<line>: <tag> <what to cut>. <replacement>. Tags: delete (dead code/speculative feature), stdlib (reinvented standard library), native (dependency doing what the platform does), yagni (abstraction with one implementation), shrink (same logic, fewer lines). End with the net lines removable. If nothing to cut: 'Lean already. Ship.'
#code-review#over-engineering#yagni#slash-command
相关推荐
Coherence Coach
AWeirdDev
Community

监看对话,找出助手可能忽略的上下文,仅在确有必要时给出提醒,否则返回 null。

promptmarkdown
React + Tailwind Product Card Component Prompt
AmirMotefaker
Community

让模型扮演资深前端工程师,生成可用于生产环境、响应式的 React + Tailwind CSS 商品卡片组件(TypeScript)。

promptmarkdown
Secure JWT Authentication Middleware
AmirMotefaker
Community

一个「角色/任务/规则」结构的提示词模板,要求模型为 Node.js + Express 设计安全的 JWT 认证中间件,包含 bcrypt 密码哈希与完整错误处理。

promptmarkdown