Skip to main content

deslop-tests

Clean up tests generated by AI.

来源信息

仓库
devdotfast/skills
最近来源活动
2026年10月1日 21:14
检测到的 SKILL.md 语言
英语
星标
3
分支
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
2 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
deslop-tests
description
Clean up tests generated by AI.
disable-model-invocation
true
- For each commit in the new history, go through and take a look at the unit tests you've added - Assume you have absolutely no idea how to write unit tests, i.e. you're a complete moron in this department. You probably should delete the ones you've added, right? - I will say this again, because this really needs to sink in: bias towards deleting unit tests you've added - This is especially true if it does not materially change code coverage - It's ok to have a drop in code coverage for less wonky unit tests - ALWAYS ALWAYS (this is *IMPORTANT*) delete change detector tests: https://testing.googleblog.com/2015/01/testing-on-toilet-change-detector-tests.html. TL;DR - does the test act on the *API* that the code exposes, or does it act like a checksum over the contents of the underlying algorithm - For example, a test on a sorting algorithm should test that a list passed in is sorted, not the specifics of the sorting implementation
在 GitHub 查看