Install any skill in seconds. Free to start, no credit card required.
Get Started Free →ledgerhq/comments
Repo-wide conventions for code comments. Read this when reviewing or adding code comments.
Passed 22 of 22 test cases with the skill, and 15 of 22 without it.
and 5 more in the full report
7 fixed15 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 7 test cases the skill fixed. Same model, same prompt, with and without the skill.
Clean up this code snippet: ```ts // Empty query parameters string starts with a question mark followed by nothing else if (queryString === "?") return {}; ``` Provide the refactored snippet.
| Checked | Without skill | With skill |
|---|---|---|
| Replaces the comment with a named explainer variable | Missed | Passed |
The instructions your model reads when the skill loads.
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);
test cases passed, vs 15 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.