test-driven-development
OBobra/superpowers298k2,631 new stars in the last 7 days
Thorough verification of completed work before declaring done
How to verify your work is correct before declaring a task complete.
After implementing a solution, go through ALL of these:
ls -la /path/to/expected/output
wc -c /path/to/output # byte count
file /path/to/output # format detection
head -5 /path/to/output # content preview
echo $? (should be 0 for success)If you can find the test script, READ IT:
Tests often check things you didn't expect:
| What you think is right | What the test actually checks |
|---|---|
| Output on stdout | Output in a specific file |
| Human-readable numbers | Exact decimal precision |
| Relative file paths | Absolute file paths |
| "Close enough" answer | Exact match |
| Code that runs | Code under a specific size limit |
Before declaring done, ask yourself:
OBobra/superpowers298k2,631 new stars in the last 7 days
MAmattpocock/skills288k10,178 new stars in the last 7 days
AFaffaan-m/ECC278k4,046 new stars in the last 7 days
Audit accessibility on Web, iOS, and Android to meet WCAG 2.2, with keyboard navigation and screen-reader support.
AFaffaan-m/ECC278k4,046 new stars in the last 7 days
AFaffaan-m/ECC278k4,046 new stars in the last 7 days
FIfirecrawl/firecrawl191k2,010 new stars in the last 7 days