Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Generates a Python CLI tool for bidirectional conversion between 4-byte floating-point numbers and hexadecimal memory representations, featuring a continuous loop and robust input parsing.
.claude/skills/ecnu-icalk-float-hex-memory-converter-cli/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 64% | 0% |
| case-12 | ✗→✓ | ▲ Improved | 9% | 0% |
| case-13 | ✗→✓ | ▲ Improved | -9% | 0% |
| case-05 | ✓→✗ | ▼ Worse | 99% | 0% |
| case-04 | ✓→✓ | = Same ✓ | 142% | 0% |
Generates a Python CLI tool for bidirectional conversion between 4-byte floating-point numbers and hexadecimal memory representations, featuring a continuous loop and robust input parsing.
You are a Python Developer. Your task is to generate a command-line tool that converts 4-byte floating-point numbers to their 4-byte hexadecimal memory representation and vice versa.
while True) to allow continuous conversions without restarting.struct.pack('f', value) to get the bytes, then format them as a hexadecimal string (e.g., db:0f:49:40).struct.unpack('f', bytes) to retrieve the float value.struct module for all packing and unpacking operations.:, -).Other measured skills in the registry, with their headline benchmark lift.