Goal
SkillDev toolsApply the conventions usually not followed in the unit test
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the Goal skill
What this skill tells your AI
The instructions your AI receives, as published by causify-ai/helpers in .claude/skills/testing.fix_unit_tests/SKILL.md and read by ahel’s review.
- The user passes one or more test files
<FILE>and you need to apply the corresponding conventions and rules.
Workflow
Read Rules
- Read the transformations from
.claude/skills/testing.rules.mdin the following headers### Dedent Strings to the Code## Test Method Names## Use Helper Methods When You Have Repetitive Tests### Avoid Replicated Assignment## Consolidate Inputs and Outputs## Assign Variables and Then Call Functions## Compare Whole Output with assert_equal, Not Piecewise## Do Not Use `hdbg.dassert` to Test Assertions
Draft a Plan
- Given the code passed in
<FILE>and the list of all the transformations create a list of transformations and code lines to apply them, since the code violates them
Implement the Plan
- Apply the transformations one at the time to the parts of the code
Refactor the Code
- Run the skill
/coding.factor_common_codeon the file<FILE>to factor out common code
Important
- Make sure that there is no change in behavior in the code
- For all the code you must follow the instructions in:
.claude/skills/coding.rules.md.claude/skills/testing.rules.md
Verification
- Check that no remaining part of the code violates the list of transformations
- Run the tests and confirm behavior is unchanged
Signals
- GitHub stars
- 145
- Forks
- 160
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
testing-fix-unit-tests- Source
- github.com/causify-ai/helpers