Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Guides developers to avoid code comments by using clearer names, extracted variables, and descriptive test names.
68% 100%+32 ptsof test cases passed
Passed 22 of 22 test cases with the skill, and 15 of 22 without it.
3 of 3 safety checks passed
Not used yet
Comments are code smells because they go out-of-date, bloat context, and lead to confusion.
Don't reference existing comments in the codebase – follow these rules
When code isn't clear, make it clearer:
❌ Bad
it("diffs the current value against resolved when targeted", () => {
const { result } = renderHook(() => useJsonEditor(makeProps()));
act(() => result.current.setDiffTarget("resolved"));
// Current equals resolved → every line is unchanged.
expect(result.current.diffJson.every((l) => l.state === "none")).toBe(true);
});
✅ Good
it("resets the state of every line when the diff is resolved", () => {
const { result } = renderHook(() => useJsonEditor(makeProps()));
act(() => result.current.setDiffTarget("resolved"));
expect(result.current.diffJson.every((l) => l.state === "none")).toBe(true);
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.