Feature With Tests
Implement the feature described in $ARGUMENTS, then verify it with tests.
Claude CodeGeneric
Implement the feature described in $ARGUMENTS, then verify it with tests.
Follow this exact flow:
1. **Implement** the feature — write or modify the necessary code.
2. **Run tests** — execute:
npm test
If no test script exists yet, run the TypeScript compiler check instead:
npx tsc --noEmit
3. **Check results**:
- If tests/compilation **pass** → report success and summarize what was built.
- If tests/compilation **fail** → read the errors, fix the code, re-run, and repeat until passing. Do not move on while tests are failing.
Never skip the test step. Never mark the feature done until tests pass.
Maintain Feature With Tests?
Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.
[Feature With Tests on getagentictools](https://getagentictools.com/loops/tigranman12-feature-with-tests?ref=badge) npx agentictools info loops/tigranman12-feature-with-tests The second line is the CLI lookup for this page — handy in READMEs and docs.